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>
This commit is contained in:
Adrian Reber
2019-02-06 19:17:25 +00:00
parent e0c8c14f5b
commit a05cfd24bb
3 changed files with 120 additions and 4 deletions

View File

@ -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