c
com.coralogix.zio.k8s.model.storage.v1
VolumeAttachmentSource
Companion object VolumeAttachmentSource
case class VolumeAttachmentSource(inlineVolumeSpec: Optional[PersistentVolumeSpec] = Optional.Absent, persistentVolumeName: Optional[String] = Optional.Absent) extends Product with Serializable
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
- persistentVolumeName
Name of the persistent volume to attach.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VolumeAttachmentSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
VolumeAttachmentSource(inlineVolumeSpec: Optional[PersistentVolumeSpec] = Optional.Absent, persistentVolumeName: Optional[String] = Optional.Absent)
- persistentVolumeName
Name of the persistent volume to attach.
Value Members
-
def
getInlineVolumeSpec: IO[K8sFailure, PersistentVolumeSpec]
Gets inlineVolumeSpec.
Gets inlineVolumeSpec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getPersistentVolumeName: IO[K8sFailure, String]
Name of the persistent volume to attach.
Name of the persistent volume to attach.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val inlineVolumeSpec: Optional[PersistentVolumeSpec]
- val persistentVolumeName: Optional[String]