pub struct DownwardApiVolumeFile {
pub field_ref: Option<ObjectFieldSelector>,
pub mode: Option<i32>,
pub path: Option<String>,
pub resource_field_ref: Option<ResourceFieldSelector>,
}Expand description
DownwardAPIVolumeFile represents information to create the file containing the pod field
Fields§
§field_ref: Option<ObjectFieldSelector>§mode: Option<i32>Optional: mode bits used to set permissions on this file, 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. If not specified, the volume defaultMode will be used. 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
path: Option<String>Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’
resource_field_ref: Option<ResourceFieldSelector>Implementations§
Source§impl DownwardApiVolumeFile
impl DownwardApiVolumeFile
pub fn new() -> DownwardApiVolumeFile
Trait Implementations§
Source§impl Clone for DownwardApiVolumeFile
impl Clone for DownwardApiVolumeFile
Source§fn clone(&self) -> DownwardApiVolumeFile
fn clone(&self) -> DownwardApiVolumeFile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DownwardApiVolumeFile
impl Debug for DownwardApiVolumeFile
Source§impl<'de> Deserialize<'de> for DownwardApiVolumeFile
impl<'de> Deserialize<'de> for DownwardApiVolumeFile
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 DownwardApiVolumeFile
Converts Query Parameters representation (style=form, explode=false) to a DownwardApiVolumeFile value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for DownwardApiVolumeFile
Converts Query Parameters representation (style=form, explode=false) to a DownwardApiVolumeFile value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for DownwardApiVolumeFile
impl PartialEq for DownwardApiVolumeFile
Source§impl Serialize for DownwardApiVolumeFile
impl Serialize for DownwardApiVolumeFile
Source§impl ToString for DownwardApiVolumeFile
Converts the DownwardApiVolumeFile 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 DownwardApiVolumeFile
Converts the DownwardApiVolumeFile 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