| Modifier and Type | Method and Description |
|---|---|
static EnvValue |
EnvValue.fromConfigMap(IConfigMap configMap,
String key)
Create a value by reading a specific key inside a config map.
|
static EnvValue |
EnvValue.fromConfigMap(IConfigMap configMap,
String key,
EnvValueFromConfigMapOptions options)
Create a value by reading a specific key inside a config map.
|
static EnvValue |
EnvValue.fromProcess(String key)
Create a value from a key in the current process environment.
|
static EnvValue |
EnvValue.fromProcess(String key,
EnvValueFromProcessOptions options)
Create a value from a key in the current process environment.
|
static EnvValue |
EnvValue.fromSecretValue(SecretValue secretValue)
Defines an environment value from a secret JSON value.
|
static EnvValue |
EnvValue.fromSecretValue(SecretValue secretValue,
EnvValueFromSecretOptions options)
Defines an environment value from a secret JSON value.
|
static EnvValue |
EnvValue.fromValue(String value)
Create a value from the given argument.
|
| Modifier and Type | Method and Description |
|---|---|
default Map<String,EnvValue> |
ContainerProps.getEnv()
List of environment variables to set in the container.
|
Map<String,EnvValue> |
ContainerProps.Jsii$Proxy.getEnv() |
Map<String,EnvValue> |
Container.getEnv()
The environment variables for this container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Container.addEnv(String name,
EnvValue value)
Add an environment value to the container.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerProps.Builder |
ContainerProps.Builder.env(Map<String,? extends EnvValue> env)
Sets the value of
ContainerProps.getEnv() |
Container.Builder |
Container.Builder.env(Map<String,? extends EnvValue> env)
List of environment variables to set in the container.
|
| Constructor and Description |
|---|
Jsii$Proxy(String image,
List<String> args,
List<String> command,
Map<String,? extends EnvValue> env,
ImagePullPolicy imagePullPolicy,
Probe liveness,
String name,
Number port,
Probe readiness,
Probe startup,
List<? extends VolumeMount> volumeMounts,
String workingDir)
Constructor that initializes the object based on literal property values passed by the
ContainerProps.Builder. |
Copyright © 2021. All rights reserved.