pub struct ConfigMapEnvSource {
pub name: Option<String>,
pub optional: Option<bool>,
}Expand description
The contents of the target ConfigMap’s Data field will represent the key-value pairs as environment variables.
Fields§
§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
optional: Option<bool>Specify whether the ConfigMap must be defined +optional
Implementations§
Source§impl ConfigMapEnvSource
impl ConfigMapEnvSource
pub fn new() -> ConfigMapEnvSource
Trait Implementations§
Source§impl Clone for ConfigMapEnvSource
impl Clone for ConfigMapEnvSource
Source§fn clone(&self) -> ConfigMapEnvSource
fn clone(&self) -> ConfigMapEnvSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigMapEnvSource
impl Debug for ConfigMapEnvSource
Source§impl<'de> Deserialize<'de> for ConfigMapEnvSource
impl<'de> Deserialize<'de> for ConfigMapEnvSource
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 ConfigMapEnvSource
Converts Query Parameters representation (style=form, explode=false) to a ConfigMapEnvSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for ConfigMapEnvSource
Converts Query Parameters representation (style=form, explode=false) to a ConfigMapEnvSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ConfigMapEnvSource
impl PartialEq for ConfigMapEnvSource
Source§impl Serialize for ConfigMapEnvSource
impl Serialize for ConfigMapEnvSource
Source§impl ToString for ConfigMapEnvSource
Converts the ConfigMapEnvSource 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 ConfigMapEnvSource
Converts the ConfigMapEnvSource 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