case class VolumeAttachment(metadata: Optional[ObjectMeta] = Optional.Absent, spec: VolumeAttachmentSpec, status: Optional[VolumeAttachmentStatus] = Optional.Absent) extends Product with Serializable
VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.
VolumeAttachment objects are non-namespaced.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VolumeAttachment
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new VolumeAttachment(metadata: Optional[ObjectMeta] = Optional.Absent, spec: VolumeAttachmentSpec, status: Optional[VolumeAttachmentStatus] = Optional.Absent)
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, VolumeAttachmentSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
-
def
getStatus: IO[K8sFailure, VolumeAttachmentStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: VolumeAttachmentSpec
- val status: Optional[VolumeAttachmentStatus]