zz_generated.deepcopy.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuthentication) {
  21. *out = *in
  22. return
  23. }
  24. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication.
  25. func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
  26. if in == nil {
  27. return nil
  28. }
  29. out := new(KubeletAnonymousAuthentication)
  30. in.DeepCopyInto(out)
  31. return out
  32. }
  33. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  34. func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
  35. *out = *in
  36. out.X509 = in.X509
  37. out.Webhook = in.Webhook
  38. out.Anonymous = in.Anonymous
  39. return
  40. }
  41. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication.
  42. func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
  43. if in == nil {
  44. return nil
  45. }
  46. out := new(KubeletAuthentication)
  47. in.DeepCopyInto(out)
  48. return out
  49. }
  50. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  51. func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
  52. *out = *in
  53. out.Webhook = in.Webhook
  54. return
  55. }
  56. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization.
  57. func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
  58. if in == nil {
  59. return nil
  60. }
  61. out := new(KubeletAuthorization)
  62. in.DeepCopyInto(out)
  63. return out
  64. }
  65. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  66. func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
  67. *out = *in
  68. out.TypeMeta = in.TypeMeta
  69. out.SyncFrequency = in.SyncFrequency
  70. out.FileCheckFrequency = in.FileCheckFrequency
  71. out.HTTPCheckFrequency = in.HTTPCheckFrequency
  72. if in.StaticPodURLHeader != nil {
  73. in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader
  74. *out = make(map[string][]string, len(*in))
  75. for key, val := range *in {
  76. var outVal []string
  77. if val == nil {
  78. (*out)[key] = nil
  79. } else {
  80. in, out := &val, &outVal
  81. *out = make([]string, len(*in))
  82. copy(*out, *in)
  83. }
  84. (*out)[key] = outVal
  85. }
  86. }
  87. if in.TLSCipherSuites != nil {
  88. in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
  89. *out = make([]string, len(*in))
  90. copy(*out, *in)
  91. }
  92. out.Authentication = in.Authentication
  93. out.Authorization = in.Authorization
  94. if in.ClusterDNS != nil {
  95. in, out := &in.ClusterDNS, &out.ClusterDNS
  96. *out = make([]string, len(*in))
  97. copy(*out, *in)
  98. }
  99. out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout
  100. out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency
  101. out.NodeStatusReportFrequency = in.NodeStatusReportFrequency
  102. out.ImageMinimumGCAge = in.ImageMinimumGCAge
  103. out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod
  104. out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod
  105. if in.QOSReserved != nil {
  106. in, out := &in.QOSReserved, &out.QOSReserved
  107. *out = make(map[string]string, len(*in))
  108. for key, val := range *in {
  109. (*out)[key] = val
  110. }
  111. }
  112. out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
  113. out.CPUCFSQuotaPeriod = in.CPUCFSQuotaPeriod
  114. if in.EvictionHard != nil {
  115. in, out := &in.EvictionHard, &out.EvictionHard
  116. *out = make(map[string]string, len(*in))
  117. for key, val := range *in {
  118. (*out)[key] = val
  119. }
  120. }
  121. if in.EvictionSoft != nil {
  122. in, out := &in.EvictionSoft, &out.EvictionSoft
  123. *out = make(map[string]string, len(*in))
  124. for key, val := range *in {
  125. (*out)[key] = val
  126. }
  127. }
  128. if in.EvictionSoftGracePeriod != nil {
  129. in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod
  130. *out = make(map[string]string, len(*in))
  131. for key, val := range *in {
  132. (*out)[key] = val
  133. }
  134. }
  135. out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod
  136. if in.EvictionMinimumReclaim != nil {
  137. in, out := &in.EvictionMinimumReclaim, &out.EvictionMinimumReclaim
  138. *out = make(map[string]string, len(*in))
  139. for key, val := range *in {
  140. (*out)[key] = val
  141. }
  142. }
  143. if in.FeatureGates != nil {
  144. in, out := &in.FeatureGates, &out.FeatureGates
  145. *out = make(map[string]bool, len(*in))
  146. for key, val := range *in {
  147. (*out)[key] = val
  148. }
  149. }
  150. if in.AllowedUnsafeSysctls != nil {
  151. in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
  152. *out = make([]string, len(*in))
  153. copy(*out, *in)
  154. }
  155. if in.SystemReserved != nil {
  156. in, out := &in.SystemReserved, &out.SystemReserved
  157. *out = make(map[string]string, len(*in))
  158. for key, val := range *in {
  159. (*out)[key] = val
  160. }
  161. }
  162. if in.KubeReserved != nil {
  163. in, out := &in.KubeReserved, &out.KubeReserved
  164. *out = make(map[string]string, len(*in))
  165. for key, val := range *in {
  166. (*out)[key] = val
  167. }
  168. }
  169. if in.EnforceNodeAllocatable != nil {
  170. in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable
  171. *out = make([]string, len(*in))
  172. copy(*out, *in)
  173. }
  174. return
  175. }
  176. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
  177. func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
  178. if in == nil {
  179. return nil
  180. }
  181. out := new(KubeletConfiguration)
  182. in.DeepCopyInto(out)
  183. return out
  184. }
  185. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  186. func (in *KubeletConfiguration) DeepCopyObject() runtime.Object {
  187. if c := in.DeepCopy(); c != nil {
  188. return c
  189. }
  190. return nil
  191. }
  192. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  193. func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
  194. *out = *in
  195. out.CacheTTL = in.CacheTTL
  196. return
  197. }
  198. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
  199. func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
  200. if in == nil {
  201. return nil
  202. }
  203. out := new(KubeletWebhookAuthentication)
  204. in.DeepCopyInto(out)
  205. return out
  206. }
  207. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  208. func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) {
  209. *out = *in
  210. out.CacheAuthorizedTTL = in.CacheAuthorizedTTL
  211. out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL
  212. return
  213. }
  214. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
  215. func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
  216. if in == nil {
  217. return nil
  218. }
  219. out := new(KubeletWebhookAuthorization)
  220. in.DeepCopyInto(out)
  221. return out
  222. }
  223. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  224. func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) {
  225. *out = *in
  226. return
  227. }
  228. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
  229. func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
  230. if in == nil {
  231. return nil
  232. }
  233. out := new(KubeletX509Authentication)
  234. in.DeepCopyInto(out)
  235. return out
  236. }
  237. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  238. func (in *SerializedNodeConfigSource) DeepCopyInto(out *SerializedNodeConfigSource) {
  239. *out = *in
  240. out.TypeMeta = in.TypeMeta
  241. in.Source.DeepCopyInto(&out.Source)
  242. return
  243. }
  244. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedNodeConfigSource.
  245. func (in *SerializedNodeConfigSource) DeepCopy() *SerializedNodeConfigSource {
  246. if in == nil {
  247. return nil
  248. }
  249. out := new(SerializedNodeConfigSource)
  250. in.DeepCopyInto(out)
  251. return out
  252. }
  253. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  254. func (in *SerializedNodeConfigSource) DeepCopyObject() runtime.Object {
  255. if c := in.DeepCopy(); c != nil {
  256. return c
  257. }
  258. return nil
  259. }