MCPcopy Create free account
hub / github.com/docker/cli / SecretList

Method SecretList

cli/command/secret/client_test.go:31–36  ·  view source on GitHub ↗
(ctx context.Context, options client.SecretListOptions)

Source from the content-addressed store, hash-verified

29}
30
31func (c *fakeClient) SecretList(ctx context.Context, options client.SecretListOptions) (client.SecretListResult, error) {
32 if c.secretListFunc != nil {
33 return c.secretListFunc(ctx, options)
34 }
35 return client.SecretListResult{}, nil
36}
37
38func (c *fakeClient) SecretRemove(ctx context.Context, name string, options client.SecretRemoveOptions) (client.SecretRemoveResult, error) {
39 if c.secretRemoveFunc != nil {

Callers 2

completeNamesFunction · 0.45
runSecretListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected