zz_generated.deepcopy.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package config
  16. import (
  17. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in ConfigurationMap) DeepCopyInto(out *ConfigurationMap) {
  22. {
  23. in := &in
  24. *out = make(ConfigurationMap, len(*in))
  25. for key, val := range *in {
  26. (*out)[key] = val
  27. }
  28. return
  29. }
  30. }
  31. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationMap.
  32. func (in ConfigurationMap) DeepCopy() ConfigurationMap {
  33. if in == nil {
  34. return nil
  35. }
  36. out := new(ConfigurationMap)
  37. in.DeepCopyInto(out)
  38. return *out
  39. }
  40. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  41. func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) {
  42. *out = *in
  43. out.TypeMeta = in.TypeMeta
  44. if in.FeatureGates != nil {
  45. in, out := &in.FeatureGates, &out.FeatureGates
  46. *out = make(map[string]bool, len(*in))
  47. for key, val := range *in {
  48. (*out)[key] = val
  49. }
  50. }
  51. out.ClientConnection = in.ClientConnection
  52. in.IPTables.DeepCopyInto(&out.IPTables)
  53. in.IPVS.DeepCopyInto(&out.IPVS)
  54. if in.OOMScoreAdj != nil {
  55. in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
  56. *out = new(int32)
  57. **out = **in
  58. }
  59. out.UDPIdleTimeout = in.UDPIdleTimeout
  60. in.Conntrack.DeepCopyInto(&out.Conntrack)
  61. out.ConfigSyncPeriod = in.ConfigSyncPeriod
  62. if in.NodePortAddresses != nil {
  63. in, out := &in.NodePortAddresses, &out.NodePortAddresses
  64. *out = make([]string, len(*in))
  65. copy(*out, *in)
  66. }
  67. out.Winkernel = in.Winkernel
  68. return
  69. }
  70. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration.
  71. func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration {
  72. if in == nil {
  73. return nil
  74. }
  75. out := new(KubeProxyConfiguration)
  76. in.DeepCopyInto(out)
  77. return out
  78. }
  79. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  80. func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object {
  81. if c := in.DeepCopy(); c != nil {
  82. return c
  83. }
  84. return nil
  85. }
  86. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  87. func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackConfiguration) {
  88. *out = *in
  89. if in.MaxPerCore != nil {
  90. in, out := &in.MaxPerCore, &out.MaxPerCore
  91. *out = new(int32)
  92. **out = **in
  93. }
  94. if in.Min != nil {
  95. in, out := &in.Min, &out.Min
  96. *out = new(int32)
  97. **out = **in
  98. }
  99. if in.TCPEstablishedTimeout != nil {
  100. in, out := &in.TCPEstablishedTimeout, &out.TCPEstablishedTimeout
  101. *out = new(v1.Duration)
  102. **out = **in
  103. }
  104. if in.TCPCloseWaitTimeout != nil {
  105. in, out := &in.TCPCloseWaitTimeout, &out.TCPCloseWaitTimeout
  106. *out = new(v1.Duration)
  107. **out = **in
  108. }
  109. return
  110. }
  111. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration.
  112. func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration {
  113. if in == nil {
  114. return nil
  115. }
  116. out := new(KubeProxyConntrackConfiguration)
  117. in.DeepCopyInto(out)
  118. return out
  119. }
  120. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  121. func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesConfiguration) {
  122. *out = *in
  123. if in.MasqueradeBit != nil {
  124. in, out := &in.MasqueradeBit, &out.MasqueradeBit
  125. *out = new(int32)
  126. **out = **in
  127. }
  128. out.SyncPeriod = in.SyncPeriod
  129. out.MinSyncPeriod = in.MinSyncPeriod
  130. return
  131. }
  132. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration.
  133. func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration {
  134. if in == nil {
  135. return nil
  136. }
  137. out := new(KubeProxyIPTablesConfiguration)
  138. in.DeepCopyInto(out)
  139. return out
  140. }
  141. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  142. func (in *KubeProxyIPVSConfiguration) DeepCopyInto(out *KubeProxyIPVSConfiguration) {
  143. *out = *in
  144. out.SyncPeriod = in.SyncPeriod
  145. out.MinSyncPeriod = in.MinSyncPeriod
  146. if in.ExcludeCIDRs != nil {
  147. in, out := &in.ExcludeCIDRs, &out.ExcludeCIDRs
  148. *out = make([]string, len(*in))
  149. copy(*out, *in)
  150. }
  151. out.TCPTimeout = in.TCPTimeout
  152. out.TCPFinTimeout = in.TCPFinTimeout
  153. out.UDPTimeout = in.UDPTimeout
  154. return
  155. }
  156. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPVSConfiguration.
  157. func (in *KubeProxyIPVSConfiguration) DeepCopy() *KubeProxyIPVSConfiguration {
  158. if in == nil {
  159. return nil
  160. }
  161. out := new(KubeProxyIPVSConfiguration)
  162. in.DeepCopyInto(out)
  163. return out
  164. }
  165. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  166. func (in *KubeProxyWinkernelConfiguration) DeepCopyInto(out *KubeProxyWinkernelConfiguration) {
  167. *out = *in
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyWinkernelConfiguration.
  171. func (in *KubeProxyWinkernelConfiguration) DeepCopy() *KubeProxyWinkernelConfiguration {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(KubeProxyWinkernelConfiguration)
  176. in.DeepCopyInto(out)
  177. return out
  178. }