
Change-Id: I3fd5bc4b62d26c7e6d118ba08b6c001c871fcbd3 Implements: blueprint service-controller-test Signed-off-by: mozhuli <21621232@zju.edu.cn>
626 lines
22 KiB
Go
626 lines
22 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2017 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.
|
|
*/
|
|
|
|
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
|
|
|
|
package componentconfig
|
|
|
|
import (
|
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
api "k8s.io/kubernetes/pkg/api"
|
|
reflect "reflect"
|
|
)
|
|
|
|
// Deprecated: register deep-copy functions.
|
|
func init() {
|
|
SchemeBuilder.Register(RegisterDeepCopies)
|
|
}
|
|
|
|
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
|
// to allow building arbitrary schemes.
|
|
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
|
return scheme.AddGeneratedDeepCopyFuncs(
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*ClientConnectionConfiguration).DeepCopyInto(out.(*ClientConnectionConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&ClientConnectionConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*GroupResource).DeepCopyInto(out.(*GroupResource))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&GroupResource{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*IPVar).DeepCopyInto(out.(*IPVar))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&IPVar{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeControllerManagerConfiguration).DeepCopyInto(out.(*KubeControllerManagerConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeControllerManagerConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeProxyConfiguration).DeepCopyInto(out.(*KubeProxyConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeProxyConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeProxyConntrackConfiguration).DeepCopyInto(out.(*KubeProxyConntrackConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeProxyConntrackConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeProxyIPTablesConfiguration).DeepCopyInto(out.(*KubeProxyIPTablesConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeProxyIPTablesConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeSchedulerConfiguration).DeepCopyInto(out.(*KubeSchedulerConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletAnonymousAuthentication).DeepCopyInto(out.(*KubeletAnonymousAuthentication))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletAnonymousAuthentication{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletAuthentication).DeepCopyInto(out.(*KubeletAuthentication))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletAuthentication{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletAuthorization).DeepCopyInto(out.(*KubeletAuthorization))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletAuthorization{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletConfiguration).DeepCopyInto(out.(*KubeletConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletWebhookAuthentication).DeepCopyInto(out.(*KubeletWebhookAuthentication))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletWebhookAuthentication{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletWebhookAuthorization).DeepCopyInto(out.(*KubeletWebhookAuthorization))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletWebhookAuthorization{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*KubeletX509Authentication).DeepCopyInto(out.(*KubeletX509Authentication))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&KubeletX509Authentication{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*LeaderElectionConfiguration).DeepCopyInto(out.(*LeaderElectionConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&LeaderElectionConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*PersistentVolumeRecyclerConfiguration).DeepCopyInto(out.(*PersistentVolumeRecyclerConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&PersistentVolumeRecyclerConfiguration{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*PortRangeVar).DeepCopyInto(out.(*PortRangeVar))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&PortRangeVar{})},
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
in.(*VolumeConfiguration).DeepCopyInto(out.(*VolumeConfiguration))
|
|
return nil
|
|
}, InType: reflect.TypeOf(&VolumeConfiguration{})},
|
|
)
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfiguration) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
|
|
func (x *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(ClientConnectionConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GroupResource) DeepCopyInto(out *GroupResource) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource.
|
|
func (x *GroupResource) DeepCopy() *GroupResource {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(GroupResource)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IPVar) DeepCopyInto(out *IPVar) {
|
|
*out = *in
|
|
if in.Val != nil {
|
|
in, out := &in.Val, &out.Val
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IPVar.
|
|
func (x *IPVar) DeepCopy() *IPVar {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(IPVar)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerManagerConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
if in.Controllers != nil {
|
|
in, out := &in.Controllers, &out.Controllers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.ServiceSyncPeriod = in.ServiceSyncPeriod
|
|
out.NodeSyncPeriod = in.NodeSyncPeriod
|
|
out.RouteReconciliationPeriod = in.RouteReconciliationPeriod
|
|
out.ResourceQuotaSyncPeriod = in.ResourceQuotaSyncPeriod
|
|
out.NamespaceSyncPeriod = in.NamespaceSyncPeriod
|
|
out.PVClaimBinderSyncPeriod = in.PVClaimBinderSyncPeriod
|
|
out.MinResyncPeriod = in.MinResyncPeriod
|
|
out.HorizontalPodAutoscalerSyncPeriod = in.HorizontalPodAutoscalerSyncPeriod
|
|
out.HorizontalPodAutoscalerUpscaleForbiddenWindow = in.HorizontalPodAutoscalerUpscaleForbiddenWindow
|
|
out.HorizontalPodAutoscalerDownscaleForbiddenWindow = in.HorizontalPodAutoscalerDownscaleForbiddenWindow
|
|
out.DeploymentControllerSyncPeriod = in.DeploymentControllerSyncPeriod
|
|
out.PodEvictionTimeout = in.PodEvictionTimeout
|
|
out.NodeMonitorGracePeriod = in.NodeMonitorGracePeriod
|
|
out.NodeStartupGracePeriod = in.NodeStartupGracePeriod
|
|
out.NodeMonitorPeriod = in.NodeMonitorPeriod
|
|
out.ClusterSigningDuration = in.ClusterSigningDuration
|
|
out.LeaderElection = in.LeaderElection
|
|
out.VolumeConfiguration = in.VolumeConfiguration
|
|
out.ControllerStartInterval = in.ControllerStartInterval
|
|
if in.GCIgnoredResources != nil {
|
|
in, out := &in.GCIgnoredResources, &out.GCIgnoredResources
|
|
*out = make([]GroupResource, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.ReconcilerSyncLoopPeriod = in.ReconcilerSyncLoopPeriod
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration.
|
|
func (x *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeControllerManagerConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ClientConnection = in.ClientConnection
|
|
in.IPTables.DeepCopyInto(&out.IPTables)
|
|
if in.OOMScoreAdj != nil {
|
|
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
out.UDPIdleTimeout = in.UDPIdleTimeout
|
|
out.Conntrack = in.Conntrack
|
|
out.ConfigSyncPeriod = in.ConfigSyncPeriod
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration.
|
|
func (x *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeProxyConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *KubeProxyConfiguration) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackConfiguration) {
|
|
*out = *in
|
|
out.TCPEstablishedTimeout = in.TCPEstablishedTimeout
|
|
out.TCPCloseWaitTimeout = in.TCPCloseWaitTimeout
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration.
|
|
func (x *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeProxyConntrackConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesConfiguration) {
|
|
*out = *in
|
|
if in.MasqueradeBit != nil {
|
|
in, out := &in.MasqueradeBit, &out.MasqueradeBit
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
out.SyncPeriod = in.SyncPeriod
|
|
out.MinSyncPeriod = in.MinSyncPeriod
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration.
|
|
func (x *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeProxyIPTablesConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.LeaderElection = in.LeaderElection
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration.
|
|
func (x *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeSchedulerConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuthentication) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication.
|
|
func (x *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletAnonymousAuthentication)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
|
|
*out = *in
|
|
out.X509 = in.X509
|
|
out.Webhook = in.Webhook
|
|
out.Anonymous = in.Anonymous
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication.
|
|
func (x *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletAuthentication)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
|
|
*out = *in
|
|
out.Webhook = in.Webhook
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization.
|
|
func (x *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletAuthorization)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.SyncFrequency = in.SyncFrequency
|
|
out.FileCheckFrequency = in.FileCheckFrequency
|
|
out.HTTPCheckFrequency = in.HTTPCheckFrequency
|
|
out.Authentication = in.Authentication
|
|
out.Authorization = in.Authorization
|
|
if in.HostNetworkSources != nil {
|
|
in, out := &in.HostNetworkSources, &out.HostNetworkSources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.HostPIDSources != nil {
|
|
in, out := &in.HostPIDSources, &out.HostPIDSources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.HostIPCSources != nil {
|
|
in, out := &in.HostIPCSources, &out.HostIPCSources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.MinimumGCAge = in.MinimumGCAge
|
|
if in.ClusterDNS != nil {
|
|
in, out := &in.ClusterDNS, &out.ClusterDNS
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout
|
|
out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency
|
|
out.ImageMinimumGCAge = in.ImageMinimumGCAge
|
|
out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod
|
|
out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
|
|
if in.RegisterWithTaints != nil {
|
|
in, out := &in.RegisterWithTaints, &out.RegisterWithTaints
|
|
*out = make([]api.Taint, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency
|
|
if in.NodeLabels != nil {
|
|
in, out := &in.NodeLabels, &out.NodeLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod
|
|
if in.ExperimentalQOSReserved != nil {
|
|
in, out := &in.ExperimentalQOSReserved, &out.ExperimentalQOSReserved
|
|
*out = make(ConfigurationMap, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.AllowedUnsafeSysctls != nil {
|
|
in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SystemReserved != nil {
|
|
in, out := &in.SystemReserved, &out.SystemReserved
|
|
*out = make(ConfigurationMap, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.KubeReserved != nil {
|
|
in, out := &in.KubeReserved, &out.KubeReserved
|
|
*out = make(ConfigurationMap, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.EnforceNodeAllocatable != nil {
|
|
in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
|
|
func (x *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (x *KubeletConfiguration) DeepCopyObject() runtime.Object {
|
|
if c := x.DeepCopy(); c != nil {
|
|
return c
|
|
} else {
|
|
return nil
|
|
}
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
|
|
*out = *in
|
|
out.CacheTTL = in.CacheTTL
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
|
|
func (x *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletWebhookAuthentication)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) {
|
|
*out = *in
|
|
out.CacheAuthorizedTTL = in.CacheAuthorizedTTL
|
|
out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
|
|
func (x *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletWebhookAuthorization)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
|
|
func (x *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletX509Authentication)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfiguration) {
|
|
*out = *in
|
|
out.LeaseDuration = in.LeaseDuration
|
|
out.RenewDeadline = in.RenewDeadline
|
|
out.RetryPeriod = in.RetryPeriod
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
|
|
func (x *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(LeaderElectionConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVolumeRecyclerConfiguration) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration.
|
|
func (x *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(PersistentVolumeRecyclerConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PortRangeVar) DeepCopyInto(out *PortRangeVar) {
|
|
*out = *in
|
|
if in.Val != nil {
|
|
in, out := &in.Val, &out.Val
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PortRangeVar.
|
|
func (x *PortRangeVar) DeepCopy() *PortRangeVar {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(PortRangeVar)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration) {
|
|
*out = *in
|
|
out.PersistentVolumeRecyclerConfiguration = in.PersistentVolumeRecyclerConfiguration
|
|
return
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration.
|
|
func (x *VolumeConfiguration) DeepCopy() *VolumeConfiguration {
|
|
if x == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeConfiguration)
|
|
x.DeepCopyInto(out)
|
|
return out
|
|
}
|