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§
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<VolumeAttachmentStatus> for VolumeAttachmentStatus
impl PartialEq<VolumeAttachmentStatus> 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 ==
.