Skip to content

storage.v1.volumeAttachmentStatus

"VolumeAttachmentStatus is the status of a VolumeAttachment request."

Index

Fields

fn withAttached

withAttached(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."

fn withAttachmentMetadata

withAttachmentMetadata(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."

fn withAttachmentMetadataMixin

withAttachmentMetadataMixin(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."

Note: This function appends passed data to existing values

obj attachError

"VolumeError captures an error encountered during a volume operation."

fn attachError.withMessage

withMessage(message)

"String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."

fn attachError.withTime

withTime(time)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

obj detachError

"VolumeError captures an error encountered during a volume operation."

fn detachError.withMessage

withMessage(message)

"String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information."

fn detachError.withTime

withTime(time)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."