diff --git a/applyconfigurations/core/v1/noderuntimeclass.go b/applyconfigurations/core/v1/noderuntimehandler.go similarity index 60% rename from applyconfigurations/core/v1/noderuntimeclass.go rename to applyconfigurations/core/v1/noderuntimehandler.go index 497416957..9ada0a18e 100644 --- a/applyconfigurations/core/v1/noderuntimeclass.go +++ b/applyconfigurations/core/v1/noderuntimehandler.go @@ -18,23 +18,23 @@ limitations under the License. package v1 -// NodeRuntimeClassApplyConfiguration represents an declarative configuration of the NodeRuntimeClass type for use +// NodeRuntimeHandlerApplyConfiguration represents an declarative configuration of the NodeRuntimeHandler type for use // with apply. -type NodeRuntimeClassApplyConfiguration struct { - Name *string `json:"name,omitempty"` - Features *NodeRuntimeClassFeaturesApplyConfiguration `json:"features,omitempty"` +type NodeRuntimeHandlerApplyConfiguration struct { + Name *string `json:"name,omitempty"` + Features *NodeRuntimeHandlerFeaturesApplyConfiguration `json:"features,omitempty"` } -// NodeRuntimeClassApplyConfiguration constructs an declarative configuration of the NodeRuntimeClass type for use with +// NodeRuntimeHandlerApplyConfiguration constructs an declarative configuration of the NodeRuntimeHandler type for use with // apply. -func NodeRuntimeClass() *NodeRuntimeClassApplyConfiguration { - return &NodeRuntimeClassApplyConfiguration{} +func NodeRuntimeHandler() *NodeRuntimeHandlerApplyConfiguration { + return &NodeRuntimeHandlerApplyConfiguration{} } // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Name field is set to the value of the last call. -func (b *NodeRuntimeClassApplyConfiguration) WithName(value string) *NodeRuntimeClassApplyConfiguration { +func (b *NodeRuntimeHandlerApplyConfiguration) WithName(value string) *NodeRuntimeHandlerApplyConfiguration { b.Name = &value return b } @@ -42,7 +42,7 @@ func (b *NodeRuntimeClassApplyConfiguration) WithName(value string) *NodeRuntime // WithFeatures sets the Features field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Features field is set to the value of the last call. -func (b *NodeRuntimeClassApplyConfiguration) WithFeatures(value *NodeRuntimeClassFeaturesApplyConfiguration) *NodeRuntimeClassApplyConfiguration { +func (b *NodeRuntimeHandlerApplyConfiguration) WithFeatures(value *NodeRuntimeHandlerFeaturesApplyConfiguration) *NodeRuntimeHandlerApplyConfiguration { b.Features = value return b } diff --git a/applyconfigurations/core/v1/noderuntimeclassfeatures.go b/applyconfigurations/core/v1/noderuntimehandlerfeatures.go similarity index 64% rename from applyconfigurations/core/v1/noderuntimeclassfeatures.go rename to applyconfigurations/core/v1/noderuntimehandlerfeatures.go index d3960eed9..a3e3a52e8 100644 --- a/applyconfigurations/core/v1/noderuntimeclassfeatures.go +++ b/applyconfigurations/core/v1/noderuntimehandlerfeatures.go @@ -18,22 +18,22 @@ limitations under the License. package v1 -// NodeRuntimeClassFeaturesApplyConfiguration represents an declarative configuration of the NodeRuntimeClassFeatures type for use +// NodeRuntimeHandlerFeaturesApplyConfiguration represents an declarative configuration of the NodeRuntimeHandlerFeatures type for use // with apply. -type NodeRuntimeClassFeaturesApplyConfiguration struct { +type NodeRuntimeHandlerFeaturesApplyConfiguration struct { RecursiveReadOnlyMounts *bool `json:"recursiveReadOnlyMounts,omitempty"` } -// NodeRuntimeClassFeaturesApplyConfiguration constructs an declarative configuration of the NodeRuntimeClassFeatures type for use with +// NodeRuntimeHandlerFeaturesApplyConfiguration constructs an declarative configuration of the NodeRuntimeHandlerFeatures type for use with // apply. -func NodeRuntimeClassFeatures() *NodeRuntimeClassFeaturesApplyConfiguration { - return &NodeRuntimeClassFeaturesApplyConfiguration{} +func NodeRuntimeHandlerFeatures() *NodeRuntimeHandlerFeaturesApplyConfiguration { + return &NodeRuntimeHandlerFeaturesApplyConfiguration{} } // WithRecursiveReadOnlyMounts sets the RecursiveReadOnlyMounts field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the RecursiveReadOnlyMounts field is set to the value of the last call. -func (b *NodeRuntimeClassFeaturesApplyConfiguration) WithRecursiveReadOnlyMounts(value bool) *NodeRuntimeClassFeaturesApplyConfiguration { +func (b *NodeRuntimeHandlerFeaturesApplyConfiguration) WithRecursiveReadOnlyMounts(value bool) *NodeRuntimeHandlerFeaturesApplyConfiguration { b.RecursiveReadOnlyMounts = &value return b } diff --git a/applyconfigurations/core/v1/nodestatus.go b/applyconfigurations/core/v1/nodestatus.go index 46e93ac85..a4a30a268 100644 --- a/applyconfigurations/core/v1/nodestatus.go +++ b/applyconfigurations/core/v1/nodestatus.go @@ -36,7 +36,7 @@ type NodeStatusApplyConfiguration struct { VolumesInUse []v1.UniqueVolumeName `json:"volumesInUse,omitempty"` VolumesAttached []AttachedVolumeApplyConfiguration `json:"volumesAttached,omitempty"` Config *NodeConfigStatusApplyConfiguration `json:"config,omitempty"` - RuntimeClasses []NodeRuntimeClassApplyConfiguration `json:"runtimeClasses,omitempty"` + RuntimeHandlers []NodeRuntimeHandlerApplyConfiguration `json:"runtimeHandlers,omitempty"` } // NodeStatusApplyConfiguration constructs an declarative configuration of the NodeStatus type for use with @@ -155,15 +155,15 @@ func (b *NodeStatusApplyConfiguration) WithConfig(value *NodeConfigStatusApplyCo return b } -// WithRuntimeClasses adds the given value to the RuntimeClasses field in the declarative configuration +// WithRuntimeHandlers adds the given value to the RuntimeHandlers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. -// If called multiple times, values provided by each call will be appended to the RuntimeClasses field. -func (b *NodeStatusApplyConfiguration) WithRuntimeClasses(values ...*NodeRuntimeClassApplyConfiguration) *NodeStatusApplyConfiguration { +// If called multiple times, values provided by each call will be appended to the RuntimeHandlers field. +func (b *NodeStatusApplyConfiguration) WithRuntimeHandlers(values ...*NodeRuntimeHandlerApplyConfiguration) *NodeStatusApplyConfiguration { for i := range values { if values[i] == nil { - panic("nil value passed to WithRuntimeClasses") + panic("nil value passed to WithRuntimeHandlers") } - b.RuntimeClasses = append(b.RuntimeClasses, *values[i]) + b.RuntimeHandlers = append(b.RuntimeHandlers, *values[i]) } return b } diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index 1016ceeee..0d753b07b 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -6073,17 +6073,17 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: io.k8s.api.core.v1.DaemonEndpoint default: {} -- name: io.k8s.api.core.v1.NodeRuntimeClass +- name: io.k8s.api.core.v1.NodeRuntimeHandler map: fields: - name: features type: - namedType: io.k8s.api.core.v1.NodeRuntimeClassFeatures + namedType: io.k8s.api.core.v1.NodeRuntimeHandlerFeatures - name: name type: scalar: string default: "" -- name: io.k8s.api.core.v1.NodeRuntimeClassFeatures +- name: io.k8s.api.core.v1.NodeRuntimeHandlerFeatures map: fields: - name: recursiveReadOnlyMounts @@ -6211,11 +6211,11 @@ var schemaYAML = typed.YAMLObject(`types: - name: phase type: scalar: string - - name: runtimeClasses + - name: runtimeHandlers type: list: elementType: - namedType: io.k8s.api.core.v1.NodeRuntimeClass + namedType: io.k8s.api.core.v1.NodeRuntimeHandler elementRelationship: atomic - name: volumesAttached type: diff --git a/applyconfigurations/utils.go b/applyconfigurations/utils.go index 4aa30503a..2529f03f9 100644 --- a/applyconfigurations/utils.go +++ b/applyconfigurations/utils.go @@ -801,10 +801,10 @@ func ForKind(kind schema.GroupVersionKind) interface{} { return &applyconfigurationscorev1.NodeConfigStatusApplyConfiguration{} case corev1.SchemeGroupVersion.WithKind("NodeDaemonEndpoints"): return &applyconfigurationscorev1.NodeDaemonEndpointsApplyConfiguration{} - case corev1.SchemeGroupVersion.WithKind("NodeRuntimeClass"): - return &applyconfigurationscorev1.NodeRuntimeClassApplyConfiguration{} - case corev1.SchemeGroupVersion.WithKind("NodeRuntimeClassFeatures"): - return &applyconfigurationscorev1.NodeRuntimeClassFeaturesApplyConfiguration{} + case corev1.SchemeGroupVersion.WithKind("NodeRuntimeHandler"): + return &applyconfigurationscorev1.NodeRuntimeHandlerApplyConfiguration{} + case corev1.SchemeGroupVersion.WithKind("NodeRuntimeHandlerFeatures"): + return &applyconfigurationscorev1.NodeRuntimeHandlerFeaturesApplyConfiguration{} case corev1.SchemeGroupVersion.WithKind("NodeSelector"): return &applyconfigurationscorev1.NodeSelectorApplyConfiguration{} case corev1.SchemeGroupVersion.WithKind("NodeSelectorRequirement"):