Volume constructor
const
Volume({
- AWSElasticBlockStoreVolumeSource? awsElasticBlockStore,
- AzureDiskVolumeSource? azureDisk,
- AzureFileVolumeSource? azureFile,
- CephFSVolumeSource? cephfs,
- CinderVolumeSource? cinder,
- ConfigMapVolumeSource? configMap,
- CSIVolumeSource? csi,
- DownwardAPIVolumeSource? downwardAPI,
- EmptyDirVolumeSource? emptyDir,
- EphemeralVolumeSource? ephemeral,
- FCVolumeSource? fc,
- FlexVolumeSource? flexVolume,
- FlockerVolumeSource? flocker,
- GCEPersistentDiskVolumeSource? gcePersistentDisk,
- GitRepoVolumeSource? gitRepo,
- GlusterfsVolumeSource? glusterfs,
- HostPathVolumeSource? hostPath,
- ISCSIVolumeSource? iscsi,
- required String name,
- NFSVolumeSource? nfs,
- PersistentVolumeClaimVolumeSource? persistentVolumeClaim,
- PhotonPersistentDiskVolumeSource? photonPersistentDisk,
- PortworxVolumeSource? portworxVolume,
- ProjectedVolumeSource? projected,
- QuobyteVolumeSource? quobyte,
- RBDVolumeSource? rbd,
- ScaleIOVolumeSource? scaleIO,
- SecretVolumeSource? secret,
- StorageOSVolumeSource? storageos,
- VsphereVirtualDiskVolumeSource? vsphereVolume,
Default constructor.
Implementation
const Volume({
this.awsElasticBlockStore,
this.azureDisk,
this.azureFile,
this.cephfs,
this.cinder,
this.configMap,
this.csi,
this.downwardAPI,
this.emptyDir,
this.ephemeral,
this.fc,
this.flexVolume,
this.flocker,
this.gcePersistentDisk,
this.gitRepo,
this.glusterfs,
this.hostPath,
this.iscsi,
required this.name,
this.nfs,
this.persistentVolumeClaim,
this.photonPersistentDisk,
this.portworxVolume,
this.projected,
this.quobyte,
this.rbd,
this.scaleIO,
this.secret,
this.storageos,
this.vsphereVolume,
});