mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
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:
committed by
mergify[bot]
parent
63c4c05b35
commit
5a66991bb3
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