pub struct Node {Show 29 fields
pub attributes: Option<HashMap<String, String>>,
pub csi_controller_plugins: Option<HashMap<String, CsiInfo>>,
pub csi_node_plugins: Option<HashMap<String, CsiInfo>>,
pub cgroup_parent: Option<String>,
pub create_index: Option<i32>,
pub datacenter: Option<String>,
pub drain: Option<bool>,
pub drain_strategy: Option<DrainStrategy>,
pub drivers: Option<HashMap<String, DriverInfo>>,
pub events: Option<Vec<NodeEvent>>,
pub http_addr: Option<String>,
pub host_networks: Option<HashMap<String, HostNetworkInfo>>,
pub host_volumes: Option<HashMap<String, HostVolumeInfo>>,
pub id: Option<String>,
pub last_drain: Option<DrainMetadata>,
pub links: Option<HashMap<String, String>>,
pub meta: Option<HashMap<String, String>>,
pub modify_index: Option<i32>,
pub name: Option<String>,
pub node_class: Option<String>,
pub node_resources: Option<NodeResources>,
pub reserved: Option<Resources>,
pub reserved_resources: Option<NodeReservedResources>,
pub resources: Option<Resources>,
pub scheduling_eligibility: Option<String>,
pub status: Option<String>,
pub status_description: Option<String>,
pub status_updated_at: Option<i64>,
pub tls_enabled: Option<bool>,
}Fields§
§attributes: Option<HashMap<String, String>>§csi_controller_plugins: Option<HashMap<String, CsiInfo>>§csi_node_plugins: Option<HashMap<String, CsiInfo>>§cgroup_parent: Option<String>§create_index: Option<i32>§datacenter: Option<String>§drain: Option<bool>§drain_strategy: Option<DrainStrategy>§drivers: Option<HashMap<String, DriverInfo>>§events: Option<Vec<NodeEvent>>§http_addr: Option<String>§host_networks: Option<HashMap<String, HostNetworkInfo>>§host_volumes: Option<HashMap<String, HostVolumeInfo>>§id: Option<String>§last_drain: Option<DrainMetadata>§links: Option<HashMap<String, String>>§meta: Option<HashMap<String, String>>§modify_index: Option<i32>§name: Option<String>§node_class: Option<String>§node_resources: Option<NodeResources>§reserved: Option<Resources>§reserved_resources: Option<NodeReservedResources>§resources: Option<Resources>§scheduling_eligibility: Option<String>§status: Option<String>§status_description: Option<String>§status_updated_at: Option<i64>§tls_enabled: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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 Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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