MCPcopy Create free account
hub / github.com/docker/cli / SwarmUpdate

Method SwarmUpdate

cli/command/swarm/client_test.go:75–80  ·  view source on GitHub ↗
(_ context.Context, options client.SwarmUpdateOptions)

Source from the content-addressed store, hash-verified

73}
74
75func (cli *fakeClient) SwarmUpdate(_ context.Context, options client.SwarmUpdateOptions) (client.SwarmUpdateResult, error) {
76 if cli.swarmUpdateFunc != nil {
77 return cli.swarmUpdateFunc(options)
78 }
79 return client.SwarmUpdateResult{}, nil
80}
81
82func (cli *fakeClient) SwarmUnlock(_ context.Context, options client.SwarmUnlockOptions) (client.SwarmUnlockResult, error) {
83 if cli.swarmUnlockFunc != nil {

Callers 4

runUpdateFunction · 0.80
runCAFunction · 0.80
runJoinTokenFunction · 0.80
runUnlockKeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected