PersistentVolumeSpec constructor
const
PersistentVolumeSpec({
- List<
String> ? accessModes, - AWSElasticBlockStoreVolumeSource? awsElasticBlockStore,
- AzureDiskVolumeSource? azureDisk,
- AzureFilePersistentVolumeSource? azureFile,
- Map<
String, String> ? capacity, - CephFSPersistentVolumeSource? cephfs,
- CinderPersistentVolumeSource? cinder,
- ObjectReference? claimRef,
- CSIPersistentVolumeSource? csi,
- FCVolumeSource? fc,
- FlexPersistentVolumeSource? flexVolume,
- FlockerVolumeSource? flocker,
- GCEPersistentDiskVolumeSource? gcePersistentDisk,
- GlusterfsPersistentVolumeSource? glusterfs,
- HostPathVolumeSource? hostPath,
- ISCSIPersistentVolumeSource? iscsi,
- LocalVolumeSource? local,
- List<
String> ? mountOptions, - NFSVolumeSource? nfs,
- VolumeNodeAffinity? nodeAffinity,
- String? persistentVolumeReclaimPolicy,
- PhotonPersistentDiskVolumeSource? photonPersistentDisk,
- PortworxVolumeSource? portworxVolume,
- QuobyteVolumeSource? quobyte,
- RBDPersistentVolumeSource? rbd,
- ScaleIOPersistentVolumeSource? scaleIO,
- String? storageClassName,
- StorageOSPersistentVolumeSource? storageos,
- String? volumeMode,
- VsphereVirtualDiskVolumeSource? vsphereVolume,
Default constructor.
Implementation
const PersistentVolumeSpec({
this.accessModes,
this.awsElasticBlockStore,
this.azureDisk,
this.azureFile,
this.capacity,
this.cephfs,
this.cinder,
this.claimRef,
this.csi,
this.fc,
this.flexVolume,
this.flocker,
this.gcePersistentDisk,
this.glusterfs,
this.hostPath,
this.iscsi,
this.local,
this.mountOptions,
this.nfs,
this.nodeAffinity,
this.persistentVolumeReclaimPolicy,
this.photonPersistentDisk,
this.portworxVolume,
this.quobyte,
this.rbd,
this.scaleIO,
this.storageClassName,
this.storageos,
this.volumeMode,
this.vsphereVolume,
});