pub struct NodePoolView {
pub auto_scale: Option<bool>,
pub count: Option<i32>,
pub max_nodes: Option<i32>,
pub min_nodes: Option<i32>,
pub name: Option<String>,
pub pool_id: Option<String>,
pub size: Option<String>,
}Fields§
§auto_scale: Option<bool>AutoScale reports whether the provider’s cluster autoscaler owns this pool’s size, moving Count between MinNodes and MaxNodes as workloads demand. False means Count changes only when someone scales the pool.
count: Option<i32>Count is how many nodes the pool has right now. Always present, so 0 means a pool that is genuinely empty rather than a figure the provider withheld.
max_nodes: Option<i32>MaxNodes is the ceiling the autoscaler will not grow the pool past, and so the bound on what this pool can cost. Read it only with AutoScale set.
min_nodes: Option<i32>MinNodes is the floor the autoscaler will not shrink the pool below. Read it only with AutoScale set — the provider ignores it otherwise.
name: Option<String>Name is the pool’s name as the provider knows it.
pool_id: Option<String>PoolID is the provider’s id for the pool — the value the scale and delete routes address it by. It falls back to the pool’s name when the provider answered without one, so it is always something the routes accept.
size: Option<String>Size is the provider size slug every node in the pool runs at ("s-4vcpu-8gb", "gpu-h100x8-640gb"). One pool is one size — a mixed cluster is several pools.
Implementations§
Source§impl NodePoolView
impl NodePoolView
pub fn new() -> NodePoolView
Trait Implementations§
Source§impl Clone for NodePoolView
impl Clone for NodePoolView
Source§fn clone(&self) -> NodePoolView
fn clone(&self) -> NodePoolView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more