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

Method PluginUpgrade

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

Source from the content-addressed store, hash-verified

74}
75
76func (c *fakeClient) PluginUpgrade(_ context.Context, name string, options client.PluginUpgradeOptions) (client.PluginUpgradeResult, error) {
77 if c.pluginUpgradeFunc != nil {
78 return c.pluginUpgradeFunc(name, options)
79 }
80 // FIXME(thaJeztah): how to mock this?
81 return http.NoBody, nil
82}

Callers 1

runUpgradeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected