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:
Madhu Rajanna
2024-08-19 10:01:33 +02:00
committed by mergify[bot]
parent 63c4c05b35
commit 5a66991bb3
2173 changed files with 98906 additions and 61334 deletions

View File

@ -22,13 +22,13 @@ import (
v1 "k8s.io/api/core/v1"
)
// OverheadApplyConfiguration represents an declarative configuration of the Overhead type for use
// OverheadApplyConfiguration represents a declarative configuration of the Overhead type for use
// with apply.
type OverheadApplyConfiguration struct {
PodFixed *v1.ResourceList `json:"podFixed,omitempty"`
}
// OverheadApplyConfiguration constructs an declarative configuration of the Overhead type for use with
// OverheadApplyConfiguration constructs a declarative configuration of the Overhead type for use with
// apply.
func Overhead() *OverheadApplyConfiguration {
return &OverheadApplyConfiguration{}

View File

@ -27,7 +27,7 @@ import (
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
// RuntimeClassApplyConfiguration represents an declarative configuration of the RuntimeClass type for use
// RuntimeClassApplyConfiguration represents a declarative configuration of the RuntimeClass type for use
// with apply.
type RuntimeClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
@ -35,7 +35,7 @@ type RuntimeClassApplyConfiguration struct {
Spec *RuntimeClassSpecApplyConfiguration `json:"spec,omitempty"`
}
// RuntimeClass constructs an declarative configuration of the RuntimeClass type for use with
// RuntimeClass constructs a declarative configuration of the RuntimeClass type for use with
// apply.
func RuntimeClass(name string) *RuntimeClassApplyConfiguration {
b := &RuntimeClassApplyConfiguration{}
@ -245,3 +245,9 @@ func (b *RuntimeClassApplyConfiguration) WithSpec(value *RuntimeClassSpecApplyCo
b.Spec = value
return b
}
// GetName retrieves the value of the Name field in the declarative configuration.
func (b *RuntimeClassApplyConfiguration) GetName() *string {
b.ensureObjectMetaApplyConfigurationExists()
return b.Name
}

View File

@ -18,7 +18,7 @@ limitations under the License.
package v1alpha1
// RuntimeClassSpecApplyConfiguration represents an declarative configuration of the RuntimeClassSpec type for use
// RuntimeClassSpecApplyConfiguration represents a declarative configuration of the RuntimeClassSpec type for use
// with apply.
type RuntimeClassSpecApplyConfiguration struct {
RuntimeHandler *string `json:"runtimeHandler,omitempty"`
@ -26,7 +26,7 @@ type RuntimeClassSpecApplyConfiguration struct {
Scheduling *SchedulingApplyConfiguration `json:"scheduling,omitempty"`
}
// RuntimeClassSpecApplyConfiguration constructs an declarative configuration of the RuntimeClassSpec type for use with
// RuntimeClassSpecApplyConfiguration constructs a declarative configuration of the RuntimeClassSpec type for use with
// apply.
func RuntimeClassSpec() *RuntimeClassSpecApplyConfiguration {
return &RuntimeClassSpecApplyConfiguration{}

View File

@ -22,14 +22,14 @@ import (
v1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// SchedulingApplyConfiguration represents an declarative configuration of the Scheduling type for use
// SchedulingApplyConfiguration represents a declarative configuration of the Scheduling type for use
// with apply.
type SchedulingApplyConfiguration struct {
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Tolerations []v1.TolerationApplyConfiguration `json:"tolerations,omitempty"`
}
// SchedulingApplyConfiguration constructs an declarative configuration of the Scheduling type for use with
// SchedulingApplyConfiguration constructs a declarative configuration of the Scheduling type for use with
// apply.
func Scheduling() *SchedulingApplyConfiguration {
return &SchedulingApplyConfiguration{}