...
1
2
3
4
19
20
21
22 package config
23
24 import (
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in ConfigurationMap) DeepCopyInto(out *ConfigurationMap) {
31 {
32 in := &in
33 *out = make(ConfigurationMap, len(*in))
34 for key, val := range *in {
35 (*out)[key] = val
36 }
37 return
38 }
39 }
40
41
42 func (in ConfigurationMap) DeepCopy() ConfigurationMap {
43 if in == nil {
44 return nil
45 }
46 out := new(ConfigurationMap)
47 in.DeepCopyInto(out)
48 return *out
49 }
50
51
52 func (in *DetectLocalConfiguration) DeepCopyInto(out *DetectLocalConfiguration) {
53 *out = *in
54 return
55 }
56
57
58 func (in *DetectLocalConfiguration) DeepCopy() *DetectLocalConfiguration {
59 if in == nil {
60 return nil
61 }
62 out := new(DetectLocalConfiguration)
63 in.DeepCopyInto(out)
64 return out
65 }
66
67
68 func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
69 *out = *in
70 out.TypeMeta = in.TypeMeta
71 if in.FeatureGates != nil {
72 in, out := &in.FeatureGates, &out.FeatureGates
73 *out = make(map[string]bool, len(*in))
74 for key, val := range *in {
75 (*out)[key] = val
76 }
77 }
78 out.ClientConnection = in.ClientConnection
79 in.Logging.DeepCopyInto(&out.Logging)
80 in.IPTables.DeepCopyInto(&out.IPTables)
81 in.IPVS.DeepCopyInto(&out.IPVS)
82 out.Winkernel = in.Winkernel
83 in.NFTables.DeepCopyInto(&out.NFTables)
84 out.DetectLocal = in.DetectLocal
85 if in.NodePortAddresses != nil {
86 in, out := &in.NodePortAddresses, &out.NodePortAddresses
87 *out = make([]string, len(*in))
88 copy(*out, *in)
89 }
90 if in.OOMScoreAdj != nil {
91 in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
92 *out = new(int32)
93 **out = **in
94 }
95 in.Conntrack.DeepCopyInto(&out.Conntrack)
96 out.ConfigSyncPeriod = in.ConfigSyncPeriod
97 return
98 }
99
100
101 func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration {
102 if in == nil {
103 return nil
104 }
105 out := new(KubeProxyConfiguration)
106 in.DeepCopyInto(out)
107 return out
108 }
109
110
111 func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object {
112 if c := in.DeepCopy(); c != nil {
113 return c
114 }
115 return nil
116 }
117
118
119 func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackConfiguration) {
120 *out = *in
121 if in.MaxPerCore != nil {
122 in, out := &in.MaxPerCore, &out.MaxPerCore
123 *out = new(int32)
124 **out = **in
125 }
126 if in.Min != nil {
127 in, out := &in.Min, &out.Min
128 *out = new(int32)
129 **out = **in
130 }
131 if in.TCPEstablishedTimeout != nil {
132 in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout
133 *out = new(v1.Duration)
134 **out = **in
135 }
136 if in.TCPCloseWaitTimeout != nil {
137 in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout
138 *out = new(v1.Duration)
139 **out = **in
140 }
141 out.UDPTimeout = in.UDPTimeout
142 out.UDPStreamTimeout = in.UDPStreamTimeout
143 return
144 }
145
146
147 func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration {
148 if in == nil {
149 return nil
150 }
151 out := new(KubeProxyConntrackConfiguration)
152 in.DeepCopyInto(out)
153 return out
154 }
155
156
157 func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesConfiguration) {
158 *out = *in
159 if in.MasqueradeBit != nil {
160 in, out := &in.MasqueradeBit, &out.MasqueradeBit
161 *out = new(int32)
162 **out = **in
163 }
164 if in.LocalhostNodePorts != nil {
165 in, out := &in.LocalhostNodePorts, &out.LocalhostNodePorts
166 *out = new(bool)
167 **out = **in
168 }
169 out.SyncPeriod = in.SyncPeriod
170 out.MinSyncPeriod = in.MinSyncPeriod
171 return
172 }
173
174
175 func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration {
176 if in == nil {
177 return nil
178 }
179 out := new(KubeProxyIPTablesConfiguration)
180 in.DeepCopyInto(out)
181 return out
182 }
183
184
185 func (in *KubeProxyIPVSConfiguration) DeepCopyInto(out *KubeProxyIPVSConfiguration) {
186 *out = *in
187 out.SyncPeriod = in.SyncPeriod
188 out.MinSyncPeriod = in.MinSyncPeriod
189 if in.ExcludeCIDRs != nil {
190 in, out := &in.ExcludeCIDRs, &out.ExcludeCIDRs
191 *out = make([]string, len(*in))
192 copy(*out, *in)
193 }
194 out.TCPTimeout = in.TCPTimeout
195 out.TCPFinTimeout = in.TCPFinTimeout
196 out.UDPTimeout = in.UDPTimeout
197 return
198 }
199
200
201 func (in *KubeProxyIPVSConfiguration) DeepCopy() *KubeProxyIPVSConfiguration {
202 if in == nil {
203 return nil
204 }
205 out := new(KubeProxyIPVSConfiguration)
206 in.DeepCopyInto(out)
207 return out
208 }
209
210
211 func (in *KubeProxyNFTablesConfiguration) DeepCopyInto(out *KubeProxyNFTablesConfiguration) {
212 *out = *in
213 if in.MasqueradeBit != nil {
214 in, out := &in.MasqueradeBit, &out.MasqueradeBit
215 *out = new(int32)
216 **out = **in
217 }
218 out.SyncPeriod = in.SyncPeriod
219 out.MinSyncPeriod = in.MinSyncPeriod
220 return
221 }
222
223
224 func (in *KubeProxyNFTablesConfiguration) DeepCopy() *KubeProxyNFTablesConfiguration {
225 if in == nil {
226 return nil
227 }
228 out := new(KubeProxyNFTablesConfiguration)
229 in.DeepCopyInto(out)
230 return out
231 }
232
233
234 func (in *KubeProxyWinkernelConfiguration) DeepCopyInto(out *KubeProxyWinkernelConfiguration) {
235 *out = *in
236 return
237 }
238
239
240 func (in *KubeProxyWinkernelConfiguration) DeepCopy() *KubeProxyWinkernelConfiguration {
241 if in == nil {
242 return nil
243 }
244 out := new(KubeProxyWinkernelConfiguration)
245 in.DeepCopyInto(out)
246 return out
247 }
248
View as plain text