| 190 | } |
| 191 | |
| 192 | func (f *fakeClient) ContainerRestart(ctx context.Context, containerID string, options client.ContainerRestartOptions) (client.ContainerRestartResult, error) { |
| 193 | if f.containerRestartFunc != nil { |
| 194 | return f.containerRestartFunc(ctx, containerID, options) |
| 195 | } |
| 196 | return client.ContainerRestartResult{}, nil |
| 197 | } |
| 198 | |
| 199 | func (f *fakeClient) ContainerStop(ctx context.Context, containerID string, options client.ContainerStopOptions) (client.ContainerStopResult, error) { |
| 200 | if f.containerStopFunc != nil { |