MCPcopy Index your code
hub / github.com/docker/cli / CheckpointCreate

Method CheckpointCreate

cli/command/checkpoint/client_test.go:16–21  ·  view source on GitHub ↗
(_ context.Context, container string, options client.CheckpointCreateOptions)

Source from the content-addressed store, hash-verified

14}
15
16func (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
23func (cli *fakeClient) CheckpointRemove(_ context.Context, container string, options client.CheckpointRemoveOptions) (client.CheckpointRemoveResult, error) {
24 if cli.checkpointDeleteFunc != nil {

Callers 1

runCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected