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

Method PluginDisable

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

Source from the content-addressed store, hash-verified

35}
36
37func (c *fakeClient) PluginDisable(_ context.Context, name string, options client.PluginDisableOptions) (client.PluginDisableResult, error) {
38 if c.pluginDisableFunc != nil {
39 return c.pluginDisableFunc(name, options)
40 }
41 return client.PluginDisableResult{}, nil
42}
43
44func (c *fakeClient) PluginRemove(_ context.Context, name string, options client.PluginRemoveOptions) (client.PluginRemoveResult, error) {
45 if c.pluginRemoveFunc != nil {

Callers 1

newDisableCommandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected