mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-24 18:35:10 +00:00
74 lines
3.1 KiB
Go
Generated
74 lines
3.1 KiB
Go
Generated
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// Code generated by defaulter-gen. DO NOT EDIT.
|
|
|
|
package v1
|
|
|
|
import (
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
configv1 "k8s.io/kube-scheduler/config/v1"
|
|
)
|
|
|
|
// RegisterDefaults adds defaulters functions to the given scheme.
|
|
// Public to allow building arbitrary schemes.
|
|
// All generated defaulters are covering - they call all nested defaulters.
|
|
func RegisterDefaults(scheme *runtime.Scheme) error {
|
|
scheme.AddTypeDefaultingFunc(&configv1.DefaultPreemptionArgs{}, func(obj interface{}) { SetObjectDefaults_DefaultPreemptionArgs(obj.(*configv1.DefaultPreemptionArgs)) })
|
|
scheme.AddTypeDefaultingFunc(&configv1.InterPodAffinityArgs{}, func(obj interface{}) { SetObjectDefaults_InterPodAffinityArgs(obj.(*configv1.InterPodAffinityArgs)) })
|
|
scheme.AddTypeDefaultingFunc(&configv1.KubeSchedulerConfiguration{}, func(obj interface{}) {
|
|
SetObjectDefaults_KubeSchedulerConfiguration(obj.(*configv1.KubeSchedulerConfiguration))
|
|
})
|
|
scheme.AddTypeDefaultingFunc(&configv1.NodeResourcesBalancedAllocationArgs{}, func(obj interface{}) {
|
|
SetObjectDefaults_NodeResourcesBalancedAllocationArgs(obj.(*configv1.NodeResourcesBalancedAllocationArgs))
|
|
})
|
|
scheme.AddTypeDefaultingFunc(&configv1.NodeResourcesFitArgs{}, func(obj interface{}) { SetObjectDefaults_NodeResourcesFitArgs(obj.(*configv1.NodeResourcesFitArgs)) })
|
|
scheme.AddTypeDefaultingFunc(&configv1.PodTopologySpreadArgs{}, func(obj interface{}) { SetObjectDefaults_PodTopologySpreadArgs(obj.(*configv1.PodTopologySpreadArgs)) })
|
|
scheme.AddTypeDefaultingFunc(&configv1.VolumeBindingArgs{}, func(obj interface{}) { SetObjectDefaults_VolumeBindingArgs(obj.(*configv1.VolumeBindingArgs)) })
|
|
return nil
|
|
}
|
|
|
|
func SetObjectDefaults_DefaultPreemptionArgs(in *configv1.DefaultPreemptionArgs) {
|
|
SetDefaults_DefaultPreemptionArgs(in)
|
|
}
|
|
|
|
func SetObjectDefaults_InterPodAffinityArgs(in *configv1.InterPodAffinityArgs) {
|
|
SetDefaults_InterPodAffinityArgs(in)
|
|
}
|
|
|
|
func SetObjectDefaults_KubeSchedulerConfiguration(in *configv1.KubeSchedulerConfiguration) {
|
|
SetDefaults_KubeSchedulerConfiguration(in)
|
|
}
|
|
|
|
func SetObjectDefaults_NodeResourcesBalancedAllocationArgs(in *configv1.NodeResourcesBalancedAllocationArgs) {
|
|
SetDefaults_NodeResourcesBalancedAllocationArgs(in)
|
|
}
|
|
|
|
func SetObjectDefaults_NodeResourcesFitArgs(in *configv1.NodeResourcesFitArgs) {
|
|
SetDefaults_NodeResourcesFitArgs(in)
|
|
}
|
|
|
|
func SetObjectDefaults_PodTopologySpreadArgs(in *configv1.PodTopologySpreadArgs) {
|
|
SetDefaults_PodTopologySpreadArgs(in)
|
|
}
|
|
|
|
func SetObjectDefaults_VolumeBindingArgs(in *configv1.VolumeBindingArgs) {
|
|
SetDefaults_VolumeBindingArgs(in)
|
|
}
|