Struct k8s_openapi::v1_9::api::core::v1::ConfigMapEnvSource[][src]

pub struct ConfigMapEnvSource {
    pub name: Option<String>,
    pub optional: Option<bool>,
}

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

Fields

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Specify whether the ConfigMap must be defined

Trait Implementations

impl Clone for ConfigMapEnvSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConfigMapEnvSource
[src]

Formats the value using the given formatter. Read more

impl Default for ConfigMapEnvSource
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ConfigMapEnvSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ConfigMapEnvSource
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ConfigMapEnvSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations