DockerDaemon knows how to talk to the Docker daemon
| 37 | |
| 38 | // DockerDaemon knows how to talk to the Docker daemon |
| 39 | type 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 |
| 52 | func (daemon *DockerDaemon) Containers(filters []ContainerFilter, mode SortMode) []*Container { |
nothing calls this directly
no outgoing calls
no test coverage detected