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>
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.
attached: bool
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.
attachment_metadata: Option<BTreeMap<String, String>>
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.
detach_error: Option<VolumeError>
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.
Trait Implementations§
source§impl Clone for VolumeAttachmentStatus
impl Clone for VolumeAttachmentStatus
source§fn clone(&self) -> VolumeAttachmentStatus
fn clone(&self) -> VolumeAttachmentStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeAttachmentStatus
impl Debug for VolumeAttachmentStatus
source§impl DeepMerge for VolumeAttachmentStatus
impl DeepMerge for VolumeAttachmentStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for VolumeAttachmentStatus
impl Default for VolumeAttachmentStatus
source§fn default() -> VolumeAttachmentStatus
fn default() -> VolumeAttachmentStatus
source§impl<'de> Deserialize<'de> for VolumeAttachmentStatus
impl<'de> Deserialize<'de> for VolumeAttachmentStatus
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl PartialEq for VolumeAttachmentStatus
impl PartialEq for VolumeAttachmentStatus
source§fn eq(&self, other: &VolumeAttachmentStatus) -> bool
fn eq(&self, other: &VolumeAttachmentStatus) -> bool
self
and other
values to be equal, and is used
by ==
.