(_ context.Context, serviceID string, _ client.ServiceRemoveOptions)
| 137 | } |
| 138 | |
| 139 | func (cli *fakeClient) ServiceRemove(_ context.Context, serviceID string, _ client.ServiceRemoveOptions) (client.ServiceRemoveResult, error) { |
| 140 | if cli.serviceRemoveFunc != nil { |
| 141 | return cli.serviceRemoveFunc(serviceID) |
| 142 | } |
| 143 | |
| 144 | cli.removedServices = append(cli.removedServices, serviceID) |
| 145 | return client.ServiceRemoveResult{}, nil |
| 146 | } |
| 147 | |
| 148 | func (cli *fakeClient) NetworkRemove(_ context.Context, networkID string, _ client.NetworkRemoveOptions) (client.NetworkRemoveResult, error) { |
| 149 | if cli.networkRemoveFunc != nil { |
no outgoing calls
no test coverage detected