pub struct CSIInfo {
pub health_description: String,
pub update_time: DateTime<Utc>,
pub requires_topologies: bool,
pub controller_info: Option<CSIControllerInfo>,
pub node_info: Option<CSINodeInfo>,
pub plugin_id: String,
pub alloc_id: String,
pub healthy: bool,
pub requires_controller_plugin: bool,
}
Expand description
CSIInfo is the current state of a single CSI Plugin. This is updated regularly as plugin health changes on the node.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§health_description: String
§update_time: DateTime<Utc>
§requires_topologies: bool
§controller_info: Option<CSIControllerInfo>
§node_info: Option<CSINodeInfo>
§plugin_id: String
§alloc_id: String
§healthy: bool
§requires_controller_plugin: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CSIInfo
impl<'de> Deserialize<'de> for CSIInfo
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
impl StructuralPartialEq for CSIInfo
Auto Trait Implementations§
impl Freeze for CSIInfo
impl RefUnwindSafe for CSIInfo
impl Send for CSIInfo
impl Sync for CSIInfo
impl Unpin for CSIInfo
impl UnwindSafe for CSIInfo
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