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

Method ContainerStop

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

Source from the content-addressed store, hash-verified

197}
198
199func (f *fakeClient) ContainerStop(ctx context.Context, containerID string, options client.ContainerStopOptions) (client.ContainerStopResult, error) {
200 if f.containerStopFunc != nil {
201 return f.containerStopFunc(ctx, containerID, options)
202 }
203 return client.ContainerStopResult{}, nil
204}
205
206func (f *fakeClient) ContainerAttach(ctx context.Context, containerID string, options client.ContainerAttachOptions) (client.ContainerAttachResult, error) {
207 if f.containerAttachFunc != nil {

Callers 1

runStopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected