summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/manifest.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-04-16 00:41:09 -0400
committerQi Wang <qiwan@redhat.com>2020-04-22 20:05:21 -0400
commit17783dda6880c786a6eb3f47b3b6100e43bcdc77 (patch)
tree1d551e1a3901fe07c3540c8e9a58d93c8da5c772 /pkg/domain/entities/manifest.go
parent576fe98bbcee7361251b437835125f93b4c10b15 (diff)
downloadpodman-17783dda6880c786a6eb3f47b3b6100e43bcdc77.tar.gz
podman-17783dda6880c786a6eb3f47b3b6100e43bcdc77.tar.bz2
podman-17783dda6880c786a6eb3f47b3b6100e43bcdc77.zip
manifest create,add,inspect
Implememts manifest subcommands create, add, inspect. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain/entities/manifest.go')
-rw-r--r--pkg/domain/entities/manifest.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/domain/entities/manifest.go b/pkg/domain/entities/manifest.go
new file mode 100644
index 000000000..a9c961f9d
--- /dev/null
+++ b/pkg/domain/entities/manifest.go
@@ -0,0 +1,15 @@
+package entities
+
+type ManifestCreateOptions struct {
+ All bool `schema:"all"`
+}
+
+type ManifestAddOptions struct {
+ All bool `json:"all" schema:"all"`
+ Annotation []string `json:"annotation" schema:"annotation"`
+ Arch string `json:"arch" schema:"arch"`
+ Features []string `json:"features" schema:"features"`
+ Images []string `json:"images" schema:"images"`
+ OSVersion string `json:"os_version" schema:"os_version"`
+ Variant string `json:"variant" schema:"variant"`
+}