pub struct ClusterProjectedVolumeTemplateSourcesConfigMap {
pub items: Option<Vec<ClusterProjectedVolumeTemplateSourcesConfigMapItems>>,
pub name: Option<String>,
pub optional: Option<bool>,
}Expand description
configMap information about the configMap data to project
Fields§
§items: Option<Vec<ClusterProjectedVolumeTemplateSourcesConfigMapItems>>items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the ‘..’ path or start with ‘..’.
name: Option<String>Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
optional: Option<bool>optional specify whether the ConfigMap or its keys must be defined
Trait Implementations§
Source§impl Clone for ClusterProjectedVolumeTemplateSourcesConfigMap
impl Clone for ClusterProjectedVolumeTemplateSourcesConfigMap
Source§fn clone(&self) -> ClusterProjectedVolumeTemplateSourcesConfigMap
fn clone(&self) -> ClusterProjectedVolumeTemplateSourcesConfigMap
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterProjectedVolumeTemplateSourcesConfigMap
impl Default for ClusterProjectedVolumeTemplateSourcesConfigMap
Source§fn default() -> ClusterProjectedVolumeTemplateSourcesConfigMap
fn default() -> ClusterProjectedVolumeTemplateSourcesConfigMap
Source§impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplateSourcesConfigMap
impl<'de> Deserialize<'de> for ClusterProjectedVolumeTemplateSourcesConfigMap
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 JsonSchema for ClusterProjectedVolumeTemplateSourcesConfigMap
impl JsonSchema for ClusterProjectedVolumeTemplateSourcesConfigMap
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterProjectedVolumeTemplateSourcesConfigMap
impl RefUnwindSafe for ClusterProjectedVolumeTemplateSourcesConfigMap
impl Send for ClusterProjectedVolumeTemplateSourcesConfigMap
impl Sync for ClusterProjectedVolumeTemplateSourcesConfigMap
impl Unpin for ClusterProjectedVolumeTemplateSourcesConfigMap
impl UnwindSafe for ClusterProjectedVolumeTemplateSourcesConfigMap
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§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more