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