mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-15 07:57:07 +08:00
vendor: update buildkit to v0.19.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go
generated
vendored
@ -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
|
||||
}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go
generated
vendored
@ -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{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go
generated
vendored
@ -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{}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/job.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/job.go
generated
vendored
@ -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
|
||||
}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go
generated
vendored
@ -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{}
|
||||
|
22
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
generated
vendored
22
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go
generated
vendored
@ -24,13 +24,14 @@ 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"`
|
||||
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,9 +42,10 @@ 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
|
||||
// JobSpecApplyConfiguration constructs a declarative configuration of the JobSpec type for use with
|
||||
// apply.
|
||||
func JobSpec() *JobSpecApplyConfiguration {
|
||||
return &JobSpecApplyConfiguration{}
|
||||
@ -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
|
||||
}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go
generated
vendored
@ -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{}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go
generated
vendored
@ -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
|
||||
}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go
generated
vendored
@ -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{}
|
||||
|
@ -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{}
|
||||
|
@ -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{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go
generated
vendored
@ -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{}
|
||||
|
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 a declarative configuration of the SuccessPolicy type for use
|
||||
// with apply.
|
||||
type SuccessPolicyApplyConfiguration struct {
|
||||
Rules []SuccessPolicyRuleApplyConfiguration `json:"rules,omitempty"`
|
||||
}
|
||||
|
||||
// SuccessPolicyApplyConfiguration constructs a 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 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 a 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
|
||||
}
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go
generated
vendored
@ -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{}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go
generated
vendored
@ -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
|
||||
}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go
generated
vendored
@ -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{}
|
||||
|
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go
generated
vendored
4
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go
generated
vendored
@ -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{}
|
||||
|
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go
generated
vendored
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user