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

Method ContainerPause

cli/command/container/client_test.go:236–242  ·  view source on GitHub ↗
(ctx context.Context, containerID string, options client.ContainerPauseOptions)

Source from the content-addressed store, hash-verified

234}
235
236func (f *fakeClient) ContainerPause(ctx context.Context, containerID string, options client.ContainerPauseOptions) (client.ContainerPauseResult, error) {
237 if f.containerPauseFunc != nil {
238 return f.containerPauseFunc(ctx, containerID, options)
239 }
240
241 return client.ContainerPauseResult{}, nil
242}
243
244func (*fakeClient) Ping(_ context.Context, _ client.PingOptions) (client.PingResult, error) {
245 return client.PingResult{}, nil

Callers 1

runPauseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected