Struct gapi_grpc::google::container::v1beta1::ClusterAutoscaling[][src]

pub struct ClusterAutoscaling {
    pub enable_node_autoprovisioning: bool,
    pub resource_limits: Vec<ResourceLimit>,
    pub autoscaling_profile: i32,
    pub autoprovisioning_node_pool_defaults: Option<AutoprovisioningNodePoolDefaults>,
    pub autoprovisioning_locations: Vec<String>,
}

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]