aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities/containers.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-13 16:04:05 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-13 19:51:20 -0500
commitd8d1aa49d27d51f914a0858ab99c57d7dc929926 (patch)
tree715f035f049b161b55932fa9586f24c1876f11a5 /pkg/domain/entities/containers.go
parent5cf64aee11063bc8e7ff22f1365b0bf6b3ab0900 (diff)
downloadpodman-d8d1aa49d27d51f914a0858ab99c57d7dc929926.tar.gz
podman-d8d1aa49d27d51f914a0858ab99c57d7dc929926.tar.bz2
podman-d8d1aa49d27d51f914a0858ab99c57d7dc929926.zip
v2podman add container init
add the ability to init a container both local and remote Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r--pkg/domain/entities/containers.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index 51e6cc751..4508f9c2c 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -283,3 +283,17 @@ type ContainerCleanupReport struct {
RmErr error
RmiErr error
}
+
+// ContainerInitOptions describes input options
+// for the container init cli
+type ContainerInitOptions struct {
+ All bool
+ Latest bool
+}
+
+// ContainerInitReport describes the results of a
+// container init
+type ContainerInitReport struct {
+ Err error
+ Id string
+}