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

Method SecretCreate

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

Source from the content-addressed store, hash-verified

15}
16
17func (c *fakeClient) SecretCreate(ctx context.Context, options client.SecretCreateOptions) (client.SecretCreateResult, error) {
18 if c.secretCreateFunc != nil {
19 return c.secretCreateFunc(ctx, options)
20 }
21 return client.SecretCreateResult{}, nil
22}
23
24func (c *fakeClient) SecretInspect(ctx context.Context, id string, options client.SecretInspectOptions) (client.SecretInspectResult, error) {
25 if c.secretInspectFunc != nil {

Callers 2

createSecretsFunction · 0.45
runSecretCreateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected