mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user