| 164 | } |
| 165 | |
| 166 | func (cli *fakeClient) ConfigRemove(_ context.Context, configID string, _ client.ConfigRemoveOptions) (client.ConfigRemoveResult, error) { |
| 167 | if cli.configRemoveFunc != nil { |
| 168 | return cli.configRemoveFunc(configID) |
| 169 | } |
| 170 | |
| 171 | cli.removedConfigs = append(cli.removedConfigs, configID) |
| 172 | return client.ConfigRemoveResult{}, nil |
| 173 | } |
| 174 | |
| 175 | func (*fakeClient) ServiceInspect(_ context.Context, serviceID string, _ client.ServiceInspectOptions) (client.ServiceInspectResult, error) { |
| 176 | return client.ServiceInspectResult{ |