Struct k8s_openapi::api::storage::v1::VolumeAttachmentStatus
source · [−]pub struct VolumeAttachmentStatus {
pub attach_error: Option<VolumeError>,
pub attached: bool,
pub attachment_metadata: Option<BTreeMap<String, String>>,
pub detach_error: Option<VolumeError>,
}
Expand description
VolumeAttachmentStatus is the status of a VolumeAttachment request.
Fields
attach_error: Option<VolumeError>
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.
attached: bool
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
attachment_metadata: Option<BTreeMap<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. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
detach_error: Option<VolumeError>
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.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VolumeAttachmentStatus
impl Send for VolumeAttachmentStatus
impl Sync for VolumeAttachmentStatus
impl Unpin for VolumeAttachmentStatus
impl UnwindSafe for VolumeAttachmentStatus
Blanket Implementations
Mutably borrows from an owned value. Read more