MCPcopy Create free account
hub / github.com/Mirantis/cri-dockerd / InspectContainer

Method InspectContainer

libdocker/client.go:63–63  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

61type DockerClientInterface interface {
62 ListContainers(options dockercontainer.ListOptions) ([]dockertypes.Container, error)
63 InspectContainer(id string) (*dockertypes.ContainerJSON, error)
64 InspectContainerWithSize(id string) (*dockertypes.ContainerJSON, error)
65 CreateContainer(
66 createConfig ContainerCreateConfig,

Callers 14

GetContainerLogsMethod · 0.65
getContainerLogPathMethod · 0.65
TestSandboxStatusFunction · 0.65
getPodSandboxDetailsMethod · 0.65
TestContainerStatusFunction · 0.65
TestContainerLogPathFunction · 0.65
GetNetNSMethod · 0.65
ContainerStatusMethod · 0.65
RunPodSandboxMethod · 0.65
portForwardMethod · 0.65

Implementers 5

instrumentedInterfacelibdocker/instrumented_client.go
kubeDockerClientlibdocker/kube_docker_client.go
FakeDockerClientlibdocker/fake_client.go
MockDockerClientInterfacelibdocker/testing/mock_client.go
MockDockerClientInterfaceMockRecorderlibdocker/testing/mock_client.go

Calls

no outgoing calls

Tested by 4

TestSandboxStatusFunction · 0.52
TestContainerStatusFunction · 0.52
TestContainerLogPathFunction · 0.52