MCPcopy Index your code
hub / github.com/docker/cli / ContainerInspect

Method ContainerInspect

cli/command/container/client_test.go:65–70  ·  view source on GitHub ↗
(_ context.Context, containerID string, _ client.ContainerInspectOptions)

Source from the content-addressed store, hash-verified

63}
64
65func (f *fakeClient) ContainerInspect(_ context.Context, containerID string, _ client.ContainerInspectOptions) (client.ContainerInspectResult, error) {
66 if f.inspectFunc != nil {
67 return f.inspectFunc(containerID)
68 }
69 return client.ContainerInspectResult{}, nil
70}
71
72func (f *fakeClient) ExecCreate(_ context.Context, containerID string, config client.ExecCreateOptions) (client.ExecCreateResult, error) {
73 if f.execCreateFunc != nil {

Callers 7

runLogsFunction · 0.80
RunStartFunction · 0.80
runInspectFunction · 0.80
RunExecFunction · 0.80
runPortFunction · 0.80
inspectContainersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected