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

Method ServiceInspect

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

Source from the content-addressed store, hash-verified

34}
35
36func (f *fakeClient) ServiceInspect(ctx context.Context, serviceID string, options client.ServiceInspectOptions) (client.ServiceInspectResult, error) {
37 if f.serviceInspectFunc != nil {
38 return f.serviceInspectFunc(ctx, serviceID, options)
39 }
40
41 return client.ServiceInspectResult{
42 Service: *builders.Service(builders.ServiceID(serviceID)),
43 }, nil
44}
45
46func (f *fakeClient) ServiceList(ctx context.Context, options client.ServiceListOptions) (client.ServiceListResult, error) {
47 if f.serviceListFunc != nil {

Callers 6

runLogsFunction · 0.45
runInspectFunction · 0.45
runUpdateFunction · 0.45
runServiceScaleFunction · 0.45
runRollbackFunction · 0.45
ServiceProgressFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected