summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/containers.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-03 20:05:30 +0200
committerGitHub <noreply@github.com>2020-04-03 20:05:30 +0200
commit64cade0f71a8189403d208cbc7dc8716008229be (patch)
tree31f36e86cbab604ba51e37255e7b821f9b5a0c7f /pkg/domain/entities/containers.go
parent3542700d6e7b630b2eeee8a0e20499bda3dafb03 (diff)
parent8a16674722ab4a33ce66e57d151b09ac348e8e6d (diff)
downloadpodman-64cade0f71a8189403d208cbc7dc8716008229be.tar.gz
podman-64cade0f71a8189403d208cbc7dc8716008229be.tar.bz2
podman-64cade0f71a8189403d208cbc7dc8716008229be.zip
Merge pull request #5638 from baude/v2containercheck
podmanv2 checkpoint and restore
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r--pkg/domain/entities/containers.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index d51124f55..45dea98bf 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -121,3 +121,35 @@ type CommitReport struct {
type ContainerExportOptions struct {
Output string
}
+
+type CheckpointOptions struct {
+ All bool
+ Export string
+ IgnoreRootFS bool
+ Keep bool
+ Latest bool
+ LeaveRuninng bool
+ TCPEstablished bool
+}
+
+type CheckpointReport struct {
+ Err error
+ Id string
+}
+
+type RestoreOptions struct {
+ All bool
+ IgnoreRootFS bool
+ IgnoreStaticIP bool
+ IgnoreStaticMAC bool
+ Import string
+ Keep bool
+ Latest bool
+ Name string
+ TCPEstablished bool
+}
+
+type RestoreReport struct {
+ Err error
+ Id string
+}