VolumeAttachmentStatus

data class VolumeAttachmentStatus(val attachError: VolumeError? = null, val attached: Boolean, val attachmentMetadata: Map<String, String>? = null, val detachError: VolumeError? = null)

VolumeAttachmentStatus is the status of a VolumeAttachment request.

Constructors

Link copied to clipboard
constructor(attachError: VolumeError? = null, attached: Boolean, attachmentMetadata: Map<String, String>? = null, detachError: VolumeError? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.

Link copied to clipboard

attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, 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.

Link copied to clipboard

detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.