case class Volume(awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource] = Optional.Absent, azureDisk: Optional[AzureDiskVolumeSource] = Optional.Absent, azureFile: Optional[AzureFileVolumeSource] = Optional.Absent, cephfs: Optional[CephFSVolumeSource] = Optional.Absent, cinder: Optional[CinderVolumeSource] = Optional.Absent, configMap: Optional[ConfigMapVolumeSource] = Optional.Absent, csi: Optional[CSIVolumeSource] = Optional.Absent, downwardAPI: Optional[DownwardAPIVolumeSource] = Optional.Absent, emptyDir: Optional[EmptyDirVolumeSource] = Optional.Absent, ephemeral: Optional[EphemeralVolumeSource] = Optional.Absent, fc: Optional[FCVolumeSource] = Optional.Absent, flexVolume: Optional[FlexVolumeSource] = Optional.Absent, flocker: Optional[FlockerVolumeSource] = Optional.Absent, gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource] = Optional.Absent, gitRepo: Optional[GitRepoVolumeSource] = Optional.Absent, glusterfs: Optional[GlusterfsVolumeSource] = Optional.Absent, hostPath: Optional[HostPathVolumeSource] = Optional.Absent, iscsi: Optional[ISCSIVolumeSource] = Optional.Absent, name: String, nfs: Optional[NFSVolumeSource] = Optional.Absent, persistentVolumeClaim: Optional[PersistentVolumeClaimVolumeSource] = Optional.Absent, photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource] = Optional.Absent, portworxVolume: Optional[PortworxVolumeSource] = Optional.Absent, projected: Optional[ProjectedVolumeSource] = Optional.Absent, quobyte: Optional[QuobyteVolumeSource] = Optional.Absent, rbd: Optional[RBDVolumeSource] = Optional.Absent, scaleIO: Optional[ScaleIOVolumeSource] = Optional.Absent, secret: Optional[SecretVolumeSource] = Optional.Absent, storageos: Optional[StorageOSVolumeSource] = Optional.Absent, vsphereVolume: Optional[VsphereVirtualDiskVolumeSource] = Optional.Absent) extends Product with Serializable
Volume represents a named volume in a pod that may be accessed by any container in the pod.
- name
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- Alphabetic
- By Inheritance
- Volume
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Volume(awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource] = Optional.Absent, azureDisk: Optional[AzureDiskVolumeSource] = Optional.Absent, azureFile: Optional[AzureFileVolumeSource] = Optional.Absent, cephfs: Optional[CephFSVolumeSource] = Optional.Absent, cinder: Optional[CinderVolumeSource] = Optional.Absent, configMap: Optional[ConfigMapVolumeSource] = Optional.Absent, csi: Optional[CSIVolumeSource] = Optional.Absent, downwardAPI: Optional[DownwardAPIVolumeSource] = Optional.Absent, emptyDir: Optional[EmptyDirVolumeSource] = Optional.Absent, ephemeral: Optional[EphemeralVolumeSource] = Optional.Absent, fc: Optional[FCVolumeSource] = Optional.Absent, flexVolume: Optional[FlexVolumeSource] = Optional.Absent, flocker: Optional[FlockerVolumeSource] = Optional.Absent, gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource] = Optional.Absent, gitRepo: Optional[GitRepoVolumeSource] = Optional.Absent, glusterfs: Optional[GlusterfsVolumeSource] = Optional.Absent, hostPath: Optional[HostPathVolumeSource] = Optional.Absent, iscsi: Optional[ISCSIVolumeSource] = Optional.Absent, name: String, nfs: Optional[NFSVolumeSource] = Optional.Absent, persistentVolumeClaim: Optional[PersistentVolumeClaimVolumeSource] = Optional.Absent, photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource] = Optional.Absent, portworxVolume: Optional[PortworxVolumeSource] = Optional.Absent, projected: Optional[ProjectedVolumeSource] = Optional.Absent, quobyte: Optional[QuobyteVolumeSource] = Optional.Absent, rbd: Optional[RBDVolumeSource] = Optional.Absent, scaleIO: Optional[ScaleIOVolumeSource] = Optional.Absent, secret: Optional[SecretVolumeSource] = Optional.Absent, storageos: Optional[StorageOSVolumeSource] = Optional.Absent, vsphereVolume: Optional[VsphereVirtualDiskVolumeSource] = Optional.Absent)
- name
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val awsElasticBlockStore: Optional[AWSElasticBlockStoreVolumeSource]
- val azureDisk: Optional[AzureDiskVolumeSource]
- val azureFile: Optional[AzureFileVolumeSource]
- val cephfs: Optional[CephFSVolumeSource]
- val cinder: Optional[CinderVolumeSource]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val configMap: Optional[ConfigMapVolumeSource]
- val csi: Optional[CSIVolumeSource]
- val downwardAPI: Optional[DownwardAPIVolumeSource]
- val emptyDir: Optional[EmptyDirVolumeSource]
- val ephemeral: Optional[EphemeralVolumeSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fc: Optional[FCVolumeSource]
- val flexVolume: Optional[FlexVolumeSource]
- val flocker: Optional[FlockerVolumeSource]
- val gcePersistentDisk: Optional[GCEPersistentDiskVolumeSource]
-
def
getAwsElasticBlockStore: IO[K8sFailure, AWSElasticBlockStoreVolumeSource]
Gets awsElasticBlockStore.
Gets awsElasticBlockStore.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAzureDisk: IO[K8sFailure, AzureDiskVolumeSource]
Gets azureDisk.
Gets azureDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAzureFile: IO[K8sFailure, AzureFileVolumeSource]
Gets azureFile.
Gets azureFile.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCephfs: IO[K8sFailure, CephFSVolumeSource]
Gets cephfs.
Gets cephfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCinder: IO[K8sFailure, CinderVolumeSource]
Gets cinder.
Gets cinder.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getConfigMap: IO[K8sFailure, ConfigMapVolumeSource]
Gets configMap.
Gets configMap.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCsi: IO[K8sFailure, CSIVolumeSource]
Gets csi.
Gets csi.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDownwardAPI: IO[K8sFailure, DownwardAPIVolumeSource]
Gets downwardAPI.
Gets downwardAPI.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getEmptyDir: IO[K8sFailure, EmptyDirVolumeSource]
Gets emptyDir.
Gets emptyDir.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getEphemeral: IO[K8sFailure, EphemeralVolumeSource]
Gets ephemeral.
Gets ephemeral.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFc: IO[K8sFailure, FCVolumeSource]
Gets fc.
Gets fc.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFlexVolume: IO[K8sFailure, FlexVolumeSource]
Gets flexVolume.
Gets flexVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFlocker: IO[K8sFailure, FlockerVolumeSource]
Gets flocker.
Gets flocker.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGcePersistentDisk: IO[K8sFailure, GCEPersistentDiskVolumeSource]
Gets gcePersistentDisk.
Gets gcePersistentDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGitRepo: IO[K8sFailure, GitRepoVolumeSource]
Gets gitRepo.
Gets gitRepo.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getGlusterfs: IO[K8sFailure, GlusterfsVolumeSource]
Gets glusterfs.
Gets glusterfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getHostPath: IO[K8sFailure, HostPathVolumeSource]
Gets hostPath.
Gets hostPath.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getIscsi: IO[K8sFailure, ISCSIVolumeSource]
Gets iscsi.
Gets iscsi.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getName: IO[K8sFailure, String]
Volume's name.
Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
This effect always succeeds, it is safe to use the field name directly.
-
def
getNfs: IO[K8sFailure, NFSVolumeSource]
Gets nfs.
Gets nfs.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPersistentVolumeClaim: IO[K8sFailure, PersistentVolumeClaimVolumeSource]
Gets persistentVolumeClaim.
Gets persistentVolumeClaim.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPhotonPersistentDisk: IO[K8sFailure, PhotonPersistentDiskVolumeSource]
Gets photonPersistentDisk.
Gets photonPersistentDisk.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPortworxVolume: IO[K8sFailure, PortworxVolumeSource]
Gets portworxVolume.
Gets portworxVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getProjected: IO[K8sFailure, ProjectedVolumeSource]
Gets projected.
Gets projected.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getQuobyte: IO[K8sFailure, QuobyteVolumeSource]
Gets quobyte.
Gets quobyte.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRbd: IO[K8sFailure, RBDVolumeSource]
Gets rbd.
Gets rbd.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getScaleIO: IO[K8sFailure, ScaleIOVolumeSource]
Gets scaleIO.
Gets scaleIO.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecret: IO[K8sFailure, SecretVolumeSource]
Gets secret.
Gets secret.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStorageos: IO[K8sFailure, StorageOSVolumeSource]
Gets storageos.
Gets storageos.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVsphereVolume: IO[K8sFailure, VsphereVirtualDiskVolumeSource]
Gets vsphereVolume.
Gets vsphereVolume.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val gitRepo: Optional[GitRepoVolumeSource]
- val glusterfs: Optional[GlusterfsVolumeSource]
- val hostPath: Optional[HostPathVolumeSource]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val iscsi: Optional[ISCSIVolumeSource]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nfs: Optional[NFSVolumeSource]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val persistentVolumeClaim: Optional[PersistentVolumeClaimVolumeSource]
- val photonPersistentDisk: Optional[PhotonPersistentDiskVolumeSource]
- val portworxVolume: Optional[PortworxVolumeSource]
- val projected: Optional[ProjectedVolumeSource]
- val quobyte: Optional[QuobyteVolumeSource]
- val rbd: Optional[RBDVolumeSource]
- val scaleIO: Optional[ScaleIOVolumeSource]
- val secret: Optional[SecretVolumeSource]
- val storageos: Optional[StorageOSVolumeSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val vsphereVolume: Optional[VsphereVirtualDiskVolumeSource]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated