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

Method ServiceUpdate

cli/command/service/client_test.go:54–60  ·  view source on GitHub ↗
(ctx context.Context, serviceID string, options client.ServiceUpdateOptions)

Source from the content-addressed store, hash-verified

52}
53
54func (f *fakeClient) ServiceUpdate(ctx context.Context, serviceID string, options client.ServiceUpdateOptions) (client.ServiceUpdateResult, error) {
55 if f.serviceUpdateFunc != nil {
56 return f.serviceUpdateFunc(ctx, serviceID, options)
57 }
58
59 return client.ServiceUpdateResult{}, nil
60}
61
62func (f *fakeClient) Info(ctx context.Context, _ client.InfoOptions) (client.SystemInfoResult, error) {
63 if f.infoFunc != nil {

Callers 3

runUpdateFunction · 0.45
runServiceScaleFunction · 0.45
runRollbackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected