pub struct DownwardApiVolumeSource {
pub default_mode: Option<i32>,
pub items: Option<Vec<DownwardApiVolumeFile>>,
}Expand description
Downward API volumes support ownership management and SELinux relabeling.
Fields§
§default_mode: Option<i32>Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
items: Option<Vec<DownwardApiVolumeFile>>Items is a list of downward API volume file +optional
Implementations§
Source§impl DownwardApiVolumeSource
impl DownwardApiVolumeSource
pub fn new() -> DownwardApiVolumeSource
Trait Implementations§
Source§impl Clone for DownwardApiVolumeSource
impl Clone for DownwardApiVolumeSource
Source§fn clone(&self) -> DownwardApiVolumeSource
fn clone(&self) -> DownwardApiVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DownwardApiVolumeSource
impl Debug for DownwardApiVolumeSource
Source§impl<'de> Deserialize<'de> for DownwardApiVolumeSource
impl<'de> Deserialize<'de> for DownwardApiVolumeSource
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 FromStr for DownwardApiVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a DownwardApiVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for DownwardApiVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a DownwardApiVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for DownwardApiVolumeSource
impl PartialEq for DownwardApiVolumeSource
Source§impl Serialize for DownwardApiVolumeSource
impl Serialize for DownwardApiVolumeSource
Source§impl ToString for DownwardApiVolumeSource
Converts the DownwardApiVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for DownwardApiVolumeSource
Converts the DownwardApiVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer