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

Method PluginCreate

cli/command/plugin/client_test.go:23–28  ·  view source on GitHub ↗
(_ context.Context, createContext io.Reader, options client.PluginCreateOptions)

Source from the content-addressed store, hash-verified

21}
22
23func (c *fakeClient) PluginCreate(_ context.Context, createContext io.Reader, options client.PluginCreateOptions) (client.PluginCreateResult, error) {
24 if c.pluginCreateFunc != nil {
25 return c.pluginCreateFunc(createContext, options)
26 }
27 return client.PluginCreateResult{}, nil
28}
29
30func (c *fakeClient) PluginEnable(_ context.Context, name string, options client.PluginEnableOptions) (client.PluginEnableResult, error) {
31 if c.pluginEnableFunc != nil {

Callers 1

runCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected