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

Method ServiceList

cli/command/service/client_test.go:46–52  ·  view source on GitHub ↗
(ctx context.Context, options client.ServiceListOptions)

Source from the content-addressed store, hash-verified

44}
45
46func (f *fakeClient) ServiceList(ctx context.Context, options client.ServiceListOptions) (client.ServiceListResult, error) {
47 if f.serviceListFunc != nil {
48 return f.serviceListFunc(ctx, options)
49 }
50
51 return client.ServiceListResult{}, nil
52}
53
54func (f *fakeClient) ServiceUpdate(ctx context.Context, serviceID string, options client.ServiceUpdateOptions) (client.ServiceUpdateResult, error) {
55 if f.serviceUpdateFunc != nil {

Callers 3

completeServiceNamesFunction · 0.45
createFilterFunction · 0.45
runListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected