Class Volume.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.Volume.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.Volume
Volume.Builder, Volume.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Volume.Builder builder)Constructor that initializes the object based on literal property values passed by theVolume.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)AwsElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.AzureFileVolumeSourcegetAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.CephFsVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.CinderVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.ConfigMapVolumeSourcegetConfigMap()configMap represents a configMap that should populate this volume.CsiVolumeSourcegetCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).DownwardApiVolumeSourcegetDownwardApi()downwardAPI represents downward API about the pod that should populate this volume.EmptyDirVolumeSourcegetEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.EphemeralVolumeSourcegetEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.FcVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.FlexVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.GcePersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.GitRepoVolumeSourcegetGitRepo()gitRepo represents a git repository at a particular revision.GlusterfsVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.HostPathVolumeSourcegetHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.IscsiVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.StringgetName()name of the volume.NfsVolumeSourcegetNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.PersistentVolumeClaimVolumeSourcegetPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.ProjectedVolumeSourcegetProjected()projected items for all in one resources secrets, configmaps, and downward API.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.RbdVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.ScaleIoVolumeSourcegetScaleIo()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.SecretVolumeSourcegetSecret()secret represents a secret that should populate this volume.StorageOsVolumeSourcegetStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(Volume.Builder builder)
Constructor that initializes the object based on literal property values passed by theVolume.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:Volumename of the volume.Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
-
getAwsElasticBlockStore
public final AwsElasticBlockStoreVolumeSource getAwsElasticBlockStore()
Description copied from interface:VolumeawsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
- Specified by:
getAwsElasticBlockStorein interfaceVolume
-
getAzureDisk
public final AzureDiskVolumeSource getAzureDisk()
Description copied from interface:VolumeazureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.- Specified by:
getAzureDiskin interfaceVolume
-
getAzureFile
public final AzureFileVolumeSource getAzureFile()
Description copied from interface:VolumeazureFile represents an Azure File Service mount on the host and bind mount to the pod.- Specified by:
getAzureFilein interfaceVolume
-
getCephfs
public final CephFsVolumeSource getCephfs()
Description copied from interface:VolumecephFS represents a Ceph FS mount on the host that shares a pod's lifetime.
-
getCinder
public final CinderVolumeSource getCinder()
Description copied from interface:Volumecinder represents a cinder volume attached and mounted on kubelets host machine.More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
getConfigMap
public final ConfigMapVolumeSource getConfigMap()
Description copied from interface:VolumeconfigMap represents a configMap that should populate this volume.- Specified by:
getConfigMapin interfaceVolume
-
getCsi
public final CsiVolumeSource getCsi()
Description copied from interface:Volumecsi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
-
getDownwardApi
public final DownwardApiVolumeSource getDownwardApi()
Description copied from interface:VolumedownwardAPI represents downward API about the pod that should populate this volume.- Specified by:
getDownwardApiin interfaceVolume
-
getEmptyDir
public final EmptyDirVolumeSource getEmptyDir()
Description copied from interface:VolumeemptyDir represents a temporary directory that shares a pod's lifetime.More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
- Specified by:
getEmptyDirin interfaceVolume
-
getEphemeral
public final EphemeralVolumeSource getEphemeral()
Description copied from interface:Volumeephemeral represents a volume that is handled by a cluster storage driver.The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.
Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim).
Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.
Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.
A pod can use both types of ephemeral volumes and persistent volumes at the same time.
- Specified by:
getEphemeralin interfaceVolume
-
getFc
public final FcVolumeSource getFc()
Description copied from interface:Volumefc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
-
getFlexVolume
public final FlexVolumeSource getFlexVolume()
Description copied from interface:VolumeflexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.- Specified by:
getFlexVolumein interfaceVolume
-
getFlocker
public final FlockerVolumeSource getFlocker()
Description copied from interface:Volumeflocker represents a Flocker volume attached to a kubelet's host machine.This depends on the Flocker control service being running
- Specified by:
getFlockerin interfaceVolume
-
getGcePersistentDisk
public final GcePersistentDiskVolumeSource getGcePersistentDisk()
Description copied from interface:VolumegcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
- Specified by:
getGcePersistentDiskin interfaceVolume
-
getGitRepo
public final GitRepoVolumeSource getGitRepo()
Description copied from interface:VolumegitRepo represents a git repository at a particular revision.DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
- Specified by:
getGitRepoin interfaceVolume
-
getGlusterfs
public final GlusterfsVolumeSource getGlusterfs()
Description copied from interface:Volumeglusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.More info: https://examples.k8s.io/volumes/glusterfs/README.md
- Specified by:
getGlusterfsin interfaceVolume
-
getHostPath
public final HostPathVolumeSource getHostPath()
Description copied from interface:VolumehostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
- Specified by:
getHostPathin interfaceVolume
-
getIscsi
public final IscsiVolumeSource getIscsi()
Description copied from interface:Volumeiscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.More info: https://examples.k8s.io/volumes/iscsi/README.md
-
getNfs
public final NfsVolumeSource getNfs()
Description copied from interface:Volumenfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.
-
getPersistentVolumeClaim
public final PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
Description copied from interface:VolumepersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
- Specified by:
getPersistentVolumeClaimin interfaceVolume
-
getPhotonPersistentDisk
public final PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
Description copied from interface:VolumephotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.- Specified by:
getPhotonPersistentDiskin interfaceVolume
-
getPortworxVolume
public final PortworxVolumeSource getPortworxVolume()
Description copied from interface:VolumeportworxVolume represents a portworx volume attached and mounted on kubelets host machine.- Specified by:
getPortworxVolumein interfaceVolume
-
getProjected
public final ProjectedVolumeSource getProjected()
Description copied from interface:Volumeprojected items for all in one resources secrets, configmaps, and downward API.- Specified by:
getProjectedin interfaceVolume
-
getQuobyte
public final QuobyteVolumeSource getQuobyte()
Description copied from interface:Volumequobyte represents a Quobyte mount on the host that shares a pod's lifetime.- Specified by:
getQuobytein interfaceVolume
-
getRbd
public final RbdVolumeSource getRbd()
Description copied from interface:Volumerbd represents a Rados Block Device mount on the host that shares a pod's lifetime.More info: https://examples.k8s.io/volumes/rbd/README.md
-
getScaleIo
public final ScaleIoVolumeSource getScaleIo()
Description copied from interface:VolumescaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.- Specified by:
getScaleIoin interfaceVolume
-
getSecret
public final SecretVolumeSource getSecret()
Description copied from interface:Volumesecret represents a secret that should populate this volume.More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
-
getStorageos
public final StorageOsVolumeSource getStorageos()
Description copied from interface:VolumestorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.- Specified by:
getStorageosin interfaceVolume
-
getVsphereVolume
public final VsphereVirtualDiskVolumeSource getVsphereVolume()
Description copied from interface:VolumevsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.- Specified by:
getVsphereVolumein interfaceVolume
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-