[][src]Struct google_run1::EnvVarSource

pub struct EnvVarSource {
    pub secret_key_ref: Option<SecretKeySelector>,
    pub config_map_key_ref: Option<ConfigMapKeySelector>,
}

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

EnvVarSource represents a source for the value of an EnvVar.

This type is not used in any activity, and only used as part of another schema.

Fields

secret_key_ref: Option<SecretKeySelector>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Selects a key of a secret in the pod's namespace

config_map_key_ref: Option<ConfigMapKeySelector>

(Optional)

Cloud Run fully managed: not supported

Cloud Run for Anthos: supported

Selects a key of a ConfigMap.

Trait Implementations

impl Clone for EnvVarSource[src]

impl Debug for EnvVarSource[src]

impl Default for EnvVarSource[src]

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

impl Part for EnvVarSource[src]

impl Serialize for EnvVarSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any