pub struct CsiNodeInfo {
pub supports_expand: bool,
pub supports_condition: bool,
pub id: String,
pub max_volumes: i64,
pub accessible_topology: Option<CsiTopology>,
pub requires_node_stage_volume: bool,
pub supports_stats: bool,
}
Expand description
CSINodeInfo is the fingerprinted data from a CSI Plugin that is specific to the Node API.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§supports_expand: bool
SupportsExpand indicates plugin support for EXPAND_VOLUME
supports_condition: bool
SupportsCondition indicates plugin support for VOLUME_CONDITION
id: String
§max_volumes: i64
§accessible_topology: Option<CsiTopology>
§requires_node_stage_volume: bool
RequiresNodeStageVolume indicates whether the client should Stage/Unstage volumes on this node.
supports_stats: bool
SupportsStats indicates plugin support for GET_VOLUME_STATS
Trait Implementations§
Source§impl Clone for CsiNodeInfo
impl Clone for CsiNodeInfo
Source§fn clone(&self) -> CsiNodeInfo
fn clone(&self) -> CsiNodeInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CsiNodeInfo
impl Debug for CsiNodeInfo
Source§impl Default for CsiNodeInfo
impl Default for CsiNodeInfo
Source§fn default() -> CsiNodeInfo
fn default() -> CsiNodeInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CsiNodeInfo
impl<'de> Deserialize<'de> for CsiNodeInfo
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 CsiNodeInfo
impl PartialEq for CsiNodeInfo
Source§impl Serialize for CsiNodeInfo
impl Serialize for CsiNodeInfo
impl StructuralPartialEq for CsiNodeInfo
Auto Trait Implementations§
impl Freeze for CsiNodeInfo
impl RefUnwindSafe for CsiNodeInfo
impl Send for CsiNodeInfo
impl Sync for CsiNodeInfo
impl Unpin for CsiNodeInfo
impl UnwindSafe for CsiNodeInfo
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