VolumePatch class
Volume represents a named volume in a pod that may be accessed by any container in the pod.
Constructors
-
VolumePatch({Input<
AWSElasticBlockStoreVolumeSourcePatch> ? awsElasticBlockStore, Input<AzureDiskVolumeSourcePatch> ? azureDisk, Input<AzureFileVolumeSourcePatch> ? azureFile, Input<CephFSVolumeSourcePatch> ? cephfs, Input<CinderVolumeSourcePatch> ? cinder, Input<ConfigMapVolumeSourcePatch> ? configMap, Input<CSIVolumeSourcePatch> ? csi, Input<DownwardAPIVolumeSourcePatch> ? downwardAPI, Input<EmptyDirVolumeSourcePatch> ? emptyDir, Input<EphemeralVolumeSourcePatch> ? ephemeral, Input<FCVolumeSourcePatch> ? fc, Input<FlexVolumeSourcePatch> ? flexVolume, Input<FlockerVolumeSourcePatch> ? flocker, Input<GCEPersistentDiskVolumeSourcePatch> ? gcePersistentDisk, Input<GitRepoVolumeSourcePatch> ? gitRepo, Input<GlusterfsVolumeSourcePatch> ? glusterfs, Input<HostPathVolumeSourcePatch> ? hostPath, Input<ImageVolumeSourcePatch> ? image, Input<ISCSIVolumeSourcePatch> ? iscsi, Input<String> ? name, Input<NFSVolumeSourcePatch> ? nfs, Input<PersistentVolumeClaimVolumeSourcePatch> ? persistentVolumeClaim, Input<PhotonPersistentDiskVolumeSourcePatch> ? photonPersistentDisk, Input<PortworxVolumeSourcePatch> ? portworxVolume, Input<ProjectedVolumeSourcePatch> ? projected, Input<QuobyteVolumeSourcePatch> ? quobyte, Input<RBDVolumeSourcePatch> ? rbd, Input<ScaleIOVolumeSourcePatch> ? scaleIO, Input<SecretVolumeSourcePatch> ? secret, Input<StorageOSVolumeSourcePatch> ? storageos, Input<VsphereVirtualDiskVolumeSourcePatch> ? vsphereVolume}) -
Creates a new VolumePatch.
awsElasticBlockStoreawsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstoreazureDiskazureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.azureFileazureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.cephfscephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.cindercinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.mdconfigMapconfigMap represents a configMap that should populate this volumecsicsi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.downwardAPIdownwardAPI represents downward API about the pod that should populate this volumeemptyDiremptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydirephemeralephemeral 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.fcfc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.flexVolumeflexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.flockerflocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.gcePersistentDiskgcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdiskgitRepogitRepo 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.glusterfsglusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.hostPathhostPath 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#hostpathimageimage represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:iscsiiscsi represents an ISCSI 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/#iscsinamename 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/#namesnfsnfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfspersistentVolumeClaimpersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaimsphotonPersistentDiskphotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.portworxVolumeportworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.projectedprojected items for all in one resources secrets, configmaps, and downward APIquobytequobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.rbdrbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.scaleIOscaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.secretsecret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secretstorageosstorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.vsphereVolumevsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.const -
VolumePatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
awsElasticBlockStore
→ Input<
AWSElasticBlockStoreVolumeSourcePatch> ? -
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
final
-
azureDisk
→ Input<
AzureDiskVolumeSourcePatch> ? -
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.
final
-
azureFile
→ Input<
AzureFileVolumeSourcePatch> ? -
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.
final
-
cephfs
→ Input<
CephFSVolumeSourcePatch> ? -
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.
final
-
cinder
→ Input<
CinderVolumeSourcePatch> ? -
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
final
-
configMap
→ Input<
ConfigMapVolumeSourcePatch> ? -
configMap represents a configMap that should populate this volume
final
-
csi
→ Input<
CSIVolumeSourcePatch> ? -
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.
final
-
downwardAPI
→ Input<
DownwardAPIVolumeSourcePatch> ? -
downwardAPI represents downward API about the pod that should populate this volume
final
-
emptyDir
→ Input<
EmptyDirVolumeSourcePatch> ? -
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
final
-
ephemeral
→ Input<
EphemeralVolumeSourcePatch> ? -
ephemeral 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.
final
-
fc
→ Input<
FCVolumeSourcePatch> ? -
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
final
-
flexVolume
→ Input<
FlexVolumeSourcePatch> ? -
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.
final
-
flocker
→ Input<
FlockerVolumeSourcePatch> ? -
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.
final
-
gcePersistentDisk
→ Input<
GCEPersistentDiskVolumeSourcePatch> ? -
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
final
-
gitRepo
→ Input<
GitRepoVolumeSourcePatch> ? -
gitRepo 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.
final
-
glusterfs
→ Input<
GlusterfsVolumeSourcePatch> ? -
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostPath
→ Input<
HostPathVolumeSourcePatch> ? -
hostPath 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
final
-
image
→ Input<
ImageVolumeSourcePatch> ? -
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
final
-
iscsi
→ Input<
ISCSIVolumeSourcePatch> ? -
iscsi represents an ISCSI 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/#iscsi
final
-
name
→ Input<
String> ? -
name 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
final
-
nfs
→ Input<
NFSVolumeSourcePatch> ? -
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
final
-
persistentVolumeClaim
→ Input<
PersistentVolumeClaimVolumeSourcePatch> ? -
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
final
-
photonPersistentDisk
→ Input<
PhotonPersistentDiskVolumeSourcePatch> ? -
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
final
-
portworxVolume
→ Input<
PortworxVolumeSourcePatch> ? -
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver.
final
-
projected
→ Input<
ProjectedVolumeSourcePatch> ? -
projected items for all in one resources secrets, configmaps, and downward API
final
-
quobyte
→ Input<
QuobyteVolumeSourcePatch> ? -
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.
final
-
rbd
→ Input<
RBDVolumeSourcePatch> ? -
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scaleIO
→ Input<
ScaleIOVolumeSourcePatch> ? -
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.
final
-
secret
→ Input<
SecretVolumeSourcePatch> ? -
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
final
-
storageos
→ Input<
StorageOSVolumeSourcePatch> ? -
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.
final
-
vsphereVolume
→ Input<
VsphereVirtualDiskVolumeSourcePatch> ? -
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited