podman_rest_client/v5/models/
manifest_add_artifact_options.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// ManifestAddArtifactOptions provides the model for creating artifact manifests
4/// for files and adding those manifests to a manifest list
5pub struct ManifestAddArtifactOptions {
6    /// Annotation to add to the item in the manifest list
7    pub annotation: Option<Vec<String>>,
8    /// Annotations to add to the item in the manifest list by a map which is preferred over Annotation
9    pub annotations: Option<std::collections::HashMap<String, String>>,
10    /// Arch overrides the architecture for the item in the manifest list
11    pub arch: Option<String>,
12    pub artifact_annotations: Option<std::collections::HashMap<String, String>>,
13    pub artifact_config: Option<String>,
14    pub artifact_config_type: Option<String>,
15    pub artifact_exclude_titles: Option<bool>,
16    pub artifact_files: Option<Vec<String>>,
17    pub artifact_layer_type: Option<String>,
18    pub artifact_subject: Option<String>,
19    /// Note to future maintainers: keep these fields synchronized with ManifestModifyOptions!
20    pub artifact_type: Option<String>,
21    /// Feature list for the item in the manifest list
22    pub features: Option<Vec<String>>,
23    /// IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
24    pub index_annotation: Option<Vec<String>>,
25    /// IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
26    pub index_annotations: Option<std::collections::HashMap<String, String>>,
27    /// OS overrides the operating system for the item in the manifest list
28    pub os: Option<String>,
29    /// OS features for the item in the manifest list
30    pub os_features: Option<Vec<String>>,
31    /// OSVersion overrides the operating system for the item in the manifest list
32    pub os_version: Option<String>,
33    /// IndexSubject is a subject value to set in the manifest list itself
34    pub subject: Option<String>,
35    /// Variant for the item in the manifest list
36    pub variant: Option<String>,
37}