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

Method ConfigRemove

cli/command/stack/client_test.go:166–173  ·  view source on GitHub ↗
(_ context.Context, configID string, _ client.ConfigRemoveOptions)

Source from the content-addressed store, hash-verified

164}
165
166func (cli *fakeClient) ConfigRemove(_ context.Context, configID string, _ client.ConfigRemoveOptions) (client.ConfigRemoveResult, error) {
167 if cli.configRemoveFunc != nil {
168 return cli.configRemoveFunc(configID)
169 }
170
171 cli.removedConfigs = append(cli.removedConfigs, configID)
172 return client.ConfigRemoveResult{}, nil
173}
174
175func (*fakeClient) ServiceInspect(_ context.Context, serviceID string, _ client.ServiceInspectOptions) (client.ServiceInspectResult, error) {
176 return client.ServiceInspectResult{

Callers 1

removeConfigsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected