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

Method SwarmJoin

cli/command/swarm/client_test.go:61–66  ·  view source on GitHub ↗
(context.Context, client.SwarmJoinOptions)

Source from the content-addressed store, hash-verified

59}
60
61func (cli *fakeClient) SwarmJoin(context.Context, client.SwarmJoinOptions) (client.SwarmJoinResult, error) {
62 if cli.swarmJoinFunc != nil {
63 return cli.swarmJoinFunc()
64 }
65 return client.SwarmJoinResult{}, nil
66}
67
68func (cli *fakeClient) SwarmLeave(context.Context, client.SwarmLeaveOptions) (client.SwarmLeaveResult, error) {
69 if cli.swarmLeaveFunc != nil {

Callers 1

runJoinFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected