| Modifier and Type | Method and Description |
|---|---|
static Volume |
Volume.fromConfigMap(IConfigMap configMap)
(experimental) Populate the volume from a ConfigMap.
|
static Volume |
Volume.fromConfigMap(IConfigMap configMap,
ConfigMapVolumeOptions options)
(experimental) Populate the volume from a ConfigMap.
|
static Volume |
Volume.fromEmptyDir(String name)
(experimental) 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)
(experimental) 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()
(experimental) The volume to mount.
|
Volume |
VolumeMount.Jsii$Proxy.getVolume() |
| Modifier and Type | Method and Description |
|---|---|
List<Volume> |
PodProps.Jsii$Proxy.getVolumes() |
List<Volume> |
IPodTemplate.Jsii$Proxy.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
Job.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
PodTemplateProps.Jsii$Proxy.getVolumes() |
List<Volume> |
Deployment.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
PodSpec.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
DeploymentProps.Jsii$Proxy.getVolumes() |
List<Volume> |
JobProps.Jsii$Proxy.getVolumes() |
List<Volume> |
Pod.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
IPodSpec.getVolumes()
(experimental) The volumes associated with this pod.
|
List<Volume> |
IPodSpec.Jsii$Proxy.getVolumes()
(experimental) The volumes associated with this pod.
|
default List<Volume> |
PodSpecProps.getVolumes()
(experimental) List of volumes that can be mounted by containers belonging to the pod.
|
List<Volume> |
PodSpecProps.Jsii$Proxy.getVolumes() |
| Modifier and Type | Method and Description |
|---|---|
void |
IPodTemplate.Jsii$Proxy.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
Job.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
Deployment.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
PodSpec.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
Pod.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
IPodSpec.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
IPodSpec.Jsii$Proxy.addVolume(Volume volume)
(experimental) Add a volume to the pod.
|
void |
Container.mount(String path,
Volume volume)
(experimental) Mount a volume to a specific path so that it is accessible by the container.
|
void |
Container.mount(String path,
Volume volume,
MountOptions options)
(experimental) 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 |
|---|---|
PodProps.Builder |
PodProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
Job.Builder |
Job.Builder.volumes(List<? extends Volume> volumes)
(experimental) List of volumes that can be mounted by containers belonging to the pod.
|
PodTemplateProps.Builder |
PodTemplateProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
Deployment.Builder |
Deployment.Builder.volumes(List<? extends Volume> volumes)
(experimental) List of volumes that can be mounted by containers belonging to the pod.
|
PodSpec.Builder |
PodSpec.Builder.volumes(List<? extends Volume> volumes)
(experimental) List of volumes that can be mounted by containers belonging to the pod.
|
DeploymentProps.Builder |
DeploymentProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
JobProps.Builder |
JobProps.Builder.volumes(List<? extends Volume> volumes)
Sets the value of
PodSpecProps.getVolumes() |
Pod.Builder |
Pod.Builder.volumes(List<? extends Volume> volumes)
(experimental) List of volumes that can be mounted by containers belonging to the pod.
|
PodTemplate.Builder |
PodTemplate.Builder.volumes(List<? extends Volume> volumes)
(experimental) 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() |
Copyright © 2020. All rights reserved.