diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-13 14:18:07 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-14 08:32:14 -0500 |
commit | d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5 (patch) | |
tree | 1090396efa9583cff44a2c1fb20b9450d4a7aa5c /pkg/domain/entities/containers.go | |
parent | 004826653f2a8b064af8c1f055b1a402f4060d1c (diff) | |
download | podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.tar.gz podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.tar.bz2 podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.zip |
podmanv2 mount and umount
add the ability to mount and unmount containers for the local client only
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r-- | pkg/domain/entities/containers.go | 30 |
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 +} |