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

@ -8,9 +8,8 @@ type StoreFilter func(*Container) bool
// manipulate containers in the store
type StoreReducer func(*Container)
// Store defines an interface that
// any container store must implement.
type Store interface {
// ContainerStorer defines an interface that any container store must implement.
type ContainerStorer interface {
// Add appends a new container to the store.
Add(string, *Container)
// Get returns a container from the store by the identifier it was stored with.