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:
18
vendor/k8s.io/client-go/applyconfigurations/meta/v1/condition.go
generated
vendored
18
vendor/k8s.io/client-go/applyconfigurations/meta/v1/condition.go
generated
vendored
@ -19,18 +19,18 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// ConditionApplyConfiguration represents a declarative configuration of the Condition type for use
|
||||
// with apply.
|
||||
type ConditionApplyConfiguration struct {
|
||||
Type *string `json:"type,omitempty"`
|
||||
Status *v1.ConditionStatus `json:"status,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
Reason *string `json:"reason,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Type *string `json:"type,omitempty"`
|
||||
Status *metav1.ConditionStatus `json:"status,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
|
||||
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
|
||||
Reason *string `json:"reason,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
// ConditionApplyConfiguration constructs a declarative configuration of the Condition type for use with
|
||||
@ -50,7 +50,7 @@ func (b *ConditionApplyConfiguration) WithType(value string) *ConditionApplyConf
|
||||
// WithStatus sets the Status 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 Status field is set to the value of the last call.
|
||||
func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration {
|
||||
func (b *ConditionApplyConfiguration) WithStatus(value metav1.ConditionStatus) *ConditionApplyConfiguration {
|
||||
b.Status = &value
|
||||
return b
|
||||
}
|
||||
@ -66,7 +66,7 @@ func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *Condi
|
||||
// WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
|
||||
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value v1.Time) *ConditionApplyConfiguration {
|
||||
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration {
|
||||
b.LastTransitionTime = &value
|
||||
return b
|
||||
}
|
||||
|
25
vendor/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go
generated
vendored
25
vendor/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go
generated
vendored
@ -25,12 +25,13 @@ import (
|
||||
// DeleteOptionsApplyConfiguration represents a declarative configuration of the DeleteOptions type for use
|
||||
// with apply.
|
||||
type DeleteOptionsApplyConfiguration struct {
|
||||
TypeMetaApplyConfiguration `json:",inline"`
|
||||
GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"`
|
||||
Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"`
|
||||
OrphanDependents *bool `json:"orphanDependents,omitempty"`
|
||||
PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"`
|
||||
DryRun []string `json:"dryRun,omitempty"`
|
||||
TypeMetaApplyConfiguration `json:",inline"`
|
||||
GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty"`
|
||||
Preconditions *PreconditionsApplyConfiguration `json:"preconditions,omitempty"`
|
||||
OrphanDependents *bool `json:"orphanDependents,omitempty"`
|
||||
PropagationPolicy *metav1.DeletionPropagation `json:"propagationPolicy,omitempty"`
|
||||
DryRun []string `json:"dryRun,omitempty"`
|
||||
IgnoreStoreReadErrorWithClusterBreakingPotential *bool `json:"ignoreStoreReadErrorWithClusterBreakingPotential,omitempty"`
|
||||
}
|
||||
|
||||
// DeleteOptionsApplyConfiguration constructs a declarative configuration of the DeleteOptions type for use with
|
||||
@ -46,7 +47,7 @@ func DeleteOptions() *DeleteOptionsApplyConfiguration {
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the Kind field is set to the value of the last call.
|
||||
func (b *DeleteOptionsApplyConfiguration) WithKind(value string) *DeleteOptionsApplyConfiguration {
|
||||
b.Kind = &value
|
||||
b.TypeMetaApplyConfiguration.Kind = &value
|
||||
return b
|
||||
}
|
||||
|
||||
@ -54,7 +55,7 @@ func (b *DeleteOptionsApplyConfiguration) WithKind(value string) *DeleteOptionsA
|
||||
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||
// If called multiple times, the APIVersion field is set to the value of the last call.
|
||||
func (b *DeleteOptionsApplyConfiguration) WithAPIVersion(value string) *DeleteOptionsApplyConfiguration {
|
||||
b.APIVersion = &value
|
||||
b.TypeMetaApplyConfiguration.APIVersion = &value
|
||||
return b
|
||||
}
|
||||
|
||||
@ -99,3 +100,11 @@ func (b *DeleteOptionsApplyConfiguration) WithDryRun(values ...string) *DeleteOp
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// WithIgnoreStoreReadErrorWithClusterBreakingPotential sets the IgnoreStoreReadErrorWithClusterBreakingPotential 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 IgnoreStoreReadErrorWithClusterBreakingPotential field is set to the value of the last call.
|
||||
func (b *DeleteOptionsApplyConfiguration) WithIgnoreStoreReadErrorWithClusterBreakingPotential(value bool) *DeleteOptionsApplyConfiguration {
|
||||
b.IgnoreStoreReadErrorWithClusterBreakingPotential = &value
|
||||
return b
|
||||
}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go
generated
vendored
@ -19,15 +19,15 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// LabelSelectorRequirementApplyConfiguration represents a declarative configuration of the LabelSelectorRequirement type for use
|
||||
// with apply.
|
||||
type LabelSelectorRequirementApplyConfiguration struct {
|
||||
Key *string `json:"key,omitempty"`
|
||||
Operator *v1.LabelSelectorOperator `json:"operator,omitempty"`
|
||||
Values []string `json:"values,omitempty"`
|
||||
Key *string `json:"key,omitempty"`
|
||||
Operator *metav1.LabelSelectorOperator `json:"operator,omitempty"`
|
||||
Values []string `json:"values,omitempty"`
|
||||
}
|
||||
|
||||
// LabelSelectorRequirementApplyConfiguration constructs a declarative configuration of the LabelSelectorRequirement type for use with
|
||||
@ -47,7 +47,7 @@ func (b *LabelSelectorRequirementApplyConfiguration) WithKey(value string) *Labe
|
||||
// WithOperator sets the Operator 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 Operator field is set to the value of the last call.
|
||||
func (b *LabelSelectorRequirementApplyConfiguration) WithOperator(value v1.LabelSelectorOperator) *LabelSelectorRequirementApplyConfiguration {
|
||||
func (b *LabelSelectorRequirementApplyConfiguration) WithOperator(value metav1.LabelSelectorOperator) *LabelSelectorRequirementApplyConfiguration {
|
||||
b.Operator = &value
|
||||
return b
|
||||
}
|
||||
|
22
vendor/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go
generated
vendored
22
vendor/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go
generated
vendored
@ -19,19 +19,19 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// ManagedFieldsEntryApplyConfiguration represents a declarative configuration of the ManagedFieldsEntry type for use
|
||||
// with apply.
|
||||
type ManagedFieldsEntryApplyConfiguration struct {
|
||||
Manager *string `json:"manager,omitempty"`
|
||||
Operation *v1.ManagedFieldsOperationType `json:"operation,omitempty"`
|
||||
APIVersion *string `json:"apiVersion,omitempty"`
|
||||
Time *v1.Time `json:"time,omitempty"`
|
||||
FieldsType *string `json:"fieldsType,omitempty"`
|
||||
FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"`
|
||||
Subresource *string `json:"subresource,omitempty"`
|
||||
Manager *string `json:"manager,omitempty"`
|
||||
Operation *metav1.ManagedFieldsOperationType `json:"operation,omitempty"`
|
||||
APIVersion *string `json:"apiVersion,omitempty"`
|
||||
Time *metav1.Time `json:"time,omitempty"`
|
||||
FieldsType *string `json:"fieldsType,omitempty"`
|
||||
FieldsV1 *metav1.FieldsV1 `json:"fieldsV1,omitempty"`
|
||||
Subresource *string `json:"subresource,omitempty"`
|
||||
}
|
||||
|
||||
// ManagedFieldsEntryApplyConfiguration constructs a declarative configuration of the ManagedFieldsEntry type for use with
|
||||
@ -51,7 +51,7 @@ func (b *ManagedFieldsEntryApplyConfiguration) WithManager(value string) *Manage
|
||||
// WithOperation sets the Operation 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 Operation field is set to the value of the last call.
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithOperation(value v1.ManagedFieldsOperationType) *ManagedFieldsEntryApplyConfiguration {
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithOperation(value metav1.ManagedFieldsOperationType) *ManagedFieldsEntryApplyConfiguration {
|
||||
b.Operation = &value
|
||||
return b
|
||||
}
|
||||
@ -67,7 +67,7 @@ func (b *ManagedFieldsEntryApplyConfiguration) WithAPIVersion(value string) *Man
|
||||
// WithTime sets the Time 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 Time field is set to the value of the last call.
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithTime(value v1.Time) *ManagedFieldsEntryApplyConfiguration {
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithTime(value metav1.Time) *ManagedFieldsEntryApplyConfiguration {
|
||||
b.Time = &value
|
||||
return b
|
||||
}
|
||||
@ -83,7 +83,7 @@ func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsType(value string) *Man
|
||||
// WithFieldsV1 sets the FieldsV1 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 FieldsV1 field is set to the value of the last call.
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsV1(value v1.FieldsV1) *ManagedFieldsEntryApplyConfiguration {
|
||||
func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsV1(value metav1.FieldsV1) *ManagedFieldsEntryApplyConfiguration {
|
||||
b.FieldsV1 = &value
|
||||
return b
|
||||
}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go
generated
vendored
@ -19,7 +19,7 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
types "k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
@ -32,8 +32,8 @@ type ObjectMetaApplyConfiguration struct {
|
||||
UID *types.UID `json:"uid,omitempty"`
|
||||
ResourceVersion *string `json:"resourceVersion,omitempty"`
|
||||
Generation *int64 `json:"generation,omitempty"`
|
||||
CreationTimestamp *v1.Time `json:"creationTimestamp,omitempty"`
|
||||
DeletionTimestamp *v1.Time `json:"deletionTimestamp,omitempty"`
|
||||
CreationTimestamp *metav1.Time `json:"creationTimestamp,omitempty"`
|
||||
DeletionTimestamp *metav1.Time `json:"deletionTimestamp,omitempty"`
|
||||
DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
@ -98,7 +98,7 @@ func (b *ObjectMetaApplyConfiguration) WithGeneration(value int64) *ObjectMetaAp
|
||||
// WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
|
||||
func (b *ObjectMetaApplyConfiguration) WithCreationTimestamp(value v1.Time) *ObjectMetaApplyConfiguration {
|
||||
func (b *ObjectMetaApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ObjectMetaApplyConfiguration {
|
||||
b.CreationTimestamp = &value
|
||||
return b
|
||||
}
|
||||
@ -106,7 +106,7 @@ func (b *ObjectMetaApplyConfiguration) WithCreationTimestamp(value v1.Time) *Obj
|
||||
// WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
|
||||
func (b *ObjectMetaApplyConfiguration) WithDeletionTimestamp(value v1.Time) *ObjectMetaApplyConfiguration {
|
||||
func (b *ObjectMetaApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ObjectMetaApplyConfiguration {
|
||||
b.DeletionTimestamp = &value
|
||||
return b
|
||||
}
|
||||
|
Reference in New Issue
Block a user