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

Method ServiceInspect

cli/command/idresolver/client_test.go:22–27  ·  view source on GitHub ↗
(_ context.Context, serviceID string, _ client.ServiceInspectOptions)

Source from the content-addressed store, hash-verified

20}
21
22func (cli *fakeClient) ServiceInspect(_ context.Context, serviceID string, _ client.ServiceInspectOptions) (client.ServiceInspectResult, error) {
23 if cli.serviceInspectFunc != nil {
24 return cli.serviceInspectFunc(serviceID)
25 }
26 return client.ServiceInspectResult{}, nil
27}

Callers 1

getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected