summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2019-02-06 19:17:25 +0000
committerAdrian Reber <areber@redhat.com>2019-06-03 22:05:12 +0200
commita05cfd24bb6929ca4431f9169b9b215b0d43d91e (patch)
treef24a4482f609119b98770896f365d630c4af5c2d /libpod/container_api.go
parente0c8c14f5be5a2da38683f35e55d19ffc36659ba (diff)
downloadpodman-a05cfd24bb6929ca4431f9169b9b215b0d43d91e.tar.gz
podman-a05cfd24bb6929ca4431f9169b9b215b0d43d91e.tar.bz2
podman-a05cfd24bb6929ca4431f9169b9b215b0d43d91e.zip
Added helper functions for container migration
This adds a couple of function in structure members needed in the next commit to make container migration actually work. This just splits of the function which are not modifying existing code. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index eff5bfe5f..b8b60a6e2 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -815,6 +815,11 @@ type ContainerCheckpointOptions struct {
// TCPEstablished tells the API to checkpoint a container
// even if it contains established TCP connections
TCPEstablished bool
+ // Export tells the API to write the checkpoint image to
+ // the filename set in TargetFile
+ // Import tells the API to read the checkpoint image from
+ // the filename set in TargetFile
+ TargetFile string
}
// Checkpoint checkpoints a container