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/discovery/v1/endpointslice.go
generated
vendored
10
vendor/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go
generated
vendored
@ -27,7 +27,7 @@ import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// EndpointSliceApplyConfiguration represents an declarative configuration of the EndpointSlice type for use
|
||||
// EndpointSliceApplyConfiguration represents a declarative configuration of the EndpointSlice type for use
|
||||
// with apply.
|
||||
type EndpointSliceApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:",inline"`
|
||||
@ -37,7 +37,7 @@ type EndpointSliceApplyConfiguration struct {
|
||||
Ports []EndpointPortApplyConfiguration `json:"ports,omitempty"`
|
||||
}
|
||||
|
||||
// EndpointSlice constructs an declarative configuration of the EndpointSlice type for use with
|
||||
// EndpointSlice constructs a declarative configuration of the EndpointSlice type for use with
|
||||
// apply.
|
||||
func EndpointSlice(name, namespace string) *EndpointSliceApplyConfiguration {
|
||||
b := &EndpointSliceApplyConfiguration{}
|
||||
@ -275,3 +275,9 @@ func (b *EndpointSliceApplyConfiguration) WithPorts(values ...*EndpointPortApply
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// GetName retrieves the value of the Name field in the declarative configuration.
|
||||
func (b *EndpointSliceApplyConfiguration) GetName() *string {
|
||||
b.ensureObjectMetaApplyConfigurationExists()
|
||||
return b.Name
|
||||
}
|
||||
|
Reference in New Issue
Block a user