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/policy/v1/eviction.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go
generated
vendored
@ -27,7 +27,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// EvictionApplyConfiguration represents an declarative configuration of the Eviction type for use
|
||||
// EvictionApplyConfiguration represents a declarative configuration of the Eviction type for use
|
||||
// with apply.
|
||||
type EvictionApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -35,7 +35,7 @@ type EvictionApplyConfiguration struct {
|
||||
DeleteOptions *v1.DeleteOptionsApplyConfiguration `json:"deleteOptions,omitempty"`
|
||||
}
|
||||
|
||||
// Eviction constructs an declarative configuration of the Eviction type for use with
|
||||
// Eviction constructs a declarative configuration of the Eviction type for use with
|
||||
// apply.
|
||||
func Eviction(name, namespace string) *EvictionApplyConfiguration {
|
||||
b := &EvictionApplyConfiguration{}
|
||||
@ -247,3 +247,9 @@ func (b *EvictionApplyConfiguration) WithDeleteOptions(value *v1.DeleteOptionsAp
|
||||
b.DeleteOptions = value
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *EvictionApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
Reference in New Issue
Block a user