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

Method VolumeCreate

cli/command/volume/client_test.go:18–23  ·  view source on GitHub ↗
(_ context.Context, options client.VolumeCreateOptions)

Source from the content-addressed store, hash-verified

16}
17
18func (c *fakeClient) VolumeCreate(_ context.Context, options client.VolumeCreateOptions) (client.VolumeCreateResult, error) {
19 if c.volumeCreateFunc != nil {
20 return c.volumeCreateFunc(options)
21 }
22 return client.VolumeCreateResult{}, nil
23}
24
25func (c *fakeClient) VolumeInspect(_ context.Context, volumeID string, options client.VolumeInspectOptions) (client.VolumeInspectResult, error) {
26 if c.volumeInspectFunc != nil {

Callers 1

runCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected