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

Method NodeInspect

cli/command/idresolver/client_test.go:15–20  ·  view source on GitHub ↗
(_ context.Context, nodeID string, _ client.NodeInspectOptions)

Source from the content-addressed store, hash-verified

13}
14
15func (cli *fakeClient) NodeInspect(_ context.Context, nodeID string, _ client.NodeInspectOptions) (client.NodeInspectResult, error) {
16 if cli.nodeInspectFunc != nil {
17 return cli.nodeInspectFunc(nodeID)
18 }
19 return client.NodeInspectResult{}, nil
20}
21
22func (cli *fakeClient) ServiceInspect(_ context.Context, serviceID string, _ client.ServiceInspectOptions) (client.ServiceInspectResult, error) {
23 if cli.serviceInspectFunc != nil {

Callers 1

getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected