| 197 | } |
| 198 | |
| 199 | func (f *fakeClient) ContainerStop(ctx context.Context, containerID string, options client.ContainerStopOptions) (client.ContainerStopResult, error) { |
| 200 | if f.containerStopFunc != nil { |
| 201 | return f.containerStopFunc(ctx, containerID, options) |
| 202 | } |
| 203 | return client.ContainerStopResult{}, nil |
| 204 | } |
| 205 | |
| 206 | func (f *fakeClient) ContainerAttach(ctx context.Context, containerID string, options client.ContainerAttachOptions) (client.ContainerAttachResult, error) { |
| 207 | if f.containerAttachFunc != nil { |