MCPcopy
hub / github.com/containerd/containerd / Checkpoint

Method Checkpoint

client/container.go:86–86  ·  view source on GitHub ↗

Checkpoint creates a checkpoint image of the current container

(context.Context, string, ...CheckpointOpts)

Source from the content-addressed store, hash-verified

84 Update(context.Context, ...UpdateContainerOpts) error
85 // Checkpoint creates a checkpoint image of the current container
86 Checkpoint(context.Context, string, ...CheckpointOpts) (Image, error)
87 // Restore restores a container and returns the PID of the
88 // restored containers init process.
89 Restore(context.Context, cio.Creator, string) (int, error)

Callers 7

TestCheckpointRestorePTYFunction · 0.95
TestCheckpointRestoreFunction · 0.95
WithCheckpointTaskFunction · 0.65
checkpointTaskMethod · 0.65

Calls

no outgoing calls

Tested by 5

TestCheckpointRestorePTYFunction · 0.76
TestCheckpointRestoreFunction · 0.76