(ctx context.Context, options client.ContainerPruneOptions)
| 183 | } |
| 184 | |
| 185 | func (f *fakeClient) ContainerPrune(ctx context.Context, options client.ContainerPruneOptions) (client.ContainerPruneResult, error) { |
| 186 | if f.containerPruneFunc != nil { |
| 187 | return f.containerPruneFunc(ctx, options) |
| 188 | } |
| 189 | return client.ContainerPruneResult{}, nil |
| 190 | } |
| 191 | |
| 192 | func (f *fakeClient) ContainerRestart(ctx context.Context, containerID string, options client.ContainerRestartOptions) (client.ContainerRestartResult, error) { |
| 193 | if f.containerRestartFunc != nil { |