MCPcopy
hub / github.com/moby/moby / Add

Method Add

daemon/container/store.go:15–15  ·  view source on GitHub ↗

Add appends a new container to the store.

(string, *Container)

Source from the content-addressed store, hash-verified

13type Store interface {
14 // Add appends a new container to the store.
15 Add(string, *Container)
16 // Get returns a container from the store by the identifier it was stored with.
17 Get(string) *Container
18 // Delete removes a container from the store by the identifier it was stored with.

Callers 15

TestImageListFunction · 0.65
TestTaskListFunction · 0.65
ImageBuildMethod · 0.65
VolumePruneMethod · 0.65
TestPluginListFunction · 0.65
TestNetworkPruneFunction · 0.65
TestEventsFunction · 0.65
DiskUsageMethod · 0.65
TestVolumePruneFunction · 0.65
TestConfigListFunction · 0.65
TestContainerPruneFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestImageListFunction · 0.52
TestTaskListFunction · 0.52
TestPluginListFunction · 0.52
TestNetworkPruneFunction · 0.52
TestEventsFunction · 0.52
TestVolumePruneFunction · 0.52
TestConfigListFunction · 0.52
TestContainerPruneFunction · 0.52
TestFiltersFunction · 0.52
TestFilters_CloneFunction · 0.52
TestNodeListFunction · 0.52