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: boolattached 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 JsonSchema for VolumeAttachmentStatus
Available on crate feature schemars only.
impl JsonSchema for VolumeAttachmentStatus
schemars only.Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more