summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-29 04:30:01 -0400
committerGitHub <noreply@github.com>2020-07-29 04:30:01 -0400
commit7f0c0941e84eece3d0e6cc62acc257e1ed33ef2a (patch)
tree3a1fd54f215a73957c21d1b8817b082edd79e473 /pkg/domain/entities/images.go
parent539bb4c59208c9369cb034aa458b3ba89b8bdd3b (diff)
parent6979d140f1c531fd32e885542be27407105ebf90 (diff)
downloadpodman-7f0c0941e84eece3d0e6cc62acc257e1ed33ef2a.tar.gz
podman-7f0c0941e84eece3d0e6cc62acc257e1ed33ef2a.tar.bz2
podman-7f0c0941e84eece3d0e6cc62acc257e1ed33ef2a.zip
Merge pull request #6851 from rhatdan/mount
Add podman image mount
Diffstat (limited to 'pkg/domain/entities/images.go')
-rw-r--r--pkg/domain/entities/images.go30
1 files changed, 29 insertions, 1 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index b38facfb5..cb970b09a 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -91,7 +91,7 @@ type ImageRemoveOptions struct {
}
// ImageRemoveResponse is the response for removing one or more image(s) from storage
-// and containers what was untagged vs actually removed.
+// and images what was untagged vs actually removed.
type ImageRemoveReport struct {
// Deleted images.
Deleted []string `json:",omitempty"`
@@ -318,3 +318,31 @@ type SignOptions struct {
// SignReport describes the result of signing
type SignReport struct{}
+
+// ImageMountOptions describes the input values for mounting images
+// in the CLI
+type ImageMountOptions struct {
+ All bool
+ Format string
+}
+
+// ImageUnmountOptions are the options from the cli for unmounting
+type ImageUnmountOptions struct {
+ All bool
+ Force bool
+}
+
+// ImageMountReport describes the response from image mount
+type ImageMountReport struct {
+ Err error
+ Id string //nolint
+ Name string
+ Repositories []string
+ Path string
+}
+
+// ImageUnmountReport describes the response from umounting an image
+type ImageUnmountReport struct {
+ Err error
+ Id string //nolint
+}