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

Method ContainerRemove

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

Source from the content-addressed store, hash-verified

95}
96
97func (f *fakeClient) ContainerRemove(ctx context.Context, containerID string, options client.ContainerRemoveOptions) (client.ContainerRemoveResult, error) {
98 if f.containerRemoveFunc != nil {
99 return f.containerRemoveFunc(ctx, containerID, options)
100 }
101 return client.ContainerRemoveResult{}, nil
102}
103
104func (f *fakeClient) ImagePull(ctx context.Context, parentReference string, options client.ImagePullOptions) (client.ImagePullResponse, error) {
105 if f.imagePullFunc != nil {

Callers 1

runRmFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected