NodePoolView class

Constructors

NodePoolView({bool? autoScale, int? count, int? maxNodes, int? minNodes, String? name, String? poolId, String? size})
Returns a new NodePoolView instance.

Properties

autoScale ↔ 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.
getter/setter pair
count ↔ int?
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.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
maxNodes ↔ int?
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.
getter/setter pair
minNodes ↔ int?
MinNodes is the floor the autoscaler will not shrink the pool below. Read it only with AutoScale set — the provider ignores it otherwise.
getter/setter pair
name ↔ String?
Name is the pool's name as the provider knows it.
getter/setter pair
poolId ↔ 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.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ↔ 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.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → NodePoolView?
Returns a new NodePoolView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<NodePoolView>
mapFromJson(dynamic json) → Map<String, NodePoolView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<NodePoolView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.