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

Method ServiceUpdate

cli/command/stack/client_test.go:131–137  ·  view source on GitHub ↗
(_ context.Context, serviceID string, options client.ServiceUpdateOptions)

Source from the content-addressed store, hash-verified

129}
130
131func (cli *fakeClient) ServiceUpdate(_ context.Context, serviceID string, options client.ServiceUpdateOptions) (client.ServiceUpdateResult, error) {
132 if cli.serviceUpdateFunc != nil {
133 return cli.serviceUpdateFunc(serviceID, options)
134 }
135
136 return client.ServiceUpdateResult{}, nil
137}
138
139func (cli *fakeClient) ServiceRemove(_ context.Context, serviceID string, _ client.ServiceRemoveOptions) (client.ServiceRemoveResult, error) {
140 if cli.serviceRemoveFunc != nil {

Callers 1

deployServicesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected