MCPcopy Create free account
hub / github.com/docker/cli / VolumePrune

Method VolumePrune

cli/command/volume/client_test.go:39–44  ·  view source on GitHub ↗
(_ context.Context, opts client.VolumePruneOptions)

Source from the content-addressed store, hash-verified

37}
38
39func (c *fakeClient) VolumePrune(_ context.Context, opts client.VolumePruneOptions) (client.VolumePruneResult, error) {
40 if c.volumePruneFunc != nil {
41 return c.volumePruneFunc(opts)
42 }
43 return client.VolumePruneResult{}, nil
44}
45
46func (c *fakeClient) VolumeRemove(_ context.Context, volumeID string, options client.VolumeRemoveOptions) (client.VolumeRemoveResult, error) {
47 if c.volumeRemoveFunc != nil {

Callers 1

runPruneFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected