pub struct ManifestModifyOptions {Show 22 fields
pub all: Option<bool>,
pub annotation: Option<Vec<String>>,
pub annotations: Option<HashMap<String, String>>,
pub arch: Option<String>,
pub artifact_annotations: Option<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>,
pub artifact_type: Option<String>,
pub features: Option<Vec<String>>,
pub images: Option<Vec<String>>,
pub index_annotation: Option<Vec<String>>,
pub index_annotations: Option<HashMap<String, String>>,
pub operation: Option<String>,
pub os: Option<String>,
pub os_features: Option<Vec<String>>,
pub os_version: Option<String>,
pub subject: Option<String>,
pub variant: Option<String>,
}
Expand description
ManifestModifyOptions : swagger 2.0 does not support oneOf for schema validation. Operation "update" uses all fields. Operation "remove" uses fields: Operation and Images Operation "annotate" uses fields: Operation and Annotations
Fields§
§all: Option<bool>
True when operating on a list to include all images
annotation: Option<Vec<String>>
Annotation to add to the item in the manifest list
annotations: Option<HashMap<String, String>>
Annotations to add to the item in the manifest list by a map which is preferred over Annotation
arch: Option<String>
Arch overrides the architecture for the item in the manifest list
artifact_annotations: Option<HashMap<String, String>>
§artifact_config: Option<String>
§artifact_config_type: Option<String>
§artifact_exclude_titles: Option<bool>
§artifact_files: Option<Vec<String>>
§artifact_layer_type: Option<String>
§artifact_subject: Option<String>
§artifact_type: Option<String>
The following are all of the fields from ManifestAddArtifactOptions. We can’t just embed the whole structure because it embeds a ManifestAnnotateOptions, which would conflict with the one that ManifestAddOptions embeds.
features: Option<Vec<String>>
Feature list for the item in the manifest list
images: Option<Vec<String>>
Images is an optional list of image references to add to manifest list
index_annotation: Option<Vec<String>>
IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
index_annotations: Option<HashMap<String, String>>
IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
operation: Option<String>
§os: Option<String>
OS overrides the operating system for the item in the manifest list
os_features: Option<Vec<String>>
OS features for the item in the manifest list
os_version: Option<String>
OSVersion overrides the operating system for the item in the manifest list
subject: Option<String>
IndexSubject is a subject value to set in the manifest list itself
variant: Option<String>
Variant for the item in the manifest list
Implementations§
source§impl ManifestModifyOptions
impl ManifestModifyOptions
sourcepub fn new() -> ManifestModifyOptions
pub fn new() -> ManifestModifyOptions
swagger 2.0 does not support oneOf for schema validation. Operation "update" uses all fields. Operation "remove" uses fields: Operation and Images Operation "annotate" uses fields: Operation and Annotations
Trait Implementations§
source§impl Clone for ManifestModifyOptions
impl Clone for ManifestModifyOptions
source§fn clone(&self) -> ManifestModifyOptions
fn clone(&self) -> ManifestModifyOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManifestModifyOptions
impl Debug for ManifestModifyOptions
source§impl Default for ManifestModifyOptions
impl Default for ManifestModifyOptions
source§fn default() -> ManifestModifyOptions
fn default() -> ManifestModifyOptions
source§impl<'de> Deserialize<'de> for ManifestModifyOptions
impl<'de> Deserialize<'de> for ManifestModifyOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for ManifestModifyOptions
impl PartialEq for ManifestModifyOptions
source§fn eq(&self, other: &ManifestModifyOptions) -> bool
fn eq(&self, other: &ManifestModifyOptions) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ManifestModifyOptions
impl Serialize for ManifestModifyOptions
impl StructuralPartialEq for ManifestModifyOptions
Auto Trait Implementations§
impl Freeze for ManifestModifyOptions
impl RefUnwindSafe for ManifestModifyOptions
impl Send for ManifestModifyOptions
impl Sync for ManifestModifyOptions
impl Unpin for ManifestModifyOptions
impl UnwindSafe for ManifestModifyOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)