c
com.coralogix.zio.k8s.model.core.v1
PersistentVolumeClaimTemplate
Companion object PersistentVolumeClaimTemplate
case class PersistentVolumeClaimTemplate(metadata: Optional[ObjectMeta] = Optional.Absent, spec: PersistentVolumeClaimSpec) extends Product with Serializable
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PersistentVolumeClaimTemplate
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PersistentVolumeClaimTemplate(metadata: Optional[ObjectMeta] = Optional.Absent, spec: PersistentVolumeClaimSpec)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, PersistentVolumeClaimSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
- val metadata: Optional[ObjectMeta]
- val spec: PersistentVolumeClaimSpec