mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update kubernetes to 1.30
updating kubernetes to 1.30 release Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
62ddcf715b
commit
e727bd351e
18
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
generated
vendored
18
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
generated
vendored
@ -31,6 +31,7 @@ type JobSpecApplyConfiguration struct {
|
||||
Completions *int32 `json:"completions,omitempty"`
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
PodFailurePolicy *PodFailurePolicyApplyConfiguration `json:"podFailurePolicy,omitempty"`
|
||||
SuccessPolicy *SuccessPolicyApplyConfiguration `json:"successPolicy,omitempty"`
|
||||
BackoffLimit *int32 `json:"backoffLimit,omitempty"`
|
||||
BackoffLimitPerIndex *int32 `json:"backoffLimitPerIndex,omitempty"`
|
||||
MaxFailedIndexes *int32 `json:"maxFailedIndexes,omitempty"`
|
||||
@ -41,6 +42,7 @@ type JobSpecApplyConfiguration struct {
|
||||
CompletionMode *batchv1.CompletionMode `json:"completionMode,omitempty"`
|
||||
Suspend *bool `json:"suspend,omitempty"`
|
||||
PodReplacementPolicy *batchv1.PodReplacementPolicy `json:"podReplacementPolicy,omitempty"`
|
||||
ManagedBy *string `json:"managedBy,omitempty"`
|
||||
}
|
||||
|
||||
// JobSpecApplyConfiguration constructs an declarative configuration of the JobSpec type for use with
|
||||
@ -81,6 +83,14 @@ func (b *JobSpecApplyConfiguration) WithPodFailurePolicy(value *PodFailurePolicy
|
||||
return b
|
||||
}
|
||||
|
||||
// WithSuccessPolicy sets the SuccessPolicy 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 SuccessPolicy field is set to the value of the last call.
|
||||
func (b *JobSpecApplyConfiguration) WithSuccessPolicy(value *SuccessPolicyApplyConfiguration) *JobSpecApplyConfiguration {
|
||||
b.SuccessPolicy = value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithBackoffLimit sets the BackoffLimit 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 BackoffLimit field is set to the value of the last call.
|
||||
@ -160,3 +170,11 @@ func (b *JobSpecApplyConfiguration) WithPodReplacementPolicy(value batchv1.PodRe
|
||||
b.PodReplacementPolicy = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithManagedBy sets the ManagedBy 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 ManagedBy field is set to the value of the last call.
|
||||
func (b *JobSpecApplyConfiguration) WithManagedBy(value string) *JobSpecApplyConfiguration {
|
||||
b.ManagedBy = &value
|
||||
return b
|
||||
}
|
||||
|
44
vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go
generated
vendored
Normal file
44
vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// SuccessPolicyApplyConfiguration represents an declarative configuration of the SuccessPolicy type for use
|
||||
// with apply.
|
||||
type SuccessPolicyApplyConfiguration struct {
|
||||
Rules []SuccessPolicyRuleApplyConfiguration `json:"rules,omitempty"`
|
||||
}
|
||||
|
||||
// SuccessPolicyApplyConfiguration constructs an declarative configuration of the SuccessPolicy type for use with
|
||||
// apply.
|
||||
func SuccessPolicy() *SuccessPolicyApplyConfiguration {
|
||||
return &SuccessPolicyApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithRules adds the given value to the Rules field in the declarative configuration
|
||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
||||
// If called multiple times, values provided by each call will be appended to the Rules field.
|
||||
func (b *SuccessPolicyApplyConfiguration) WithRules(values ...*SuccessPolicyRuleApplyConfiguration) *SuccessPolicyApplyConfiguration {
|
||||
for i := range values {
|
||||
if values[i] == nil {
|
||||
panic("nil value passed to WithRules")
|
||||
}
|
||||
b.Rules = append(b.Rules, *values[i])
|
||||
}
|
||||
return b
|
||||
}
|
48
vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go
generated
vendored
Normal file
48
vendor/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go
generated
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// SuccessPolicyRuleApplyConfiguration represents an declarative configuration of the SuccessPolicyRule type for use
|
||||
// with apply.
|
||||
type SuccessPolicyRuleApplyConfiguration struct {
|
||||
SucceededIndexes *string `json:"succeededIndexes,omitempty"`
|
||||
SucceededCount *int32 `json:"succeededCount,omitempty"`
|
||||
}
|
||||
|
||||
// SuccessPolicyRuleApplyConfiguration constructs an declarative configuration of the SuccessPolicyRule type for use with
|
||||
// apply.
|
||||
func SuccessPolicyRule() *SuccessPolicyRuleApplyConfiguration {
|
||||
return &SuccessPolicyRuleApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithSucceededIndexes sets the SucceededIndexes 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 SucceededIndexes field is set to the value of the last call.
|
||||
func (b *SuccessPolicyRuleApplyConfiguration) WithSucceededIndexes(value string) *SuccessPolicyRuleApplyConfiguration {
|
||||
b.SucceededIndexes = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithSucceededCount sets the SucceededCount 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 SucceededCount field is set to the value of the last call.
|
||||
func (b *SuccessPolicyRuleApplyConfiguration) WithSucceededCount(value int32) *SuccessPolicyRuleApplyConfiguration {
|
||||
b.SucceededCount = &value
|
||||
return b
|
||||
}
|
Reference in New Issue
Block a user