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

Method SwarmInspect

cli/command/swarm/client_test.go:47–52  ·  view source on GitHub ↗
(context.Context, client.SwarmInspectOptions)

Source from the content-addressed store, hash-verified

45}
46
47func (cli *fakeClient) SwarmInspect(context.Context, client.SwarmInspectOptions) (client.SwarmInspectResult, error) {
48 if cli.swarmInspectFunc != nil {
49 return cli.swarmInspectFunc()
50 }
51 return client.SwarmInspectResult{}, nil
52}
53
54func (cli *fakeClient) SwarmGetUnlockKey(ctx context.Context) (client.SwarmGetUnlockKeyResult, error) {
55 if cli.swarmGetUnlockKeyFunc != nil {

Callers 7

runUpdateFunction · 0.80
runCAFunction · 0.80
attachFunction · 0.80
runJoinTokenFunction · 0.80
printJoinCommandFunction · 0.80
runUnlockKeyFunction · 0.80
RootRotationProgressFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected