MCPcopy
hub / github.com/moncho/dry / ContainerStore

Interface ContainerStore

docker/memory_store.go:10–15  ·  view source on GitHub ↗

ContainerStore defines a container storage.

Source from the content-addressed store, hash-verified

8
9// ContainerStore defines a container storage.
10type ContainerStore interface {
11 Get(id string) *Container
12 List() []*Container
13 Remove(id string)
14 Size() int
15}
16
17// inMemoryContainerStore is an in-memory container store backed up by a Docker daemon.
18type inMemoryContainerStore struct {

Callers 13

ContainerByIDMethod · 0.65
IsContainerRunningMethod · 0.65
TestMemoryStoreCreationFunction · 0.65
TaskListMethod · 0.65
ContainersMethod · 0.65
checkMemoryStoreFunction · 0.65
RmMethod · 0.65
TestMemoryStoreCreationFunction · 0.65

Implementers 2

inMemoryContainerStoredocker/memory_store.go
simpleStoredocker/compose_actions_test.go

Calls

no outgoing calls

Tested by

no test coverage detected