mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-12 22:47: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/coordination/v1beta1/lease.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go
generated
vendored
@ -27,7 +27,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// LeaseApplyConfiguration represents an declarative configuration of the Lease type for use
|
||||
// LeaseApplyConfiguration represents a declarative configuration of the Lease type for use
|
||||
// with apply.
|
||||
type LeaseApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -35,7 +35,7 @@ type LeaseApplyConfiguration struct {
|
||||
Spec *LeaseSpecApplyConfiguration `json:"spec,omitempty"`
|
||||
}
|
||||
|
||||
// Lease constructs an declarative configuration of the Lease type for use with
|
||||
// Lease constructs a declarative configuration of the Lease type for use with
|
||||
// apply.
|
||||
func Lease(name, namespace string) *LeaseApplyConfiguration {
|
||||
b := &LeaseApplyConfiguration{}
|
||||
@ -247,3 +247,9 @@ func (b *LeaseApplyConfiguration) WithSpec(value *LeaseSpecApplyConfiguration) *
|
||||
b.Spec = value
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *LeaseApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
Reference in New Issue
Block a user