1 // +build !ignore_autogenerated
4 Copyright 2016 The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // This file was autogenerated by deepcopy-gen. Do not edit it manually!
24 api "k8s.io/kubernetes/pkg/api"
25 conversion "k8s.io/kubernetes/pkg/conversion"
29 if err := api.Scheme.AddGeneratedDeepCopyFuncs(
30 DeepCopy_v1alpha1_KubeProxyConfiguration,
31 DeepCopy_v1alpha1_KubeSchedulerConfiguration,
32 DeepCopy_v1alpha1_LeaderElectionConfiguration,
34 // if one of the deep copy functions is malformed, detect it immediately.
39 func DeepCopy_v1alpha1_KubeProxyConfiguration(in KubeProxyConfiguration, out *KubeProxyConfiguration, c *conversion.Cloner) error {
40 out.TypeMeta = in.TypeMeta
41 out.BindAddress = in.BindAddress
42 out.ClusterCIDR = in.ClusterCIDR
43 out.HealthzBindAddress = in.HealthzBindAddress
44 out.HealthzPort = in.HealthzPort
45 out.HostnameOverride = in.HostnameOverride
46 if in.IPTablesMasqueradeBit != nil {
47 in, out := in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
51 out.IPTablesMasqueradeBit = nil
53 out.IPTablesSyncPeriod = in.IPTablesSyncPeriod
54 out.KubeconfigPath = in.KubeconfigPath
55 out.MasqueradeAll = in.MasqueradeAll
56 out.Master = in.Master
57 if in.OOMScoreAdj != nil {
58 in, out := in.OOMScoreAdj, &out.OOMScoreAdj
65 out.PortRange = in.PortRange
66 out.ResourceContainer = in.ResourceContainer
67 out.UDPIdleTimeout = in.UDPIdleTimeout
68 out.ConntrackMax = in.ConntrackMax
69 out.ConntrackTCPEstablishedTimeout = in.ConntrackTCPEstablishedTimeout
73 func DeepCopy_v1alpha1_KubeSchedulerConfiguration(in KubeSchedulerConfiguration, out *KubeSchedulerConfiguration, c *conversion.Cloner) error {
74 out.TypeMeta = in.TypeMeta
76 out.Address = in.Address
77 out.AlgorithmProvider = in.AlgorithmProvider
78 out.PolicyConfigFile = in.PolicyConfigFile
79 if in.EnableProfiling != nil {
80 in, out := in.EnableProfiling, &out.EnableProfiling
84 out.EnableProfiling = nil
86 out.ContentType = in.ContentType
87 out.KubeAPIQPS = in.KubeAPIQPS
88 out.KubeAPIBurst = in.KubeAPIBurst
89 out.SchedulerName = in.SchedulerName
90 out.HardPodAffinitySymmetricWeight = in.HardPodAffinitySymmetricWeight
91 out.FailureDomains = in.FailureDomains
92 if err := DeepCopy_v1alpha1_LeaderElectionConfiguration(in.LeaderElection, &out.LeaderElection, c); err != nil {
98 func DeepCopy_v1alpha1_LeaderElectionConfiguration(in LeaderElectionConfiguration, out *LeaderElectionConfiguration, c *conversion.Cloner) error {
99 if in.LeaderElect != nil {
100 in, out := in.LeaderElect, &out.LeaderElect
104 out.LeaderElect = nil
106 out.LeaseDuration = in.LeaseDuration
107 out.RenewDeadline = in.RenewDeadline
108 out.RetryPeriod = in.RetryPeriod