(_ context.Context, options client.SwarmUpdateOptions)
| 73 | } |
| 74 | |
| 75 | func (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 | |
| 82 | func (cli *fakeClient) SwarmUnlock(_ context.Context, options client.SwarmUnlockOptions) (client.SwarmUnlockResult, error) { |
| 83 | if cli.swarmUnlockFunc != nil { |
no outgoing calls
no test coverage detected