| Modifier and Type | Method and Description |
|---|---|
static Volume |
Volume.fromConfigMap(IConfigMap configMap)
Populate the volume from a ConfigMap.
|
static Volume |
Volume.fromConfigMap(IConfigMap configMap,
ConfigMapVolumeOptions options)
Populate the volume from a ConfigMap.
|
static Volume |
Volume.fromEmptyDir(String name)
An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node.
|
static Volume |
Volume.fromEmptyDir(String name,
EmptyDirVolumeOptions options)
An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node.
|
Volume |
VolumeMount.getVolume()
The volume to mount.
|
Volume |
VolumeMount.Jsii$Proxy.getVolume() |
| Modifier and Type | Method and Description |
|---|---|
List<Volume> |
StatefulSetProps.Jsii$Proxy.getVolumes() |
List<Volume> |
PodTemplateProps.Jsii$Proxy.getVolumes() |
List<Volume> |
Job.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
IPodTemplate.Jsii$Proxy.getVolumes()
The volumes associated with this pod.
|
default List<Volume> |
IPodTemplate.Jsii$Default.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
IPodSpec.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
IPodSpec.Jsii$Proxy.getVolumes()
The volumes associated with this pod.
|
default List<Volume> |
IPodSpec.Jsii$Default.getVolumes()
The volumes associated with this pod.
|
default List<Volume> |
PodSpecProps.getVolumes()
List of volumes that can be mounted by containers belonging to the pod.
|
List<Volume> |
PodSpecProps.Jsii$Proxy.getVolumes() |
List<Volume> |
DeploymentProps.Jsii$Proxy.getVolumes() |
List<Volume> |
Deployment.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
StatefulSet.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
JobProps.Jsii$Proxy.getVolumes() |
List<Volume> |
PodSpec.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
Pod.getVolumes()
The volumes associated with this pod.
|
List<Volume> |
PodProps.Jsii$Proxy.getVolumes() |
| Modifier and Type | Method and Description |
|---|---|
void |
Job.addVolume(Volume volume)
Add a volume to the pod.
|
void |
IPodTemplate.Jsii$Proxy.addVolume(Volume volume)
Add a volume to the pod.
|
default void |
IPodTemplate.Jsii$Default.addVolume(Volume volume)
Add a volume to the pod.
|
void |
IPodSpec.addVolume(Volume volume)
Add a volume to the pod.
|
void |
IPodSpec.Jsii$Proxy.addVolume(Volume volume)
Add a volume to the pod.
|
default void |
IPodSpec.Jsii$Default.addVolume(Volume volume)
Add a volume to the pod.
|
void |
Deployment.addVolume(Volume volume)
Add a volume to the pod.
|
void |
StatefulSet.addVolume(Volume volume)
Add a volume to the pod.
|
void |
PodSpec.addVolume(Volume volume)
Add a volume to the pod.
|
void |
Pod.addVolume(Volume volume)
Add a volume to the pod.
|
void |
Container.mount(String path,
Volume volume)
Mount a volume to a specific path so that it is accessible by the container.
|
void |
Container.mount(String path,
Volume volume,
MountOptions options)
Mount a volume to a specific path so that it is accessible by the container.
|
VolumeMount.Builder |
VolumeMount.Builder.volume(Volume volume)
Sets the value of
VolumeMount.getVolume() |
| Modifier and Type | Method and Description |
|---|---|
StatefulSetProps.Builder |
StatefulSetProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
PodTemplateProps.Builder |
PodTemplateProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
Job.Builder |
Job.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
PodSpecProps.Builder |
PodSpecProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
DeploymentProps.Builder |
DeploymentProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
Deployment.Builder |
Deployment.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
PodTemplate.Builder |
PodTemplate.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
StatefulSet.Builder |
StatefulSet.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
JobProps.Builder |
JobProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
PodSpec.Builder |
PodSpec.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
Pod.Builder |
Pod.Builder.volumes(List<? extends Volume> volumes)
List of volumes that can be mounted by containers belonging to the pod.
|
PodProps.Builder |
PodProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
| Constructor and Description |
|---|
Jsii$Proxy(String path,
Volume volume,
MountPropagation propagation,
Boolean readOnly,
String subPath,
String subPathExpr)
Constructor that initializes the object based on literal property values passed by the
VolumeMount.Builder. |
| Constructor and Description |
|---|
Jsii$Proxy(org.cdk8s.ApiObjectMetadata podMetadata,
List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
PodTemplateProps.Builder. |
Jsii$Proxy(org.cdk8s.ApiObjectMetadata metadata,
List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
PodProps.Builder. |
Jsii$Proxy(Boolean defaultSelector,
Number replicas,
org.cdk8s.ApiObjectMetadata metadata,
org.cdk8s.ApiObjectMetadata podMetadata,
List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
DeploymentProps.Builder. |
Jsii$Proxy(org.cdk8s.Duration activeDeadline,
Number backoffLimit,
org.cdk8s.Duration ttlAfterFinished,
org.cdk8s.ApiObjectMetadata metadata,
org.cdk8s.ApiObjectMetadata podMetadata,
List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
JobProps.Builder. |
Jsii$Proxy(List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
PodSpecProps.Builder. |
Jsii$Proxy(Service service,
Boolean defaultSelector,
PodManagementPolicy podManagementPolicy,
Number replicas,
org.cdk8s.ApiObjectMetadata metadata,
org.cdk8s.ApiObjectMetadata podMetadata,
List<? extends ContainerProps> containers,
RestartPolicy restartPolicy,
IServiceAccount serviceAccount,
List<? extends Volume> volumes)
Constructor that initializes the object based on literal property values passed by the
StatefulSetProps.Builder. |
Copyright © 2021. All rights reserved.