oci: more grep'able interface name

`git grep -wi store` is not nearly useful enough. Taking steps for
readability.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-04-19 14:55:17 -04:00
parent 0b48dd5d7f
commit f1fd06bfc1
Signed by: vbatts
GPG key ID: 10937E57733F1362
6 changed files with 122 additions and 117 deletions

View file

@ -9,7 +9,7 @@ type memoryStore struct {
}
// NewMemoryStore initializes a new memory store.
func NewMemoryStore() Store {
func NewMemoryStore() ContainerStorer {
return &memoryStore{
s: make(map[string]*Container),
}
@ -89,4 +89,4 @@ func (c *memoryStore) all() []*Container {
return containers
}
var _ Store = &memoryStore{}
var _ ContainerStorer = &memoryStore{}