podman_rest_client/v5/models/manifest_add_options.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// ManifestAddOptions provides model for adding digests to manifest list
4pub struct ManifestAddOptions {
5 /// True when operating on a list to include all images
6 pub all: Option<bool>,
7 /// Annotation to add to the item in the manifest list
8 pub annotation: Option<Vec<String>>,
9 /// Annotations to add to the item in the manifest list by a map which is preferred over Annotation
10 pub annotations: Option<std::collections::HashMap<String, String>>,
11 /// Arch overrides the architecture for the item in the manifest list
12 pub arch: Option<String>,
13 /// Feature list for the item in the manifest list
14 pub features: Option<Vec<String>>,
15 /// Images is an optional list of image references to add to manifest list
16 pub images: Option<Vec<String>>,
17 /// IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
18 pub index_annotation: Option<Vec<String>>,
19 /// IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
20 pub index_annotations: Option<std::collections::HashMap<String, String>>,
21 /// OS overrides the operating system for the item in the manifest list
22 pub os: Option<String>,
23 /// OS features for the item in the manifest list
24 pub os_features: Option<Vec<String>>,
25 /// OSVersion overrides the operating system for the item in the manifest list
26 pub os_version: Option<String>,
27 /// IndexSubject is a subject value to set in the manifest list itself
28 pub subject: Option<String>,
29 /// Variant for the item in the manifest list
30 pub variant: Option<String>,
31}