pub struct StorageHealthCondition {
pub access_mode: Option<String>,
pub last_transition_time: Option<Time>,
pub message: Option<String>,
pub reason: String,
pub status: String,
pub volume_mode: Option<String>,
}Expand description
StorageHealthCondition represents an adverse health condition reported by a CSI driver for its storage backend on a node.
Fields§
§access_mode: Option<String>accessMode is the access mode affected. Nil means all access modes are affected.
last_transition_time: Option<Time>lastTransitionTime is when this condition first appeared at its current state.
message: Option<String>message is a human-readable description. Maximum permitted length of a message is 1024 characters.
reason: Stringreason is a brief CamelCase machine-parseable reason. Maximum permitted length of a reason is 256 characters.
status: Stringstatus is the health status category. One of “StorageUnreachable”, “StorageDegraded”.
volume_mode: Option<String>volumeMode is the volume mode affected. Nil means both are affected.
Trait Implementations§
Source§impl Clone for StorageHealthCondition
impl Clone for StorageHealthCondition
Source§impl Debug for StorageHealthCondition
impl Debug for StorageHealthCondition
Source§impl DeepMerge for StorageHealthCondition
impl DeepMerge for StorageHealthCondition
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for StorageHealthCondition
impl Default for StorageHealthCondition
Source§impl<'de> Deserialize<'de> for StorageHealthCondition
impl<'de> Deserialize<'de> for StorageHealthCondition
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StorageHealthCondition
impl PartialEq for StorageHealthCondition
Source§impl Serialize for StorageHealthCondition
impl Serialize for StorageHealthCondition
impl StructuralPartialEq for StorageHealthCondition
Auto Trait Implementations§
impl Freeze for StorageHealthCondition
impl RefUnwindSafe for StorageHealthCondition
impl Send for StorageHealthCondition
impl Sync for StorageHealthCondition
impl Unpin for StorageHealthCondition
impl UnsafeUnpin for StorageHealthCondition
impl UnwindSafe for StorageHealthCondition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more