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

Method VolumeRemove

cli/command/volume/client_test.go:46–51  ·  view source on GitHub ↗
(_ context.Context, volumeID string, options client.VolumeRemoveOptions)

Source from the content-addressed store, hash-verified

44}
45
46func (c *fakeClient) VolumeRemove(_ context.Context, volumeID string, options client.VolumeRemoveOptions) (client.VolumeRemoveResult, error) {
47 if c.volumeRemoveFunc != nil {
48 return client.VolumeRemoveResult{}, c.volumeRemoveFunc(volumeID, options.Force)
49 }
50 return client.VolumeRemoveResult{}, nil
51}

Callers 1

runRemoveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected