K8s: Fix hack/update-codegen (#91867)

This commit is contained in:
Todd Treece
2024-08-14 01:17:05 -04:00
committed by GitHub
parent e90b272299
commit dacf11b048
36 changed files with 296 additions and 670 deletions
@@ -10,7 +10,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// DataPlaneServiceApplyConfiguration represents an declarative configuration of the DataPlaneService type for use
// DataPlaneServiceApplyConfiguration represents a declarative configuration of the DataPlaneService type for use
// with apply.
type DataPlaneServiceApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@@ -19,7 +19,7 @@ type DataPlaneServiceApplyConfiguration struct {
Status *DataPlaneServiceStatusApplyConfiguration `json:"status,omitempty"`
}
// DataPlaneService constructs an declarative configuration of the DataPlaneService type for use with
// DataPlaneService constructs a declarative configuration of the DataPlaneService type for use with
// apply.
func DataPlaneService(name string) *DataPlaneServiceApplyConfiguration {
b := &DataPlaneServiceApplyConfiguration{}
@@ -202,3 +202,9 @@ func (b *DataPlaneServiceApplyConfiguration) WithStatus(value *DataPlaneServiceS
b.Status = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *DataPlaneServiceApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}