zz_generated.deepcopy.go 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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.SystemReserved != nil {
  151. in, out := &in.SystemReserved, &out.SystemReserved
  152. *out = make(map[string]string, len(*in))
  153. for key, val := range *in {
  154. (*out)[key] = val
  155. }
  156. }
  157. if in.KubeReserved != nil {
  158. in, out := &in.KubeReserved, &out.KubeReserved
  159. *out = make(map[string]string, len(*in))
  160. for key, val := range *in {
  161. (*out)[key] = val
  162. }
  163. }
  164. if in.EnforceNodeAllocatable != nil {
  165. in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable
  166. *out = make([]string, len(*in))
  167. copy(*out, *in)
  168. }
  169. return
  170. }
  171. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
  172. func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
  173. if in == nil {
  174. return nil
  175. }
  176. out := new(KubeletConfiguration)
  177. in.DeepCopyInto(out)
  178. return out
  179. }
  180. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  181. func (in *KubeletConfiguration) DeepCopyObject() runtime.Object {
  182. if c := in.DeepCopy(); c != nil {
  183. return c
  184. }
  185. return nil
  186. }
  187. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  188. func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
  189. *out = *in
  190. out.CacheTTL = in.CacheTTL
  191. return
  192. }
  193. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
  194. func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
  195. if in == nil {
  196. return nil
  197. }
  198. out := new(KubeletWebhookAuthentication)
  199. in.DeepCopyInto(out)
  200. return out
  201. }
  202. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  203. func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) {
  204. *out = *in
  205. out.CacheAuthorizedTTL = in.CacheAuthorizedTTL
  206. out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL
  207. return
  208. }
  209. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
  210. func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
  211. if in == nil {
  212. return nil
  213. }
  214. out := new(KubeletWebhookAuthorization)
  215. in.DeepCopyInto(out)
  216. return out
  217. }
  218. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  219. func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) {
  220. *out = *in
  221. return
  222. }
  223. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
  224. func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
  225. if in == nil {
  226. return nil
  227. }
  228. out := new(KubeletX509Authentication)
  229. in.DeepCopyInto(out)
  230. return out
  231. }
  232. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  233. func (in *SerializedNodeConfigSource) DeepCopyInto(out *SerializedNodeConfigSource) {
  234. *out = *in
  235. out.TypeMeta = in.TypeMeta
  236. in.Source.DeepCopyInto(&out.Source)
  237. return
  238. }
  239. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedNodeConfigSource.
  240. func (in *SerializedNodeConfigSource) DeepCopy() *SerializedNodeConfigSource {
  241. if in == nil {
  242. return nil
  243. }
  244. out := new(SerializedNodeConfigSource)
  245. in.DeepCopyInto(out)
  246. return out
  247. }
  248. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  249. func (in *SerializedNodeConfigSource) DeepCopyObject() runtime.Object {
  250. if c := in.DeepCopy(); c != nil {
  251. return c
  252. }
  253. return nil
  254. }