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

Method NodeInspect

cli/command/swarm/client_test.go:33–38  ·  view source on GitHub ↗
(context.Context, string, client.NodeInspectOptions)

Source from the content-addressed store, hash-verified

31}
32
33func (cli *fakeClient) NodeInspect(context.Context, string, client.NodeInspectOptions) (client.NodeInspectResult, error) {
34 if cli.nodeInspectFunc != nil {
35 return cli.nodeInspectFunc()
36 }
37 return client.NodeInspectResult{}, nil
38}
39
40func (cli *fakeClient) SwarmInit(_ context.Context, options client.SwarmInitOptions) (client.SwarmInitResult, error) {
41 if cli.swarmInitFunc != nil {

Callers 2

printJoinCommandFunction · 0.45
inspectNodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected