pub struct ClusterAutoscaling {
pub autoprovisioning_locations: Option<Vec<String>>,
pub autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>,
pub autoscaling_profile: Option<String>,
pub enable_node_autoprovisioning: Option<bool>,
pub resource_limits: Option<Vec<ResourceLimit>>,
}
Expand description
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§autoprovisioning_locations: Option<Vec<String>>
The list of Google Compute Engine zones in which the NodePool’s nodes can be created by NAP.
autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
autoscaling_profile: Option<String>
Defines autoscaling behaviour.
enable_node_autoprovisioning: Option<bool>
Enables automatic node pool creation and deletion.
resource_limits: Option<Vec<ResourceLimit>>
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
Trait Implementations§
Source§impl Clone for ClusterAutoscaling
impl Clone for ClusterAutoscaling
Source§fn clone(&self) -> ClusterAutoscaling
fn clone(&self) -> ClusterAutoscaling
Returns a duplicate 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 ClusterAutoscaling
impl Debug for ClusterAutoscaling
Source§impl Default for ClusterAutoscaling
impl Default for ClusterAutoscaling
Source§fn default() -> ClusterAutoscaling
fn default() -> ClusterAutoscaling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterAutoscaling
impl<'de> Deserialize<'de> for ClusterAutoscaling
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 Serialize for ClusterAutoscaling
impl Serialize for ClusterAutoscaling
impl Part for ClusterAutoscaling
Auto Trait Implementations§
impl Freeze for ClusterAutoscaling
impl RefUnwindSafe for ClusterAutoscaling
impl Send for ClusterAutoscaling
impl Sync for ClusterAutoscaling
impl Unpin for ClusterAutoscaling
impl UnwindSafe for ClusterAutoscaling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more