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

Method Info

cli/command/swarm/client_test.go:23–31  ·  view source on GitHub ↗
(context.Context, client.InfoOptions)

Source from the content-addressed store, hash-verified

21}
22
23func (cli *fakeClient) Info(context.Context, client.InfoOptions) (client.SystemInfoResult, error) {
24 if cli.infoFunc != nil {
25 inf, err := cli.infoFunc()
26 return client.SystemInfoResult{
27 Info: inf,
28 }, err
29 }
30 return client.SystemInfoResult{}, nil
31}
32
33func (cli *fakeClient) NodeInspect(context.Context, string, client.NodeInspectOptions) (client.NodeInspectResult, error) {
34 if cli.nodeInspectFunc != nil {

Callers 4

runUnlockFunction · 0.45
runJoinTokenFunction · 0.45
runJoinFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected