com.coralogix.zio.k8s.model.core.v1
PersistentVolumeClaimSpec
Companion object PersistentVolumeClaimSpec
case class PersistentVolumeClaimSpec(accessModes: Optional[Vector[String]] = Optional.Absent, dataSource: Optional[TypedLocalObjectReference] = Optional.Absent, dataSourceRef: Optional[TypedLocalObjectReference] = Optional.Absent, resources: Optional[ResourceRequirements] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, volumeName: Optional[String] = Optional.Absent) extends Product with Serializable
PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
- accessModes
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- storageClassName
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
- volumeMode
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volumeName
VolumeName is the binding reference to the PersistentVolume backing this claim.
- Alphabetic
- By Inheritance
- PersistentVolumeClaimSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PersistentVolumeClaimSpec(accessModes: Optional[Vector[String]] = Optional.Absent, dataSource: Optional[TypedLocalObjectReference] = Optional.Absent, dataSourceRef: Optional[TypedLocalObjectReference] = Optional.Absent, resources: Optional[ResourceRequirements] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent, storageClassName: Optional[String] = Optional.Absent, volumeMode: Optional[String] = Optional.Absent, volumeName: Optional[String] = Optional.Absent)
- accessModes
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
- storageClassName
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
- volumeMode
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
- volumeName
VolumeName is the binding reference to the PersistentVolume backing this claim.
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
- val accessModes: Optional[Vector[String]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val dataSource: Optional[TypedLocalObjectReference]
- val dataSourceRef: Optional[TypedLocalObjectReference]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
getAccessModes: IO[K8sFailure, Vector[String]]
AccessModes contains the desired access modes the volume should have.
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
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
getDataSource: IO[K8sFailure, TypedLocalObjectReference]
Gets dataSource.
Gets dataSource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDataSourceRef: IO[K8sFailure, TypedLocalObjectReference]
Gets dataSourceRef.
Gets dataSourceRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getResources: IO[K8sFailure, ResourceRequirements]
Gets resources.
Gets resources.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSelector: IO[K8sFailure, LabelSelector]
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStorageClassName: IO[K8sFailure, String]
Name of the StorageClass required by the claim.
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeMode: IO[K8sFailure, String]
volumeMode defines what type of volume is required by the claim.
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeName: IO[K8sFailure, String]
VolumeName is the binding reference to the PersistentVolume backing this claim.
VolumeName is the binding reference to the PersistentVolume backing this claim.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val resources: Optional[ResourceRequirements]
- val selector: Optional[LabelSelector]
- val storageClassName: Optional[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val volumeMode: Optional[String]
- val volumeName: Optional[String]
-
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