04d9ab09b9c83e90374a58911d45be962c613598
[oom/registrator.git] /
1 // +build !ignore_autogenerated
2
3 /*
4 Copyright 2016 The Kubernetes Authors.
5
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
9
10     http://www.apache.org/licenses/LICENSE-2.0
11
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.
17 */
18
19 // This file was autogenerated by deepcopy-gen. Do not edit it manually!
20
21 package v1alpha1
22
23 import (
24         api "k8s.io/kubernetes/pkg/api"
25         conversion "k8s.io/kubernetes/pkg/conversion"
26 )
27
28 func init() {
29         if err := api.Scheme.AddGeneratedDeepCopyFuncs(
30                 DeepCopy_v1alpha1_KubeProxyConfiguration,
31                 DeepCopy_v1alpha1_KubeSchedulerConfiguration,
32                 DeepCopy_v1alpha1_LeaderElectionConfiguration,
33         ); err != nil {
34                 // if one of the deep copy functions is malformed, detect it immediately.
35                 panic(err)
36         }
37 }
38
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
48                 *out = new(int32)
49                 **out = *in
50         } else {
51                 out.IPTablesMasqueradeBit = nil
52         }
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
59                 *out = new(int32)
60                 **out = *in
61         } else {
62                 out.OOMScoreAdj = nil
63         }
64         out.Mode = in.Mode
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
70         return nil
71 }
72
73 func DeepCopy_v1alpha1_KubeSchedulerConfiguration(in KubeSchedulerConfiguration, out *KubeSchedulerConfiguration, c *conversion.Cloner) error {
74         out.TypeMeta = in.TypeMeta
75         out.Port = in.Port
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
81                 *out = new(bool)
82                 **out = *in
83         } else {
84                 out.EnableProfiling = nil
85         }
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 {
93                 return err
94         }
95         return nil
96 }
97
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
101                 *out = new(bool)
102                 **out = *in
103         } else {
104                 out.LeaderElect = nil
105         }
106         out.LeaseDuration = in.LeaseDuration
107         out.RenewDeadline = in.RenewDeadline
108         out.RetryPeriod = in.RetryPeriod
109         return nil
110 }