Volume constructor

const Volume({
  1. AWSElasticBlockStoreVolumeSource? awsElasticBlockStore,
  2. AzureDiskVolumeSource? azureDisk,
  3. AzureFileVolumeSource? azureFile,
  4. CephFSVolumeSource? cephfs,
  5. CinderVolumeSource? cinder,
  6. ConfigMapVolumeSource? configMap,
  7. CSIVolumeSource? csi,
  8. DownwardAPIVolumeSource? downwardAPI,
  9. EmptyDirVolumeSource? emptyDir,
  10. EphemeralVolumeSource? ephemeral,
  11. FCVolumeSource? fc,
  12. FlexVolumeSource? flexVolume,
  13. FlockerVolumeSource? flocker,
  14. GCEPersistentDiskVolumeSource? gcePersistentDisk,
  15. GitRepoVolumeSource? gitRepo,
  16. GlusterfsVolumeSource? glusterfs,
  17. HostPathVolumeSource? hostPath,
  18. ISCSIVolumeSource? iscsi,
  19. required String name,
  20. NFSVolumeSource? nfs,
  21. PersistentVolumeClaimVolumeSource? persistentVolumeClaim,
  22. PhotonPersistentDiskVolumeSource? photonPersistentDisk,
  23. PortworxVolumeSource? portworxVolume,
  24. ProjectedVolumeSource? projected,
  25. QuobyteVolumeSource? quobyte,
  26. RBDVolumeSource? rbd,
  27. ScaleIOVolumeSource? scaleIO,
  28. SecretVolumeSource? secret,
  29. StorageOSVolumeSource? storageos,
  30. 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,
});