(ctx context.Context)
| 52 | } |
| 53 | |
| 54 | func (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 | |
| 61 | func (cli *fakeClient) SwarmJoin(context.Context, client.SwarmJoinOptions) (client.SwarmJoinResult, error) { |
| 62 | if cli.swarmJoinFunc != nil { |
no outgoing calls
no test coverage detected