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

Struct DockerDaemon

docker/daemon.go:39–49  ·  view source on GitHub ↗

DockerDaemon knows how to talk to the Docker daemon

Source from the content-addressed store, hash-verified

37
38// DockerDaemon knows how to talk to the Docker daemon
39type DockerDaemon struct {
40 client dockerAPI.APIClient //client used to to connect to the Docker daemon
41 s ContainerStore
42 err error // Errors, if any.
43 dockerEnv Env
44 version *dockerTypes.Version
45 swarmMode bool
46 storeLock sync.RWMutex
47 resolver Resolver
48 eventLog *EventLog
49}
50
51// Containers returns the containers known by the daemon
52func (daemon *DockerDaemon) Containers(filters []ContainerFilter, mode SortMode) []*Container {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected