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

Method SecretRemove

cli/command/stack/client_test.go:157–164  ·  view source on GitHub ↗
(_ context.Context, secretID string, _ client.SecretRemoveOptions)

Source from the content-addressed store, hash-verified

155}
156
157func (cli *fakeClient) SecretRemove(_ context.Context, secretID string, _ client.SecretRemoveOptions) (client.SecretRemoveResult, error) {
158 if cli.secretRemoveFunc != nil {
159 return cli.secretRemoveFunc(secretID)
160 }
161
162 cli.removedSecrets = append(cli.removedSecrets, secretID)
163 return client.SecretRemoveResult{}, nil
164}
165
166func (cli *fakeClient) ConfigRemove(_ context.Context, configID string, _ client.ConfigRemoveOptions) (client.ConfigRemoveResult, error) {
167 if cli.configRemoveFunc != nil {

Callers 1

removeSecretsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected