mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update K8s packages to v0.32.1
Update K8s packages in go.mod to v0.32.1 Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
10
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go
generated
vendored
@ -19,15 +19,15 @@ limitations under the License.
|
||||
package v2
|
||||
|
||||
import (
|
||||
v2 "k8s.io/api/autoscaling/v2"
|
||||
autoscalingv2 "k8s.io/api/autoscaling/v2"
|
||||
)
|
||||
|
||||
// HPAScalingPolicyApplyConfiguration represents a declarative configuration of the HPAScalingPolicy type for use
|
||||
// with apply.
|
||||
type HPAScalingPolicyApplyConfiguration struct {
|
||||
Type *v2.HPAScalingPolicyType `json:"type,omitempty"`
|
||||
Value *int32 `json:"value,omitempty"`
|
||||
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
|
||||
Type *autoscalingv2.HPAScalingPolicyType `json:"type,omitempty"`
|
||||
Value *int32 `json:"value,omitempty"`
|
||||
PeriodSeconds *int32 `json:"periodSeconds,omitempty"`
|
||||
}
|
||||
|
||||
// HPAScalingPolicyApplyConfiguration constructs a declarative configuration of the HPAScalingPolicy type for use with
|
||||
@ -39,7 +39,7 @@ func HPAScalingPolicy() *HPAScalingPolicyApplyConfiguration {
|
||||
// WithType sets the Type 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 Type field is set to the value of the last call.
|
||||
func (b *HPAScalingPolicyApplyConfiguration) WithType(value v2.HPAScalingPolicyType) *HPAScalingPolicyApplyConfiguration {
|
||||
func (b *HPAScalingPolicyApplyConfiguration) WithType(value autoscalingv2.HPAScalingPolicyType) *HPAScalingPolicyApplyConfiguration {
|
||||
b.Type = &value
|
||||
return b
|
||||
}
|
||||
|
Reference in New Issue
Block a user