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

Method ContainerWait

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

Source from the content-addressed store, hash-verified

148}
149
150func (f *fakeClient) ContainerWait(_ context.Context, containerID string, _ client.ContainerWaitOptions) client.ContainerWaitResult {
151 if f.waitFunc != nil {
152 return f.waitFunc(containerID)
153 }
154 return client.ContainerWaitResult{}
155}
156
157func (f *fakeClient) ContainerStart(_ context.Context, containerID string, options client.ContainerStartOptions) (client.ContainerStartResult, error) {
158 if f.containerStartFunc != nil {

Callers 3

RunAttachFunction · 0.80
waitExitOrRemovedFunction · 0.80
runWaitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected