mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +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/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
|
||||
}
|
||||
|
Reference in New Issue
Block a user