github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/pkg/bindings/manifests/types.go (about) 1 package manifests 2 3 //go:generate go run ../generator/generator.go InspectOptions 4 // InspectOptions are optional options for inspecting manifests 5 type InspectOptions struct { 6 } 7 8 //go:generate go run ../generator/generator.go CreateOptions 9 // CreateOptions are optional options for creating manifests 10 type CreateOptions struct { 11 All *bool 12 } 13 14 //go:generate go run ../generator/generator.go ExistsOptions 15 // ExistsOptions are optional options for checking 16 // if a manifest list exists 17 type ExistsOptions struct { 18 } 19 20 //go:generate go run ../generator/generator.go AddOptions 21 // AddOptions are optional options for adding manifest lists 22 type AddOptions struct { 23 All *bool 24 Annotation map[string]string 25 Arch *string 26 Features []string 27 Images []string 28 OS *string 29 OSVersion *string 30 Variant *string 31 Authfile *string 32 Password *string 33 Username *string 34 SkipTLSVerify *bool 35 } 36 37 //go:generate go run ../generator/generator.go RemoveOptions 38 // RemoveOptions are optional options for removing manifest lists 39 type RemoveOptions struct { 40 } 41 42 //go:generate go run ../generator/generator.go ModifyOptions 43 // ModifyOptions are optional options for modifying manifest lists 44 type ModifyOptions struct { 45 // Operation values are "update", "remove" and "annotate". This allows the service to 46 // efficiently perform each update on a manifest list. 47 Operation *string 48 All *bool // All when true, operate on all images in a manifest list that may be included in Images 49 Annotations map[string]string // Annotations to add to manifest list 50 Arch *string // Arch overrides the architecture for the image 51 Features []string // Feature list for the image 52 Images []string // Images is an optional list of images to add/remove to/from manifest list depending on operation 53 OS *string // OS overrides the operating system for the image 54 OSFeatures []string // OS features for the image 55 OSVersion *string // OSVersion overrides the operating system for the image 56 Variant *string // Variant overrides the operating system variant for the image 57 Authfile *string 58 Password *string 59 Username *string 60 SkipTLSVerify *bool 61 }