Package org.cdk8s.plus24.k8s
Interface EnvVarSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnvVarSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-07-25T00:18:39.205Z") @Stability(Stable) public interface EnvVarSource extends software.amazon.jsii.JsiiSerializable
EnvVarSource represents a source for the value of an EnvVar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EnvVarSource.Builder
A builder forEnvVarSource
static class
EnvVarSource.Jsii$Proxy
An implementation forEnvVarSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static EnvVarSource.Builder
builder()
default ConfigMapKeySelector
getConfigMapKeyRef()
Selects a key of a ConfigMap.default ObjectFieldSelector
getFieldRef()
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.default ResourceFieldSelector
getResourceFieldRef()
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.default SecretKeySelector
getSecretKeyRef()
Selects a key of a secret in the pod's namespace.
-
-
-
Method Detail
-
getConfigMapKeyRef
@Stability(Stable) @Nullable default ConfigMapKeySelector getConfigMapKeyRef()
Selects a key of a ConfigMap.
-
getFieldRef
@Stability(Stable) @Nullable default ObjectFieldSelector getFieldRef()
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.
-
getResourceFieldRef
@Stability(Stable) @Nullable default ResourceFieldSelector getResourceFieldRef()
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.
-
getSecretKeyRef
@Stability(Stable) @Nullable default SecretKeySelector getSecretKeyRef()
Selects a key of a secret in the pod's namespace.
-
builder
@Stability(Stable) static EnvVarSource.Builder builder()
- Returns:
- a
EnvVarSource.Builder
ofEnvVarSource
-
-