pub struct ClusterProjectedVolumeTemplate {
pub default_mode: Option<i32>,
pub sources: Option<Vec<ClusterProjectedVolumeTemplateSources>>,
}
Expand description
Template to be used to define projected volumes, projected volumes will be mounted under /projected
base folder
Fields§
§default_mode: Option<i32>
defaultMode are the 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. 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.
sources: Option<Vec<ClusterProjectedVolumeTemplateSources>>
sources is the list of volume projections
Trait Implementations§
source§impl Clone for ClusterProjectedVolumeTemplate
impl Clone for ClusterProjectedVolumeTemplate
source§fn clone(&self) -> ClusterProjectedVolumeTemplate
fn clone(&self) -> ClusterProjectedVolumeTemplate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ClusterProjectedVolumeTemplate
impl Default for ClusterProjectedVolumeTemplate
source§fn default() -> ClusterProjectedVolumeTemplate
fn default() -> ClusterProjectedVolumeTemplate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplate
impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplate
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for ClusterProjectedVolumeTemplate
impl JsonSchema for ClusterProjectedVolumeTemplate
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ClusterProjectedVolumeTemplate
impl Send for ClusterProjectedVolumeTemplate
impl Sync for ClusterProjectedVolumeTemplate
impl Unpin for ClusterProjectedVolumeTemplate
impl UnwindSafe for ClusterProjectedVolumeTemplate
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
Mutably borrows from an owned value. Read more