zz_generated.deepcopy.go 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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 v1
  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 *AuthInfo) DeepCopyInto(out *AuthInfo) {
  21. *out = *in
  22. if in.ClientCertificateData != nil {
  23. in, out := &in.ClientCertificateData, &out.ClientCertificateData
  24. *out = make([]byte, len(*in))
  25. copy(*out, *in)
  26. }
  27. if in.ClientKeyData != nil {
  28. in, out := &in.ClientKeyData, &out.ClientKeyData
  29. *out = make([]byte, len(*in))
  30. copy(*out, *in)
  31. }
  32. if in.ImpersonateGroups != nil {
  33. in, out := &in.ImpersonateGroups, &out.ImpersonateGroups
  34. *out = make([]string, len(*in))
  35. copy(*out, *in)
  36. }
  37. if in.ImpersonateUserExtra != nil {
  38. in, out := &in.ImpersonateUserExtra, &out.ImpersonateUserExtra
  39. *out = make(map[string][]string, len(*in))
  40. for key, val := range *in {
  41. var outVal []string
  42. if val == nil {
  43. (*out)[key] = nil
  44. } else {
  45. in, out := &val, &outVal
  46. *out = make([]string, len(*in))
  47. copy(*out, *in)
  48. }
  49. (*out)[key] = outVal
  50. }
  51. }
  52. if in.AuthProvider != nil {
  53. in, out := &in.AuthProvider, &out.AuthProvider
  54. *out = new(AuthProviderConfig)
  55. (*in).DeepCopyInto(*out)
  56. }
  57. if in.Exec != nil {
  58. in, out := &in.Exec, &out.Exec
  59. *out = new(ExecConfig)
  60. (*in).DeepCopyInto(*out)
  61. }
  62. if in.Extensions != nil {
  63. in, out := &in.Extensions, &out.Extensions
  64. *out = make([]NamedExtension, len(*in))
  65. for i := range *in {
  66. (*in)[i].DeepCopyInto(&(*out)[i])
  67. }
  68. }
  69. return
  70. }
  71. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo.
  72. func (in *AuthInfo) DeepCopy() *AuthInfo {
  73. if in == nil {
  74. return nil
  75. }
  76. out := new(AuthInfo)
  77. in.DeepCopyInto(out)
  78. return out
  79. }
  80. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  81. func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) {
  82. *out = *in
  83. if in.Config != nil {
  84. in, out := &in.Config, &out.Config
  85. *out = make(map[string]string, len(*in))
  86. for key, val := range *in {
  87. (*out)[key] = val
  88. }
  89. }
  90. return
  91. }
  92. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig.
  93. func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig {
  94. if in == nil {
  95. return nil
  96. }
  97. out := new(AuthProviderConfig)
  98. in.DeepCopyInto(out)
  99. return out
  100. }
  101. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  102. func (in *Cluster) DeepCopyInto(out *Cluster) {
  103. *out = *in
  104. if in.CertificateAuthorityData != nil {
  105. in, out := &in.CertificateAuthorityData, &out.CertificateAuthorityData
  106. *out = make([]byte, len(*in))
  107. copy(*out, *in)
  108. }
  109. if in.Extensions != nil {
  110. in, out := &in.Extensions, &out.Extensions
  111. *out = make([]NamedExtension, len(*in))
  112. for i := range *in {
  113. (*in)[i].DeepCopyInto(&(*out)[i])
  114. }
  115. }
  116. return
  117. }
  118. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
  119. func (in *Cluster) DeepCopy() *Cluster {
  120. if in == nil {
  121. return nil
  122. }
  123. out := new(Cluster)
  124. in.DeepCopyInto(out)
  125. return out
  126. }
  127. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  128. func (in *Config) DeepCopyInto(out *Config) {
  129. *out = *in
  130. in.Preferences.DeepCopyInto(&out.Preferences)
  131. if in.Clusters != nil {
  132. in, out := &in.Clusters, &out.Clusters
  133. *out = make([]NamedCluster, len(*in))
  134. for i := range *in {
  135. (*in)[i].DeepCopyInto(&(*out)[i])
  136. }
  137. }
  138. if in.AuthInfos != nil {
  139. in, out := &in.AuthInfos, &out.AuthInfos
  140. *out = make([]NamedAuthInfo, len(*in))
  141. for i := range *in {
  142. (*in)[i].DeepCopyInto(&(*out)[i])
  143. }
  144. }
  145. if in.Contexts != nil {
  146. in, out := &in.Contexts, &out.Contexts
  147. *out = make([]NamedContext, len(*in))
  148. for i := range *in {
  149. (*in)[i].DeepCopyInto(&(*out)[i])
  150. }
  151. }
  152. if in.Extensions != nil {
  153. in, out := &in.Extensions, &out.Extensions
  154. *out = make([]NamedExtension, len(*in))
  155. for i := range *in {
  156. (*in)[i].DeepCopyInto(&(*out)[i])
  157. }
  158. }
  159. return
  160. }
  161. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
  162. func (in *Config) DeepCopy() *Config {
  163. if in == nil {
  164. return nil
  165. }
  166. out := new(Config)
  167. in.DeepCopyInto(out)
  168. return out
  169. }
  170. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  171. func (in *Config) DeepCopyObject() runtime.Object {
  172. if c := in.DeepCopy(); c != nil {
  173. return c
  174. }
  175. return nil
  176. }
  177. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  178. func (in *Context) DeepCopyInto(out *Context) {
  179. *out = *in
  180. if in.Extensions != nil {
  181. in, out := &in.Extensions, &out.Extensions
  182. *out = make([]NamedExtension, len(*in))
  183. for i := range *in {
  184. (*in)[i].DeepCopyInto(&(*out)[i])
  185. }
  186. }
  187. return
  188. }
  189. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context.
  190. func (in *Context) DeepCopy() *Context {
  191. if in == nil {
  192. return nil
  193. }
  194. out := new(Context)
  195. in.DeepCopyInto(out)
  196. return out
  197. }
  198. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  199. func (in *ExecConfig) DeepCopyInto(out *ExecConfig) {
  200. *out = *in
  201. if in.Args != nil {
  202. in, out := &in.Args, &out.Args
  203. *out = make([]string, len(*in))
  204. copy(*out, *in)
  205. }
  206. if in.Env != nil {
  207. in, out := &in.Env, &out.Env
  208. *out = make([]ExecEnvVar, len(*in))
  209. copy(*out, *in)
  210. }
  211. return
  212. }
  213. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecConfig.
  214. func (in *ExecConfig) DeepCopy() *ExecConfig {
  215. if in == nil {
  216. return nil
  217. }
  218. out := new(ExecConfig)
  219. in.DeepCopyInto(out)
  220. return out
  221. }
  222. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  223. func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
  224. *out = *in
  225. return
  226. }
  227. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar.
  228. func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
  229. if in == nil {
  230. return nil
  231. }
  232. out := new(ExecEnvVar)
  233. in.DeepCopyInto(out)
  234. return out
  235. }
  236. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  237. func (in *NamedAuthInfo) DeepCopyInto(out *NamedAuthInfo) {
  238. *out = *in
  239. in.AuthInfo.DeepCopyInto(&out.AuthInfo)
  240. return
  241. }
  242. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo.
  243. func (in *NamedAuthInfo) DeepCopy() *NamedAuthInfo {
  244. if in == nil {
  245. return nil
  246. }
  247. out := new(NamedAuthInfo)
  248. in.DeepCopyInto(out)
  249. return out
  250. }
  251. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  252. func (in *NamedCluster) DeepCopyInto(out *NamedCluster) {
  253. *out = *in
  254. in.Cluster.DeepCopyInto(&out.Cluster)
  255. return
  256. }
  257. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster.
  258. func (in *NamedCluster) DeepCopy() *NamedCluster {
  259. if in == nil {
  260. return nil
  261. }
  262. out := new(NamedCluster)
  263. in.DeepCopyInto(out)
  264. return out
  265. }
  266. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  267. func (in *NamedContext) DeepCopyInto(out *NamedContext) {
  268. *out = *in
  269. in.Context.DeepCopyInto(&out.Context)
  270. return
  271. }
  272. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext.
  273. func (in *NamedContext) DeepCopy() *NamedContext {
  274. if in == nil {
  275. return nil
  276. }
  277. out := new(NamedContext)
  278. in.DeepCopyInto(out)
  279. return out
  280. }
  281. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  282. func (in *NamedExtension) DeepCopyInto(out *NamedExtension) {
  283. *out = *in
  284. in.Extension.DeepCopyInto(&out.Extension)
  285. return
  286. }
  287. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension.
  288. func (in *NamedExtension) DeepCopy() *NamedExtension {
  289. if in == nil {
  290. return nil
  291. }
  292. out := new(NamedExtension)
  293. in.DeepCopyInto(out)
  294. return out
  295. }
  296. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  297. func (in *Preferences) DeepCopyInto(out *Preferences) {
  298. *out = *in
  299. if in.Extensions != nil {
  300. in, out := &in.Extensions, &out.Extensions
  301. *out = make([]NamedExtension, len(*in))
  302. for i := range *in {
  303. (*in)[i].DeepCopyInto(&(*out)[i])
  304. }
  305. }
  306. return
  307. }
  308. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences.
  309. func (in *Preferences) DeepCopy() *Preferences {
  310. if in == nil {
  311. return nil
  312. }
  313. out := new(Preferences)
  314. in.DeepCopyInto(out)
  315. return out
  316. }