Struct gapi_grpc::google::container::v1beta1::ClusterAutoscaling [−][src]
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.
Fields
enable_node_autoprovisioning: bool
Enables automatic node pool creation and deletion.
resource_limits: Vec<ResourceLimit>
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
autoscaling_profile: i32
Defines autoscaling behaviour.
autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
autoprovisioning_locations: Vec<String>
The list of Google Compute Engine zones in which the NodePool’s nodes can be created by NAP.
Implementations
impl ClusterAutoscaling
[src][−]
pub fn autoscaling_profile(&self) -> AutoscalingProfile
[src][−]
Returns the enum value of autoscaling_profile
, or the default if the field is set to an invalid enum value.
pub fn set_autoscaling_profile(&mut self, value: AutoscalingProfile)
[src][−]
Sets autoscaling_profile
to the provided enum value.
Trait Implementations
impl Clone for ClusterAutoscaling
[src][+]
impl Debug for ClusterAutoscaling
[src][+]
impl Default for ClusterAutoscaling
[src][+]
impl Message for ClusterAutoscaling
[src][+]
impl PartialEq<ClusterAutoscaling> for ClusterAutoscaling
[src][+]
impl StructuralPartialEq for ClusterAutoscaling
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClusterAutoscaling
impl Send for ClusterAutoscaling
impl Sync for ClusterAutoscaling
impl Unpin for ClusterAutoscaling
impl UnwindSafe for ClusterAutoscaling
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,