diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-21 11:58:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 11:58:56 -0400 |
commit | cb09c26c6519c2fff8be7285d585672a9066f2da (patch) | |
tree | 4adfde8375b9a76d6942b612fe2bc75aae49124c /libpod/container_api.go | |
parent | e47dda5d81772fcc1c2417062303681a72780bbd (diff) | |
parent | bbe1063a5ae681ad04a049518c6087421b919f2e (diff) | |
download | podman-cb09c26c6519c2fff8be7285d585672a9066f2da.tar.gz podman-cb09c26c6519c2fff8be7285d585672a9066f2da.tar.bz2 podman-cb09c26c6519c2fff8be7285d585672a9066f2da.zip |
Merge pull request #13505 from rst0git/checkpoint-image-1
Add support for checkpoint image
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r-- | libpod/container_api.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go index 0b6139335..ebefed600 100644 --- a/libpod/container_api.go +++ b/libpod/container_api.go @@ -754,6 +754,9 @@ type ContainerCheckpointOptions struct { // TargetFile tells the API to read (or write) the checkpoint image // from (or to) the filename set in TargetFile TargetFile string + // CheckpointImageID tells the API to restore the container from + // checkpoint image with ID set in CheckpointImageID + CheckpointImageID string // Name tells the API that during restore from an exported // checkpoint archive a new name should be used for the // restored container @@ -781,6 +784,9 @@ type ContainerCheckpointOptions struct { // ImportPrevious tells the API to restore container with two // images. One is TargetFile, the other is ImportPrevious. ImportPrevious string + // CreateImage tells Podman to create an OCI image from container + // checkpoint in the local image store. + CreateImage string // Compression tells the API which compression to use for // the exported checkpoint archive. Compression archive.Compression |