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

Method PluginRemove

cli/command/plugin/client_test.go:44–49  ·  view source on GitHub ↗
(_ context.Context, name string, options client.PluginRemoveOptions)

Source from the content-addressed store, hash-verified

42}
43
44func (c *fakeClient) PluginRemove(_ context.Context, name string, options client.PluginRemoveOptions) (client.PluginRemoveResult, error) {
45 if c.pluginRemoveFunc != nil {
46 return c.pluginRemoveFunc(name, options)
47 }
48 return client.PluginRemoveResult{}, nil
49}
50
51func (c *fakeClient) PluginInstall(_ context.Context, name string, options client.PluginInstallOptions) (client.PluginInstallResult, error) {
52 if c.pluginInstallFunc != nil {

Callers 1

runRemoveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected