final case class Volume(name: String, secret: Option[SecretVolumeSource] = None, scaleIO: Option[ScaleIOVolumeSource] = None, csi: Option[CSIVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFileVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDVolumeSource] = None, configMap: Option[ConfigMapVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, glusterfs: Option[GlusterfsVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, fc: Option[FCVolumeSource] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, persistentVolumeClaim: Option[PersistentVolumeClaimVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, projected: Option[ProjectedVolumeSource] = None, ephemeral: Option[EphemeralVolumeSource] = None, iscsi: Option[ISCSIVolumeSource] = None, cinder: Option[CinderVolumeSource] = None, gitRepo: Option[GitRepoVolumeSource] = None, cephfs: Option[CephFSVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, downwardAPI: Option[DownwardAPIVolumeSource] = None, flexVolume: Option[FlexVolumeSource] = None, emptyDir: Option[EmptyDirVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSVolumeSource] = None) extends Product with Serializable
Volume represents a named volume in a pod that may be accessed by any container in the pod.
- Source
- Volume.scala
- Alphabetic
- By Inheritance
- Volume
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Volume(name: String, secret: Option[SecretVolumeSource] = None, scaleIO: Option[ScaleIOVolumeSource] = None, csi: Option[CSIVolumeSource] = None, azureDisk: Option[AzureDiskVolumeSource] = None, azureFile: Option[AzureFileVolumeSource] = None, hostPath: Option[HostPathVolumeSource] = None, rbd: Option[RBDVolumeSource] = None, configMap: Option[ConfigMapVolumeSource] = None, portworxVolume: Option[PortworxVolumeSource] = None, glusterfs: Option[GlusterfsVolumeSource] = None, flocker: Option[FlockerVolumeSource] = None, fc: Option[FCVolumeSource] = None, photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource] = None, gcePersistentDisk: Option[GCEPersistentDiskVolumeSource] = None, persistentVolumeClaim: Option[PersistentVolumeClaimVolumeSource] = None, vsphereVolume: Option[VsphereVirtualDiskVolumeSource] = None, projected: Option[ProjectedVolumeSource] = None, ephemeral: Option[EphemeralVolumeSource] = None, iscsi: Option[ISCSIVolumeSource] = None, cinder: Option[CinderVolumeSource] = None, gitRepo: Option[GitRepoVolumeSource] = None, cephfs: Option[CephFSVolumeSource] = None, awsElasticBlockStore: Option[AWSElasticBlockStoreVolumeSource] = None, downwardAPI: Option[DownwardAPIVolumeSource] = None, flexVolume: Option[FlexVolumeSource] = None, emptyDir: Option[EmptyDirVolumeSource] = None, nfs: Option[NFSVolumeSource] = None, quobyte: Option[QuobyteVolumeSource] = None, storageos: Option[StorageOSVolumeSource] = None)
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: Option[AWSElasticBlockStoreVolumeSource]
- val azureDisk: Option[AzureDiskVolumeSource]
- val azureFile: Option[AzureFileVolumeSource]
- val cephfs: Option[CephFSVolumeSource]
- val cinder: Option[CinderVolumeSource]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val configMap: Option[ConfigMapVolumeSource]
- val csi: Option[CSIVolumeSource]
- val downwardAPI: Option[DownwardAPIVolumeSource]
- val emptyDir: Option[EmptyDirVolumeSource]
- val ephemeral: Option[EphemeralVolumeSource]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fc: Option[FCVolumeSource]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flexVolume: Option[FlexVolumeSource]
- val flocker: Option[FlockerVolumeSource]
- val gcePersistentDisk: Option[GCEPersistentDiskVolumeSource]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val gitRepo: Option[GitRepoVolumeSource]
- val glusterfs: Option[GlusterfsVolumeSource]
- val hostPath: Option[HostPathVolumeSource]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val iscsi: Option[ISCSIVolumeSource]
- def mapAwsElasticBlockStore(f: (AWSElasticBlockStoreVolumeSource) => AWSElasticBlockStoreVolumeSource): Volume
if awsElasticBlockStore has a value, transforms to the result of function
- def mapAzureDisk(f: (AzureDiskVolumeSource) => AzureDiskVolumeSource): Volume
if azureDisk has a value, transforms to the result of function
- def mapAzureFile(f: (AzureFileVolumeSource) => AzureFileVolumeSource): Volume
if azureFile has a value, transforms to the result of function
- def mapCephfs(f: (CephFSVolumeSource) => CephFSVolumeSource): Volume
if cephfs has a value, transforms to the result of function
- def mapCinder(f: (CinderVolumeSource) => CinderVolumeSource): Volume
if cinder has a value, transforms to the result of function
- def mapConfigMap(f: (ConfigMapVolumeSource) => ConfigMapVolumeSource): Volume
if configMap has a value, transforms to the result of function
- def mapCsi(f: (CSIVolumeSource) => CSIVolumeSource): Volume
if csi has a value, transforms to the result of function
- def mapDownwardAPI(f: (DownwardAPIVolumeSource) => DownwardAPIVolumeSource): Volume
if downwardAPI has a value, transforms to the result of function
- def mapEmptyDir(f: (EmptyDirVolumeSource) => EmptyDirVolumeSource): Volume
if emptyDir has a value, transforms to the result of function
- def mapEphemeral(f: (EphemeralVolumeSource) => EphemeralVolumeSource): Volume
if ephemeral has a value, transforms to the result of function
- def mapFc(f: (FCVolumeSource) => FCVolumeSource): Volume
if fc has a value, transforms to the result of function
- def mapFlexVolume(f: (FlexVolumeSource) => FlexVolumeSource): Volume
if flexVolume has a value, transforms to the result of function
- def mapFlocker(f: (FlockerVolumeSource) => FlockerVolumeSource): Volume
if flocker has a value, transforms to the result of function
- def mapGcePersistentDisk(f: (GCEPersistentDiskVolumeSource) => GCEPersistentDiskVolumeSource): Volume
if gcePersistentDisk has a value, transforms to the result of function
- def mapGitRepo(f: (GitRepoVolumeSource) => GitRepoVolumeSource): Volume
if gitRepo has a value, transforms to the result of function
- def mapGlusterfs(f: (GlusterfsVolumeSource) => GlusterfsVolumeSource): Volume
if glusterfs has a value, transforms to the result of function
- def mapHostPath(f: (HostPathVolumeSource) => HostPathVolumeSource): Volume
if hostPath has a value, transforms to the result of function
- def mapIscsi(f: (ISCSIVolumeSource) => ISCSIVolumeSource): Volume
if iscsi has a value, transforms to the result of function
- def mapName(f: (String) => String): Volume
transforms name to result of function
- def mapNfs(f: (NFSVolumeSource) => NFSVolumeSource): Volume
if nfs has a value, transforms to the result of function
- def mapPersistentVolumeClaim(f: (PersistentVolumeClaimVolumeSource) => PersistentVolumeClaimVolumeSource): Volume
if persistentVolumeClaim has a value, transforms to the result of function
- def mapPhotonPersistentDisk(f: (PhotonPersistentDiskVolumeSource) => PhotonPersistentDiskVolumeSource): Volume
if photonPersistentDisk has a value, transforms to the result of function
- def mapPortworxVolume(f: (PortworxVolumeSource) => PortworxVolumeSource): Volume
if portworxVolume has a value, transforms to the result of function
- def mapProjected(f: (ProjectedVolumeSource) => ProjectedVolumeSource): Volume
if projected has a value, transforms to the result of function
- def mapQuobyte(f: (QuobyteVolumeSource) => QuobyteVolumeSource): Volume
if quobyte has a value, transforms to the result of function
- def mapRbd(f: (RBDVolumeSource) => RBDVolumeSource): Volume
if rbd has a value, transforms to the result of function
- def mapScaleIO(f: (ScaleIOVolumeSource) => ScaleIOVolumeSource): Volume
if scaleIO has a value, transforms to the result of function
- def mapSecret(f: (SecretVolumeSource) => SecretVolumeSource): Volume
if secret has a value, transforms to the result of function
- def mapStorageos(f: (StorageOSVolumeSource) => StorageOSVolumeSource): Volume
if storageos has a value, transforms to the result of function
- def mapVsphereVolume(f: (VsphereVirtualDiskVolumeSource) => VsphereVirtualDiskVolumeSource): Volume
if vsphereVolume has a value, transforms to the result of function
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nfs: Option[NFSVolumeSource]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val persistentVolumeClaim: Option[PersistentVolumeClaimVolumeSource]
- val photonPersistentDisk: Option[PhotonPersistentDiskVolumeSource]
- val portworxVolume: Option[PortworxVolumeSource]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val projected: Option[ProjectedVolumeSource]
- val quobyte: Option[QuobyteVolumeSource]
- val rbd: Option[RBDVolumeSource]
- val scaleIO: Option[ScaleIOVolumeSource]
- val secret: Option[SecretVolumeSource]
- val storageos: Option[StorageOSVolumeSource]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val vsphereVolume: Option[VsphereVirtualDiskVolumeSource]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAwsElasticBlockStore(value: AWSElasticBlockStoreVolumeSource): Volume
Returns a new data with awsElasticBlockStore set to new value
- def withAzureDisk(value: AzureDiskVolumeSource): Volume
Returns a new data with azureDisk set to new value
- def withAzureFile(value: AzureFileVolumeSource): Volume
Returns a new data with azureFile set to new value
- def withCephfs(value: CephFSVolumeSource): Volume
Returns a new data with cephfs set to new value
- def withCinder(value: CinderVolumeSource): Volume
Returns a new data with cinder set to new value
- def withConfigMap(value: ConfigMapVolumeSource): Volume
Returns a new data with configMap set to new value
- def withCsi(value: CSIVolumeSource): Volume
Returns a new data with csi set to new value
- def withDownwardAPI(value: DownwardAPIVolumeSource): Volume
Returns a new data with downwardAPI set to new value
- def withEmptyDir(value: EmptyDirVolumeSource): Volume
Returns a new data with emptyDir set to new value
- def withEphemeral(value: EphemeralVolumeSource): Volume
Returns a new data with ephemeral set to new value
- def withFc(value: FCVolumeSource): Volume
Returns a new data with fc set to new value
- def withFlexVolume(value: FlexVolumeSource): Volume
Returns a new data with flexVolume set to new value
- def withFlocker(value: FlockerVolumeSource): Volume
Returns a new data with flocker set to new value
- def withGcePersistentDisk(value: GCEPersistentDiskVolumeSource): Volume
Returns a new data with gcePersistentDisk set to new value
- def withGitRepo(value: GitRepoVolumeSource): Volume
Returns a new data with gitRepo set to new value
- def withGlusterfs(value: GlusterfsVolumeSource): Volume
Returns a new data with glusterfs set to new value
- def withHostPath(value: HostPathVolumeSource): Volume
Returns a new data with hostPath set to new value
- def withIscsi(value: ISCSIVolumeSource): Volume
Returns a new data with iscsi set to new value
- def withName(value: String): Volume
Returns a new data with name set to new value
- def withNfs(value: NFSVolumeSource): Volume
Returns a new data with nfs set to new value
- def withPersistentVolumeClaim(value: PersistentVolumeClaimVolumeSource): Volume
Returns a new data with persistentVolumeClaim set to new value
- def withPhotonPersistentDisk(value: PhotonPersistentDiskVolumeSource): Volume
Returns a new data with photonPersistentDisk set to new value
- def withPortworxVolume(value: PortworxVolumeSource): Volume
Returns a new data with portworxVolume set to new value
- def withProjected(value: ProjectedVolumeSource): Volume
Returns a new data with projected set to new value
- def withQuobyte(value: QuobyteVolumeSource): Volume
Returns a new data with quobyte set to new value
- def withRbd(value: RBDVolumeSource): Volume
Returns a new data with rbd set to new value
- def withScaleIO(value: ScaleIOVolumeSource): Volume
Returns a new data with scaleIO set to new value
- def withSecret(value: SecretVolumeSource): Volume
Returns a new data with secret set to new value
- def withStorageos(value: StorageOSVolumeSource): Volume
Returns a new data with storageos set to new value
- def withVsphereVolume(value: VsphereVirtualDiskVolumeSource): Volume
Returns a new data with vsphereVolume set to new value