MCPcopy
hub / github.com/google/cadvisor / DockerContainer

Method DockerContainer

lib/manager/manager.go:127–127  ·  view source on GitHub ↗

Get information about the docker container with the specified name.

(dockerName string, query *info.ContainerInfoRequest)

Source from the content-addressed store, hash-verified

125
126 // Get information about the docker container with the specified name.
127 DockerContainer(dockerName string, query *info.ContainerInfoRequest) (info.ContainerInfo, error)
128
129 // Get information about the podman containers (by container name) of an instance.
130 AllPodmanContainers(query *info.ContainerInfoRequest) (map[string]info.ContainerInfo, error)

Callers 15

TestPerfEventsFunction · 0.65
waitForContainerInfoFunction · 0.65
waitForContainerFunction · 0.65
TestDockerContainerByIdFunction · 0.65
TestBasicDockerContainerFunction · 0.65
TestDockerContainerSpecFunction · 0.65
TestDockerHealthStateFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestPerfEventsFunction · 0.52
waitForContainerInfoFunction · 0.52
waitForContainerFunction · 0.52
TestDockerContainerByIdFunction · 0.52
TestBasicDockerContainerFunction · 0.52
TestDockerContainerSpecFunction · 0.52
TestDockerHealthStateFunction · 0.52