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