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:
parent
0b48dd5d7f
commit
f1fd06bfc1
6 changed files with 122 additions and 117 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue