| 14 | } |
| 15 | |
| 16 | func (cli *fakeClient) CheckpointCreate(_ context.Context, container string, options client.CheckpointCreateOptions) (client.CheckpointCreateResult, error) { |
| 17 | if cli.checkpointCreateFunc != nil { |
| 18 | return cli.checkpointCreateFunc(container, options) |
| 19 | } |
| 20 | return client.CheckpointCreateResult{}, nil |
| 21 | } |
| 22 | |
| 23 | func (cli *fakeClient) CheckpointRemove(_ context.Context, container string, options client.CheckpointRemoveOptions) (client.CheckpointRemoveResult, error) { |
| 24 | if cli.checkpointDeleteFunc != nil { |