com.coralogix.zio.k8s.model.storage.v1
VolumeAttachmentStatus
Companion object VolumeAttachmentStatus
case class VolumeAttachmentStatus(attachError: Optional[VolumeError] = Optional.Absent, attached: Boolean, attachmentMetadata: Optional[Map[String, String]] = Optional.Absent, detachError: Optional[VolumeError] = Optional.Absent) extends Product with Serializable
VolumeAttachmentStatus is the status of a VolumeAttachment request.
- attached
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
- attachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
- Alphabetic
- By Inheritance
- VolumeAttachmentStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VolumeAttachmentStatus(attachError: Optional[VolumeError] = Optional.Absent, attached: Boolean, attachmentMetadata: Optional[Map[String, String]] = Optional.Absent, detachError: Optional[VolumeError] = Optional.Absent)
- attached
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
- attachmentMetadata
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
Value Members
- val attachError: Optional[VolumeError]
- val attached: Boolean
- val attachmentMetadata: Optional[Map[String, String]]
- val detachError: Optional[VolumeError]
-
def
getAttachError: IO[K8sFailure, VolumeError]
Gets attachError.
Gets attachError.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAttached: IO[K8sFailure, Boolean]
Indicates the volume is successfully attached.
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
This effect always succeeds, it is safe to use the field attached directly.
-
def
getAttachmentMetadata: IO[K8sFailure, Map[String, String]]
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls.
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getDetachError: IO[K8sFailure, VolumeError]
Gets detachError.
Gets detachError.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.