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

Method NodeInspect

cli/command/node/client_test.go:21–26  ·  view source on GitHub ↗
(context.Context, string, client.NodeInspectOptions)

Source from the content-addressed store, hash-verified

19}
20
21func (cli *fakeClient) NodeInspect(context.Context, string, client.NodeInspectOptions) (client.NodeInspectResult, error) {
22 if cli.nodeInspectFunc != nil {
23 return cli.nodeInspectFunc()
24 }
25 return client.NodeInspectResult{}, nil
26}
27
28func (cli *fakeClient) NodeList(context.Context, client.NodeListOptions) (client.NodeListResult, error) {
29 if cli.nodeListFunc != nil {

Callers 3

runInspectFunction · 0.45
updateNodesFunction · 0.45
runPsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected