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

Method ContainerPrune

cli/command/container/client_test.go:185–190  ·  view source on GitHub ↗
(ctx context.Context, options client.ContainerPruneOptions)

Source from the content-addressed store, hash-verified

183}
184
185func (f *fakeClient) ContainerPrune(ctx context.Context, options client.ContainerPruneOptions) (client.ContainerPruneResult, error) {
186 if f.containerPruneFunc != nil {
187 return f.containerPruneFunc(ctx, options)
188 }
189 return client.ContainerPruneResult{}, nil
190}
191
192func (f *fakeClient) ContainerRestart(ctx context.Context, containerID string, options client.ContainerRestartOptions) (client.ContainerRestartResult, error) {
193 if f.containerRestartFunc != nil {

Callers 1

runPruneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected