Struct k8s_openapi::v1_11::api::core::v1::SecretEnvSource[][src]

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

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret'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 Secret must be defined

Trait Implementations

impl Clone for SecretEnvSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SecretEnvSource
[src]

Formats the value using the given formatter. Read more

impl Default for SecretEnvSource
[src]

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

impl PartialEq for SecretEnvSource
[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 SecretEnvSource
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SecretEnvSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations