#[non_exhaustive]pub struct HorizontalPodAutoscaling {
pub disabled: bool,
/* private fields */
}Expand description
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.disabled: boolWhether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Implementations§
Trait Implementations§
Source§impl Clone for HorizontalPodAutoscaling
impl Clone for HorizontalPodAutoscaling
Source§fn clone(&self) -> HorizontalPodAutoscaling
fn clone(&self) -> HorizontalPodAutoscaling
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 HorizontalPodAutoscaling
impl Debug for HorizontalPodAutoscaling
Source§impl Default for HorizontalPodAutoscaling
impl Default for HorizontalPodAutoscaling
Source§fn default() -> HorizontalPodAutoscaling
fn default() -> HorizontalPodAutoscaling
Returns the “default value” for a type. Read more
Source§impl Message for HorizontalPodAutoscaling
impl Message for HorizontalPodAutoscaling
Source§impl PartialEq for HorizontalPodAutoscaling
impl PartialEq for HorizontalPodAutoscaling
impl StructuralPartialEq for HorizontalPodAutoscaling
Auto Trait Implementations§
impl Freeze for HorizontalPodAutoscaling
impl RefUnwindSafe for HorizontalPodAutoscaling
impl Send for HorizontalPodAutoscaling
impl Sync for HorizontalPodAutoscaling
impl Unpin for HorizontalPodAutoscaling
impl UnwindSafe for HorizontalPodAutoscaling
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