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

Method SwarmGetUnlockKey

cli/command/swarm/client_test.go:54–59  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

52}
53
54func (cli *fakeClient) SwarmGetUnlockKey(ctx context.Context) (client.SwarmGetUnlockKeyResult, error) {
55 if cli.swarmGetUnlockKeyFunc != nil {
56 return cli.swarmGetUnlockKeyFunc()
57 }
58 return client.SwarmGetUnlockKeyResult{}, nil
59}
60
61func (cli *fakeClient) SwarmJoin(context.Context, client.SwarmJoinOptions) (client.SwarmJoinResult, error) {
62 if cli.swarmJoinFunc != nil {

Callers 3

runUpdateFunction · 0.80
runInitFunction · 0.80
runUnlockKeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected