Struct k8s_openapi::api::autoscaling::v2beta2::HPAScalingPolicy
source · [−]Expand description
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
Fields
period_seconds: i32
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
type_: String
Type is used to specify the scaling policy.
value: i32
Value contains the amount of change which is permitted by the policy. It must be greater than zero
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HPAScalingPolicy
impl Send for HPAScalingPolicy
impl Sync for HPAScalingPolicy
impl Unpin for HPAScalingPolicy
impl UnwindSafe for HPAScalingPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more