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:
Madhu Rajanna
2024-08-19 10:01:33 +02:00
committed by mergify[bot]
parent 63c4c05b35
commit 5a66991bb3
2173 changed files with 98906 additions and 61334 deletions

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// CronJobApplyConfiguration represents an declarative configuration of the CronJob type for use
// CronJobApplyConfiguration represents a declarative configuration of the CronJob type for use
// with apply.
type CronJobApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -36,7 +36,7 @@ type CronJobApplyConfiguration struct {
Status *CronJobStatusApplyConfiguration `json:"status,omitempty"`
}
// CronJob constructs an declarative configuration of the CronJob type for use with
// CronJob constructs a declarative configuration of the CronJob type for use with
// apply.
func CronJob(name, namespace string) *CronJobApplyConfiguration {
b := &CronJobApplyConfiguration{}
@ -256,3 +256,9 @@ func (b *CronJobApplyConfiguration) WithStatus(value *CronJobStatusApplyConfigur
b.Status = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *CronJobApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/api/batch/v1"
)
// CronJobSpecApplyConfiguration represents an declarative configuration of the CronJobSpec type for use
// CronJobSpecApplyConfiguration represents a declarative configuration of the CronJobSpec type for use
// with apply.
type CronJobSpecApplyConfiguration struct {
Schedule *string `json:"schedule,omitempty"`
@ -35,7 +35,7 @@ type CronJobSpecApplyConfiguration struct {
FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty"`
}
// CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
// CronJobSpecApplyConfiguration constructs a declarative configuration of the CronJobSpec type for use with
// apply.
func CronJobSpec() *CronJobSpecApplyConfiguration {
return &CronJobSpecApplyConfiguration{}

View File

@ -23,7 +23,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// CronJobStatusApplyConfiguration represents an declarative configuration of the CronJobStatus type for use
// CronJobStatusApplyConfiguration represents a declarative configuration of the CronJobStatus type for use
// with apply.
type CronJobStatusApplyConfiguration struct {
Active []v1.ObjectReferenceApplyConfiguration `json:"active,omitempty"`
@ -31,7 +31,7 @@ type CronJobStatusApplyConfiguration struct {
LastSuccessfulTime *metav1.Time `json:"lastSuccessfulTime,omitempty"`
}
// CronJobStatusApplyConfiguration constructs an declarative configuration of the CronJobStatus type for use with
// CronJobStatusApplyConfiguration constructs a declarative configuration of the CronJobStatus type for use with
// apply.
func CronJobStatus() *CronJobStatusApplyConfiguration {
return &CronJobStatusApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// JobApplyConfiguration represents an declarative configuration of the Job type for use
// JobApplyConfiguration represents a declarative configuration of the Job type for use
// with apply.
type JobApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -36,7 +36,7 @@ type JobApplyConfiguration struct {
Status *JobStatusApplyConfiguration `json:"status,omitempty"`
}
// Job constructs an declarative configuration of the Job type for use with
// Job constructs a declarative configuration of the Job type for use with
// apply.
func Job(name, namespace string) *JobApplyConfiguration {
b := &JobApplyConfiguration{}
@ -256,3 +256,9 @@ func (b *JobApplyConfiguration) WithStatus(value *JobStatusApplyConfiguration) *
b.Status = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *JobApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -24,7 +24,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// JobConditionApplyConfiguration represents an declarative configuration of the JobCondition type for use
// JobConditionApplyConfiguration represents a declarative configuration of the JobCondition type for use
// with apply.
type JobConditionApplyConfiguration struct {
Type *v1.JobConditionType `json:"type,omitempty"`
@ -35,7 +35,7 @@ type JobConditionApplyConfiguration struct {
Message *string `json:"message,omitempty"`
}
// JobConditionApplyConfiguration constructs an declarative configuration of the JobCondition type for use with
// JobConditionApplyConfiguration constructs a declarative configuration of the JobCondition type for use with
// apply.
func JobCondition() *JobConditionApplyConfiguration {
return &JobConditionApplyConfiguration{}

View File

@ -24,7 +24,7 @@ import (
metav1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// JobSpecApplyConfiguration represents an declarative configuration of the JobSpec type for use
// JobSpecApplyConfiguration represents a declarative configuration of the JobSpec type for use
// with apply.
type JobSpecApplyConfiguration struct {
Parallelism *int32 `json:"parallelism,omitempty"`
@ -45,7 +45,7 @@ type JobSpecApplyConfiguration struct {
ManagedBy *string `json:"managedBy,omitempty"`
}
// JobSpecApplyConfiguration constructs an declarative configuration of the JobSpec type for use with
// JobSpecApplyConfiguration constructs a declarative configuration of the JobSpec type for use with
// apply.
func JobSpec() *JobSpecApplyConfiguration {
return &JobSpecApplyConfiguration{}

View File

@ -22,7 +22,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// JobStatusApplyConfiguration represents an declarative configuration of the JobStatus type for use
// JobStatusApplyConfiguration represents a declarative configuration of the JobStatus type for use
// with apply.
type JobStatusApplyConfiguration struct {
Conditions []JobConditionApplyConfiguration `json:"conditions,omitempty"`
@ -38,7 +38,7 @@ type JobStatusApplyConfiguration struct {
Ready *int32 `json:"ready,omitempty"`
}
// JobStatusApplyConfiguration constructs an declarative configuration of the JobStatus type for use with
// JobStatusApplyConfiguration constructs a declarative configuration of the JobStatus type for use with
// apply.
func JobStatus() *JobStatusApplyConfiguration {
return &JobStatusApplyConfiguration{}

View File

@ -24,14 +24,14 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// JobTemplateSpecApplyConfiguration represents an declarative configuration of the JobTemplateSpec type for use
// JobTemplateSpecApplyConfiguration represents a declarative configuration of the JobTemplateSpec type for use
// with apply.
type JobTemplateSpecApplyConfiguration struct {
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *JobSpecApplyConfiguration `json:"spec,omitempty"`
}
// JobTemplateSpecApplyConfiguration constructs an declarative configuration of the JobTemplateSpec type for use with
// JobTemplateSpecApplyConfiguration constructs a declarative configuration of the JobTemplateSpec type for use with
// apply.
func JobTemplateSpec() *JobTemplateSpecApplyConfiguration {
return &JobTemplateSpecApplyConfiguration{}
@ -186,3 +186,9 @@ func (b *JobTemplateSpecApplyConfiguration) WithSpec(value *JobSpecApplyConfigur
b.Spec = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *JobTemplateSpecApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// PodFailurePolicyApplyConfiguration represents an declarative configuration of the PodFailurePolicy type for use
// PodFailurePolicyApplyConfiguration represents a declarative configuration of the PodFailurePolicy type for use
// with apply.
type PodFailurePolicyApplyConfiguration struct {
Rules []PodFailurePolicyRuleApplyConfiguration `json:"rules,omitempty"`
}
// PodFailurePolicyApplyConfiguration constructs an declarative configuration of the PodFailurePolicy type for use with
// PodFailurePolicyApplyConfiguration constructs a declarative configuration of the PodFailurePolicy type for use with
// apply.
func PodFailurePolicy() *PodFailurePolicyApplyConfiguration {
return &PodFailurePolicyApplyConfiguration{}

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/api/batch/v1"
)
// PodFailurePolicyOnExitCodesRequirementApplyConfiguration represents an declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use
// PodFailurePolicyOnExitCodesRequirementApplyConfiguration represents a declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use
// with apply.
type PodFailurePolicyOnExitCodesRequirementApplyConfiguration struct {
ContainerName *string `json:"containerName,omitempty"`
@ -30,7 +30,7 @@ type PodFailurePolicyOnExitCodesRequirementApplyConfiguration struct {
Values []int32 `json:"values,omitempty"`
}
// PodFailurePolicyOnExitCodesRequirementApplyConfiguration constructs an declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use with
// PodFailurePolicyOnExitCodesRequirementApplyConfiguration constructs a declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use with
// apply.
func PodFailurePolicyOnExitCodesRequirement() *PodFailurePolicyOnExitCodesRequirementApplyConfiguration {
return &PodFailurePolicyOnExitCodesRequirementApplyConfiguration{}

View File

@ -22,14 +22,14 @@ import (
v1 "k8s.io/api/core/v1"
)
// PodFailurePolicyOnPodConditionsPatternApplyConfiguration represents an declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use
// PodFailurePolicyOnPodConditionsPatternApplyConfiguration represents a declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use
// with apply.
type PodFailurePolicyOnPodConditionsPatternApplyConfiguration struct {
Type *v1.PodConditionType `json:"type,omitempty"`
Status *v1.ConditionStatus `json:"status,omitempty"`
}
// PodFailurePolicyOnPodConditionsPatternApplyConfiguration constructs an declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use with
// PodFailurePolicyOnPodConditionsPatternApplyConfiguration constructs a declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use with
// apply.
func PodFailurePolicyOnPodConditionsPattern() *PodFailurePolicyOnPodConditionsPatternApplyConfiguration {
return &PodFailurePolicyOnPodConditionsPatternApplyConfiguration{}

View File

@ -22,7 +22,7 @@ import (
v1 "k8s.io/api/batch/v1"
)
// PodFailurePolicyRuleApplyConfiguration represents an declarative configuration of the PodFailurePolicyRule type for use
// PodFailurePolicyRuleApplyConfiguration represents a declarative configuration of the PodFailurePolicyRule type for use
// with apply.
type PodFailurePolicyRuleApplyConfiguration struct {
Action *v1.PodFailurePolicyAction `json:"action,omitempty"`
@ -30,7 +30,7 @@ type PodFailurePolicyRuleApplyConfiguration struct {
OnPodConditions []PodFailurePolicyOnPodConditionsPatternApplyConfiguration `json:"onPodConditions,omitempty"`
}
// PodFailurePolicyRuleApplyConfiguration constructs an declarative configuration of the PodFailurePolicyRule type for use with
// PodFailurePolicyRuleApplyConfiguration constructs a declarative configuration of the PodFailurePolicyRule type for use with
// apply.
func PodFailurePolicyRule() *PodFailurePolicyRuleApplyConfiguration {
return &PodFailurePolicyRuleApplyConfiguration{}

View File

@ -18,13 +18,13 @@ limitations under the License.
package v1
// SuccessPolicyApplyConfiguration represents an declarative configuration of the SuccessPolicy type for use
// SuccessPolicyApplyConfiguration represents a 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
// SuccessPolicyApplyConfiguration constructs a declarative configuration of the SuccessPolicy type for use with
// apply.
func SuccessPolicy() *SuccessPolicyApplyConfiguration {
return &SuccessPolicyApplyConfiguration{}

View File

@ -18,14 +18,14 @@ limitations under the License.
package v1
// SuccessPolicyRuleApplyConfiguration represents an declarative configuration of the SuccessPolicyRule type for use
// SuccessPolicyRuleApplyConfiguration represents a 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
// SuccessPolicyRuleApplyConfiguration constructs a declarative configuration of the SuccessPolicyRule type for use with
// apply.
func SuccessPolicyRule() *SuccessPolicyRuleApplyConfiguration {
return &SuccessPolicyRuleApplyConfiguration{}

View File

@ -22,14 +22,14 @@ import (
types "k8s.io/apimachinery/pkg/types"
)
// UncountedTerminatedPodsApplyConfiguration represents an declarative configuration of the UncountedTerminatedPods type for use
// UncountedTerminatedPodsApplyConfiguration represents a declarative configuration of the UncountedTerminatedPods type for use
// with apply.
type UncountedTerminatedPodsApplyConfiguration struct {
Succeeded []types.UID `json:"succeeded,omitempty"`
Failed []types.UID `json:"failed,omitempty"`
}
// UncountedTerminatedPodsApplyConfiguration constructs an declarative configuration of the UncountedTerminatedPods type for use with
// UncountedTerminatedPodsApplyConfiguration constructs a declarative configuration of the UncountedTerminatedPods type for use with
// apply.
func UncountedTerminatedPods() *UncountedTerminatedPodsApplyConfiguration {
return &UncountedTerminatedPodsApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// CronJobApplyConfiguration represents an declarative configuration of the CronJob type for use
// CronJobApplyConfiguration represents a declarative configuration of the CronJob type for use
// with apply.
type CronJobApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -36,7 +36,7 @@ type CronJobApplyConfiguration struct {
Status *CronJobStatusApplyConfiguration `json:"status,omitempty"`
}
// CronJob constructs an declarative configuration of the CronJob type for use with
// CronJob constructs a declarative configuration of the CronJob type for use with
// apply.
func CronJob(name, namespace string) *CronJobApplyConfiguration {
b := &CronJobApplyConfiguration{}
@ -256,3 +256,9 @@ func (b *CronJobApplyConfiguration) WithStatus(value *CronJobStatusApplyConfigur
b.Status = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *CronJobApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -22,7 +22,7 @@ import (
v1beta1 "k8s.io/api/batch/v1beta1"
)
// CronJobSpecApplyConfiguration represents an declarative configuration of the CronJobSpec type for use
// CronJobSpecApplyConfiguration represents a declarative configuration of the CronJobSpec type for use
// with apply.
type CronJobSpecApplyConfiguration struct {
Schedule *string `json:"schedule,omitempty"`
@ -35,7 +35,7 @@ type CronJobSpecApplyConfiguration struct {
FailedJobsHistoryLimit *int32 `json:"failedJobsHistoryLimit,omitempty"`
}
// CronJobSpecApplyConfiguration constructs an declarative configuration of the CronJobSpec type for use with
// CronJobSpecApplyConfiguration constructs a declarative configuration of the CronJobSpec type for use with
// apply.
func CronJobSpec() *CronJobSpecApplyConfiguration {
return &CronJobSpecApplyConfiguration{}

View File

@ -23,7 +23,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// CronJobStatusApplyConfiguration represents an declarative configuration of the CronJobStatus type for use
// CronJobStatusApplyConfiguration represents a declarative configuration of the CronJobStatus type for use
// with apply.
type CronJobStatusApplyConfiguration struct {
Active []v1.ObjectReferenceApplyConfiguration `json:"active,omitempty"`
@ -31,7 +31,7 @@ type CronJobStatusApplyConfiguration struct {
LastSuccessfulTime *metav1.Time `json:"lastSuccessfulTime,omitempty"`
}
// CronJobStatusApplyConfiguration constructs an declarative configuration of the CronJobStatus type for use with
// CronJobStatusApplyConfiguration constructs a declarative configuration of the CronJobStatus type for use with
// apply.
func CronJobStatus() *CronJobStatusApplyConfiguration {
return &CronJobStatusApplyConfiguration{}

View File

@ -25,14 +25,14 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// JobTemplateSpecApplyConfiguration represents an declarative configuration of the JobTemplateSpec type for use
// JobTemplateSpecApplyConfiguration represents a declarative configuration of the JobTemplateSpec type for use
// with apply.
type JobTemplateSpecApplyConfiguration struct {
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *batchv1.JobSpecApplyConfiguration `json:"spec,omitempty"`
}
// JobTemplateSpecApplyConfiguration constructs an declarative configuration of the JobTemplateSpec type for use with
// JobTemplateSpecApplyConfiguration constructs a declarative configuration of the JobTemplateSpec type for use with
// apply.
func JobTemplateSpec() *JobTemplateSpecApplyConfiguration {
return &JobTemplateSpecApplyConfiguration{}
@ -187,3 +187,9 @@ func (b *JobTemplateSpecApplyConfiguration) WithSpec(value *batchv1.JobSpecApply
b.Spec = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *JobTemplateSpecApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}