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-14 17:14:12 +0200
committerGitHub <noreply@github.com>2020-04-14 17:14:12 +0200
commit246ee9320114e6adefabe0c8d5f5fc22d948cf31 (patch)
tree636e7c557dc8097a6a08ab6b9951e1b7fc09c640 /pkg/domain/entities/containers.go
parente2a137327c09a4fb3540d9bc9bda7685d4df0500 (diff)
parentd625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5 (diff)
downloadpodman-246ee9320114e6adefabe0c8d5f5fc22d948cf31.tar.gz
podman-246ee9320114e6adefabe0c8d5f5fc22d948cf31.tar.bz2
podman-246ee9320114e6adefabe0c8d5f5fc22d948cf31.zip
Merge pull request #5801 from baude/v2mount
podmanv2 mount and umount
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r--pkg/domain/entities/containers.go30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index 4508f9c2c..f21af9ce4 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -297,3 +297,33 @@ type ContainerInitReport struct {
Err error
Id string
}
+
+//ContainerMountOptions describes the input values for mounting containers
+// in the CLI
+type ContainerMountOptions struct {
+ All bool
+ Format string
+ Latest bool
+ NoTruncate bool
+}
+
+// ContainerUnmountOptions are the options from the cli for unmounting
+type ContainerUnmountOptions struct {
+ All bool
+ Force bool
+ Latest bool
+}
+
+// ContainerMountReport describes the response from container mount
+type ContainerMountReport struct {
+ Err error
+ Id string
+ Name string
+ Path string
+}
+
+// ContainerUnmountReport describes the response from umounting a container
+type ContainerUnmountReport struct {
+ Err error
+ Id string
+}