pub struct CheClusterDevEnvironmentsGatewayContainerEnvValueFrom {
pub config_map_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromConfigMapKeyRef>,
pub field_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromFieldRef>,
pub file_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromFileKeyRef>,
pub resource_field_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromResourceFieldRef>,
pub secret_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromSecretKeyRef>,
}Expand description
Source for the environment variable’s value. Cannot be used if value is not empty.
Fields§
§config_map_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromConfigMapKeyRef>Selects a key of a ConfigMap.
field_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromFieldRef>Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels['<KEY>'], metadata.annotations['<KEY>'],
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
file_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromFileKeyRef>FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled.
resource_field_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromResourceFieldRef>Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
secret_key_ref: Option<CheClusterDevEnvironmentsGatewayContainerEnvValueFromSecretKeyRef>Selects a key of a secret in the pod’s namespace
Trait Implementations§
Source§impl Clone for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl Clone for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Source§fn clone(&self) -> CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
fn clone(&self) -> CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl Default for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Source§fn default() -> CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
fn default() -> CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl<'de> Deserialize<'de> for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl PartialEq for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Source§fn eq(
&self,
other: &CheClusterDevEnvironmentsGatewayContainerEnvValueFrom,
) -> bool
fn eq( &self, other: &CheClusterDevEnvironmentsGatewayContainerEnvValueFrom, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Auto Trait Implementations§
impl Freeze for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl RefUnwindSafe for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl Send for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl Sync for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl Unpin for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
impl UnwindSafe for CheClusterDevEnvironmentsGatewayContainerEnvValueFrom
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more