mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: update replaced k8s.io modules to v0.33.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
dd77e72800
commit
107407b44b
10
e2e/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go
generated
vendored
10
e2e/vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go
generated
vendored
@ -20,6 +20,7 @@ package v2
|
||||
|
||||
import (
|
||||
autoscalingv2 "k8s.io/api/autoscaling/v2"
|
||||
resource "k8s.io/apimachinery/pkg/api/resource"
|
||||
)
|
||||
|
||||
// HPAScalingRulesApplyConfiguration represents a declarative configuration of the HPAScalingRules type for use
|
||||
@ -28,6 +29,7 @@ type HPAScalingRulesApplyConfiguration struct {
|
||||
StabilizationWindowSeconds *int32 `json:"stabilizationWindowSeconds,omitempty"`
|
||||
SelectPolicy *autoscalingv2.ScalingPolicySelect `json:"selectPolicy,omitempty"`
|
||||
Policies []HPAScalingPolicyApplyConfiguration `json:"policies,omitempty"`
|
||||
Tolerance *resource.Quantity `json:"tolerance,omitempty"`
|
||||
}
|
||||
|
||||
// HPAScalingRulesApplyConfiguration constructs a declarative configuration of the HPAScalingRules type for use with
|
||||
@ -64,3 +66,11 @@ func (b *HPAScalingRulesApplyConfiguration) WithPolicies(values ...*HPAScalingPo
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// WithTolerance sets the Tolerance field in the declarative configuration to the given value
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Tolerance field is set to the value of the last call.
|
||||
func (b *HPAScalingRulesApplyConfiguration) WithTolerance(value resource.Quantity) *HPAScalingRulesApplyConfiguration {
|
||||
b.Tolerance = &value
|
||||
return b
|
||||
}
|
||||
|
Reference in New Issue
Block a user