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

Method ConfigCreate

cli/command/config/client_test.go:17–22  ·  view source on GitHub ↗
(ctx context.Context, options client.ConfigCreateOptions)

Source from the content-addressed store, hash-verified

15}
16
17func (c *fakeClient) ConfigCreate(ctx context.Context, options client.ConfigCreateOptions) (client.ConfigCreateResult, error) {
18 if c.configCreateFunc != nil {
19 return c.configCreateFunc(ctx, options)
20 }
21 return client.ConfigCreateResult{}, nil
22}
23
24func (c *fakeClient) ConfigInspect(ctx context.Context, id string, options client.ConfigInspectOptions) (client.ConfigInspectResult, error) {
25 if c.configInspectFunc != nil {

Callers 1

runCreateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected