pub struct CsiInfo {
pub update_time: DateTime<Utc>,
pub requires_controller_plugin: bool,
pub controller_info: Option<CsiControllerInfo>,
pub plugin_id: String,
pub alloc_id: String,
pub requires_topologies: bool,
pub node_info: Option<CsiNodeInfo>,
pub healthy: bool,
pub health_description: String,
}
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 client.
Fields§
§update_time: DateTime<Utc>
§requires_controller_plugin: bool
§controller_info: Option<CsiControllerInfo>
§plugin_id: String
§alloc_id: String
§requires_topologies: bool
§node_info: Option<CsiNodeInfo>
§healthy: bool
§health_description: String
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