mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update kubernetes to latest
updating the kubernetes release to the latest in main go.mod Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
63c4c05b35
commit
5a66991bb3
@ -23,7 +23,7 @@ import (
|
||||
resource "k8s.io/apimachinery/pkg/api/resource"
|
||||
)
|
||||
|
||||
// ContainerResourceMetricSourceApplyConfiguration represents an declarative configuration of the ContainerResourceMetricSource type for use
|
||||
// ContainerResourceMetricSourceApplyConfiguration represents a declarative configuration of the ContainerResourceMetricSource type for use
|
||||
// with apply.
|
||||
type ContainerResourceMetricSourceApplyConfiguration struct {
|
||||
Name *v1.ResourceName `json:"name,omitempty"`
|
||||
@ -32,7 +32,7 @@ type ContainerResourceMetricSourceApplyConfiguration struct {
|
||||
Container *string `json:"container,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerResourceMetricSourceApplyConfiguration constructs an declarative configuration of the ContainerResourceMetricSource type for use with
|
||||
// ContainerResourceMetricSourceApplyConfiguration constructs a declarative configuration of the ContainerResourceMetricSource type for use with
|
||||
// apply.
|
||||
func ContainerResourceMetricSource() *ContainerResourceMetricSourceApplyConfiguration {
|
||||
return &ContainerResourceMetricSourceApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
resource "k8s.io/apimachinery/pkg/api/resource"
|
||||
)
|
||||
|
||||
// ContainerResourceMetricStatusApplyConfiguration represents an declarative configuration of the ContainerResourceMetricStatus type for use
|
||||
// ContainerResourceMetricStatusApplyConfiguration represents a declarative configuration of the ContainerResourceMetricStatus type for use
|
||||
// with apply.
|
||||
type ContainerResourceMetricStatusApplyConfiguration struct {
|
||||
Name *v1.ResourceName `json:"name,omitempty"`
|
||||
@ -32,7 +32,7 @@ type ContainerResourceMetricStatusApplyConfiguration struct {
|
||||
Container *string `json:"container,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerResourceMetricStatusApplyConfiguration constructs an declarative configuration of the ContainerResourceMetricStatus type for use with
|
||||
// ContainerResourceMetricStatusApplyConfiguration constructs a declarative configuration of the ContainerResourceMetricStatus type for use with
|
||||
// apply.
|
||||
func ContainerResourceMetricStatus() *ContainerResourceMetricStatusApplyConfiguration {
|
||||
return &ContainerResourceMetricStatusApplyConfiguration{}
|
||||
|
@ -18,7 +18,7 @@ limitations under the License.
|
||||
|
||||
package v2beta1
|
||||
|
||||
// CrossVersionObjectReferenceApplyConfiguration represents an declarative configuration of the CrossVersionObjectReference type for use
|
||||
// CrossVersionObjectReferenceApplyConfiguration represents a declarative configuration of the CrossVersionObjectReference type for use
|
||||
// with apply.
|
||||
type CrossVersionObjectReferenceApplyConfiguration struct {
|
||||
Kind *string `json:"kind,omitempty"`
|
||||
@ -26,7 +26,7 @@ type CrossVersionObjectReferenceApplyConfiguration struct {
|
||||
APIVersion *string `json:"apiVersion,omitempty"`
|
||||
}
|
||||
|
||||
// CrossVersionObjectReferenceApplyConfiguration constructs an declarative configuration of the CrossVersionObjectReference type for use with
|
||||
// CrossVersionObjectReferenceApplyConfiguration constructs a declarative configuration of the CrossVersionObjectReference type for use with
|
||||
// apply.
|
||||
func CrossVersionObjectReference() *CrossVersionObjectReferenceApplyConfiguration {
|
||||
return &CrossVersionObjectReferenceApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// ExternalMetricSourceApplyConfiguration represents an declarative configuration of the ExternalMetricSource type for use
|
||||
// ExternalMetricSourceApplyConfiguration represents a declarative configuration of the ExternalMetricSource type for use
|
||||
// with apply.
|
||||
type ExternalMetricSourceApplyConfiguration struct {
|
||||
MetricName *string `json:"metricName,omitempty"`
|
||||
@ -32,7 +32,7 @@ type ExternalMetricSourceApplyConfiguration struct {
|
||||
TargetAverageValue *resource.Quantity `json:"targetAverageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ExternalMetricSourceApplyConfiguration constructs an declarative configuration of the ExternalMetricSource type for use with
|
||||
// ExternalMetricSourceApplyConfiguration constructs a declarative configuration of the ExternalMetricSource type for use with
|
||||
// apply.
|
||||
func ExternalMetricSource() *ExternalMetricSourceApplyConfiguration {
|
||||
return &ExternalMetricSourceApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// ExternalMetricStatusApplyConfiguration represents an declarative configuration of the ExternalMetricStatus type for use
|
||||
// ExternalMetricStatusApplyConfiguration represents a declarative configuration of the ExternalMetricStatus type for use
|
||||
// with apply.
|
||||
type ExternalMetricStatusApplyConfiguration struct {
|
||||
MetricName *string `json:"metricName,omitempty"`
|
||||
@ -32,7 +32,7 @@ type ExternalMetricStatusApplyConfiguration struct {
|
||||
CurrentAverageValue *resource.Quantity `json:"currentAverageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ExternalMetricStatusApplyConfiguration constructs an declarative configuration of the ExternalMetricStatus type for use with
|
||||
// ExternalMetricStatusApplyConfiguration constructs a declarative configuration of the ExternalMetricStatus type for use with
|
||||
// apply.
|
||||
func ExternalMetricStatus() *ExternalMetricStatusApplyConfiguration {
|
||||
return &ExternalMetricStatusApplyConfiguration{}
|
||||
|
@ -27,7 +27,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// HorizontalPodAutoscalerApplyConfiguration represents an declarative configuration of the HorizontalPodAutoscaler type for use
|
||||
// HorizontalPodAutoscalerApplyConfiguration represents a declarative configuration of the HorizontalPodAutoscaler type for use
|
||||
// with apply.
|
||||
type HorizontalPodAutoscalerApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -36,7 +36,7 @@ type HorizontalPodAutoscalerApplyConfiguration struct {
|
||||
Status *HorizontalPodAutoscalerStatusApplyConfiguration `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
// HorizontalPodAutoscaler constructs an declarative configuration of the HorizontalPodAutoscaler type for use with
|
||||
// HorizontalPodAutoscaler constructs a declarative configuration of the HorizontalPodAutoscaler type for use with
|
||||
// apply.
|
||||
func HorizontalPodAutoscaler(name, namespace string) *HorizontalPodAutoscalerApplyConfiguration {
|
||||
b := &HorizontalPodAutoscalerApplyConfiguration{}
|
||||
@ -256,3 +256,9 @@ func (b *HorizontalPodAutoscalerApplyConfiguration) WithStatus(value *Horizontal
|
||||
b.Status = value
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *HorizontalPodAutoscalerApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// HorizontalPodAutoscalerConditionApplyConfiguration represents an declarative configuration of the HorizontalPodAutoscalerCondition type for use
|
||||
// HorizontalPodAutoscalerConditionApplyConfiguration represents a declarative configuration of the HorizontalPodAutoscalerCondition type for use
|
||||
// with apply.
|
||||
type HorizontalPodAutoscalerConditionApplyConfiguration struct {
|
||||
Type *v2beta1.HorizontalPodAutoscalerConditionType `json:"type,omitempty"`
|
||||
@ -34,7 +34,7 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct {
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
// HorizontalPodAutoscalerConditionApplyConfiguration constructs an declarative configuration of the HorizontalPodAutoscalerCondition type for use with
|
||||
// HorizontalPodAutoscalerConditionApplyConfiguration constructs a declarative configuration of the HorizontalPodAutoscalerCondition type for use with
|
||||
// apply.
|
||||
func HorizontalPodAutoscalerCondition() *HorizontalPodAutoscalerConditionApplyConfiguration {
|
||||
return &HorizontalPodAutoscalerConditionApplyConfiguration{}
|
||||
|
@ -18,7 +18,7 @@ limitations under the License.
|
||||
|
||||
package v2beta1
|
||||
|
||||
// HorizontalPodAutoscalerSpecApplyConfiguration represents an declarative configuration of the HorizontalPodAutoscalerSpec type for use
|
||||
// HorizontalPodAutoscalerSpecApplyConfiguration represents a declarative configuration of the HorizontalPodAutoscalerSpec type for use
|
||||
// with apply.
|
||||
type HorizontalPodAutoscalerSpecApplyConfiguration struct {
|
||||
ScaleTargetRef *CrossVersionObjectReferenceApplyConfiguration `json:"scaleTargetRef,omitempty"`
|
||||
@ -27,7 +27,7 @@ type HorizontalPodAutoscalerSpecApplyConfiguration struct {
|
||||
Metrics []MetricSpecApplyConfiguration `json:"metrics,omitempty"`
|
||||
}
|
||||
|
||||
// HorizontalPodAutoscalerSpecApplyConfiguration constructs an declarative configuration of the HorizontalPodAutoscalerSpec type for use with
|
||||
// HorizontalPodAutoscalerSpecApplyConfiguration constructs a declarative configuration of the HorizontalPodAutoscalerSpec type for use with
|
||||
// apply.
|
||||
func HorizontalPodAutoscalerSpec() *HorizontalPodAutoscalerSpecApplyConfiguration {
|
||||
return &HorizontalPodAutoscalerSpecApplyConfiguration{}
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// HorizontalPodAutoscalerStatusApplyConfiguration represents an declarative configuration of the HorizontalPodAutoscalerStatus type for use
|
||||
// HorizontalPodAutoscalerStatusApplyConfiguration represents a declarative configuration of the HorizontalPodAutoscalerStatus type for use
|
||||
// with apply.
|
||||
type HorizontalPodAutoscalerStatusApplyConfiguration struct {
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
||||
@ -33,7 +33,7 @@ type HorizontalPodAutoscalerStatusApplyConfiguration struct {
|
||||
Conditions []HorizontalPodAutoscalerConditionApplyConfiguration `json:"conditions,omitempty"`
|
||||
}
|
||||
|
||||
// HorizontalPodAutoscalerStatusApplyConfiguration constructs an declarative configuration of the HorizontalPodAutoscalerStatus type for use with
|
||||
// HorizontalPodAutoscalerStatusApplyConfiguration constructs a declarative configuration of the HorizontalPodAutoscalerStatus type for use with
|
||||
// apply.
|
||||
func HorizontalPodAutoscalerStatus() *HorizontalPodAutoscalerStatusApplyConfiguration {
|
||||
return &HorizontalPodAutoscalerStatusApplyConfiguration{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go
generated
vendored
@ -22,7 +22,7 @@ import (
|
||||
v2beta1 "k8s.io/api/autoscaling/v2beta1"
|
||||
)
|
||||
|
||||
// MetricSpecApplyConfiguration represents an declarative configuration of the MetricSpec type for use
|
||||
// MetricSpecApplyConfiguration represents a declarative configuration of the MetricSpec type for use
|
||||
// with apply.
|
||||
type MetricSpecApplyConfiguration struct {
|
||||
Type *v2beta1.MetricSourceType `json:"type,omitempty"`
|
||||
@ -33,7 +33,7 @@ type MetricSpecApplyConfiguration struct {
|
||||
External *ExternalMetricSourceApplyConfiguration `json:"external,omitempty"`
|
||||
}
|
||||
|
||||
// MetricSpecApplyConfiguration constructs an declarative configuration of the MetricSpec type for use with
|
||||
// MetricSpecApplyConfiguration constructs a declarative configuration of the MetricSpec type for use with
|
||||
// apply.
|
||||
func MetricSpec() *MetricSpecApplyConfiguration {
|
||||
return &MetricSpecApplyConfiguration{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go
generated
vendored
@ -22,7 +22,7 @@ import (
|
||||
v2beta1 "k8s.io/api/autoscaling/v2beta1"
|
||||
)
|
||||
|
||||
// MetricStatusApplyConfiguration represents an declarative configuration of the MetricStatus type for use
|
||||
// MetricStatusApplyConfiguration represents a declarative configuration of the MetricStatus type for use
|
||||
// with apply.
|
||||
type MetricStatusApplyConfiguration struct {
|
||||
Type *v2beta1.MetricSourceType `json:"type,omitempty"`
|
||||
@ -33,7 +33,7 @@ type MetricStatusApplyConfiguration struct {
|
||||
External *ExternalMetricStatusApplyConfiguration `json:"external,omitempty"`
|
||||
}
|
||||
|
||||
// MetricStatusApplyConfiguration constructs an declarative configuration of the MetricStatus type for use with
|
||||
// MetricStatusApplyConfiguration constructs a declarative configuration of the MetricStatus type for use with
|
||||
// apply.
|
||||
func MetricStatus() *MetricStatusApplyConfiguration {
|
||||
return &MetricStatusApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// ObjectMetricSourceApplyConfiguration represents an declarative configuration of the ObjectMetricSource type for use
|
||||
// ObjectMetricSourceApplyConfiguration represents a declarative configuration of the ObjectMetricSource type for use
|
||||
// with apply.
|
||||
type ObjectMetricSourceApplyConfiguration struct {
|
||||
Target *CrossVersionObjectReferenceApplyConfiguration `json:"target,omitempty"`
|
||||
@ -33,7 +33,7 @@ type ObjectMetricSourceApplyConfiguration struct {
|
||||
AverageValue *resource.Quantity `json:"averageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ObjectMetricSourceApplyConfiguration constructs an declarative configuration of the ObjectMetricSource type for use with
|
||||
// ObjectMetricSourceApplyConfiguration constructs a declarative configuration of the ObjectMetricSource type for use with
|
||||
// apply.
|
||||
func ObjectMetricSource() *ObjectMetricSourceApplyConfiguration {
|
||||
return &ObjectMetricSourceApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// ObjectMetricStatusApplyConfiguration represents an declarative configuration of the ObjectMetricStatus type for use
|
||||
// ObjectMetricStatusApplyConfiguration represents a declarative configuration of the ObjectMetricStatus type for use
|
||||
// with apply.
|
||||
type ObjectMetricStatusApplyConfiguration struct {
|
||||
Target *CrossVersionObjectReferenceApplyConfiguration `json:"target,omitempty"`
|
||||
@ -33,7 +33,7 @@ type ObjectMetricStatusApplyConfiguration struct {
|
||||
AverageValue *resource.Quantity `json:"averageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ObjectMetricStatusApplyConfiguration constructs an declarative configuration of the ObjectMetricStatus type for use with
|
||||
// ObjectMetricStatusApplyConfiguration constructs a declarative configuration of the ObjectMetricStatus type for use with
|
||||
// apply.
|
||||
func ObjectMetricStatus() *ObjectMetricStatusApplyConfiguration {
|
||||
return &ObjectMetricStatusApplyConfiguration{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go
generated
vendored
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// PodsMetricSourceApplyConfiguration represents an declarative configuration of the PodsMetricSource type for use
|
||||
// PodsMetricSourceApplyConfiguration represents a declarative configuration of the PodsMetricSource type for use
|
||||
// with apply.
|
||||
type PodsMetricSourceApplyConfiguration struct {
|
||||
MetricName *string `json:"metricName,omitempty"`
|
||||
@ -31,7 +31,7 @@ type PodsMetricSourceApplyConfiguration struct {
|
||||
Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
|
||||
}
|
||||
|
||||
// PodsMetricSourceApplyConfiguration constructs an declarative configuration of the PodsMetricSource type for use with
|
||||
// PodsMetricSourceApplyConfiguration constructs a declarative configuration of the PodsMetricSource type for use with
|
||||
// apply.
|
||||
func PodsMetricSource() *PodsMetricSourceApplyConfiguration {
|
||||
return &PodsMetricSourceApplyConfiguration{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go
generated
vendored
@ -23,7 +23,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// PodsMetricStatusApplyConfiguration represents an declarative configuration of the PodsMetricStatus type for use
|
||||
// PodsMetricStatusApplyConfiguration represents a declarative configuration of the PodsMetricStatus type for use
|
||||
// with apply.
|
||||
type PodsMetricStatusApplyConfiguration struct {
|
||||
MetricName *string `json:"metricName,omitempty"`
|
||||
@ -31,7 +31,7 @@ type PodsMetricStatusApplyConfiguration struct {
|
||||
Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
|
||||
}
|
||||
|
||||
// PodsMetricStatusApplyConfiguration constructs an declarative configuration of the PodsMetricStatus type for use with
|
||||
// PodsMetricStatusApplyConfiguration constructs a declarative configuration of the PodsMetricStatus type for use with
|
||||
// apply.
|
||||
func PodsMetricStatus() *PodsMetricStatusApplyConfiguration {
|
||||
return &PodsMetricStatusApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
resource "k8s.io/apimachinery/pkg/api/resource"
|
||||
)
|
||||
|
||||
// ResourceMetricSourceApplyConfiguration represents an declarative configuration of the ResourceMetricSource type for use
|
||||
// ResourceMetricSourceApplyConfiguration represents a declarative configuration of the ResourceMetricSource type for use
|
||||
// with apply.
|
||||
type ResourceMetricSourceApplyConfiguration struct {
|
||||
Name *v1.ResourceName `json:"name,omitempty"`
|
||||
@ -31,7 +31,7 @@ type ResourceMetricSourceApplyConfiguration struct {
|
||||
TargetAverageValue *resource.Quantity `json:"targetAverageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceMetricSourceApplyConfiguration constructs an declarative configuration of the ResourceMetricSource type for use with
|
||||
// ResourceMetricSourceApplyConfiguration constructs a declarative configuration of the ResourceMetricSource type for use with
|
||||
// apply.
|
||||
func ResourceMetricSource() *ResourceMetricSourceApplyConfiguration {
|
||||
return &ResourceMetricSourceApplyConfiguration{}
|
||||
|
@ -23,7 +23,7 @@ import (
|
||||
resource "k8s.io/apimachinery/pkg/api/resource"
|
||||
)
|
||||
|
||||
// ResourceMetricStatusApplyConfiguration represents an declarative configuration of the ResourceMetricStatus type for use
|
||||
// ResourceMetricStatusApplyConfiguration represents a declarative configuration of the ResourceMetricStatus type for use
|
||||
// with apply.
|
||||
type ResourceMetricStatusApplyConfiguration struct {
|
||||
Name *v1.ResourceName `json:"name,omitempty"`
|
||||
@ -31,7 +31,7 @@ type ResourceMetricStatusApplyConfiguration struct {
|
||||
CurrentAverageValue *resource.Quantity `json:"currentAverageValue,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceMetricStatusApplyConfiguration constructs an declarative configuration of the ResourceMetricStatus type for use with
|
||||
// ResourceMetricStatusApplyConfiguration constructs a declarative configuration of the ResourceMetricStatus type for use with
|
||||
// apply.
|
||||
func ResourceMetricStatus() *ResourceMetricStatusApplyConfiguration {
|
||||
return &ResourceMetricStatusApplyConfiguration{}
|
||||
|
Reference in New Issue
Block a user