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

Method PluginInstall

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

Source from the content-addressed store, hash-verified

49}
50
51func (c *fakeClient) PluginInstall(_ context.Context, name string, options client.PluginInstallOptions) (client.PluginInstallResult, error) {
52 if c.pluginInstallFunc != nil {
53 return c.pluginInstallFunc(name, options)
54 }
55 return client.PluginInstallResult{}, nil
56}
57
58func (c *fakeClient) PluginList(_ context.Context, options client.PluginListOptions) (client.PluginListResult, error) {
59 if c.pluginListFunc != nil {

Callers 1

runInstallFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected