zz_generated.deepcopy.go 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. // +build !ignore_autogenerated
  2. /*
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by controller-gen. DO NOT EDIT.
  14. package v1alpha1
  15. import (
  16. metav1 "github.com/external-secrets/external-secrets/apis/meta/v1"
  17. "k8s.io/apimachinery/pkg/apis/meta/v1"
  18. "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 *AWSAuth) DeepCopyInto(out *AWSAuth) {
  22. *out = *in
  23. in.SecretRef.DeepCopyInto(&out.SecretRef)
  24. }
  25. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuth.
  26. func (in *AWSAuth) DeepCopy() *AWSAuth {
  27. if in == nil {
  28. return nil
  29. }
  30. out := new(AWSAuth)
  31. in.DeepCopyInto(out)
  32. return out
  33. }
  34. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  35. func (in *AWSAuthSecretRef) DeepCopyInto(out *AWSAuthSecretRef) {
  36. *out = *in
  37. in.AccessKeyID.DeepCopyInto(&out.AccessKeyID)
  38. in.SecretAccessKey.DeepCopyInto(&out.SecretAccessKey)
  39. }
  40. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthSecretRef.
  41. func (in *AWSAuthSecretRef) DeepCopy() *AWSAuthSecretRef {
  42. if in == nil {
  43. return nil
  44. }
  45. out := new(AWSAuthSecretRef)
  46. in.DeepCopyInto(out)
  47. return out
  48. }
  49. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  50. func (in *AWSProvider) DeepCopyInto(out *AWSProvider) {
  51. *out = *in
  52. if in.Auth != nil {
  53. in, out := &in.Auth, &out.Auth
  54. *out = new(AWSAuth)
  55. (*in).DeepCopyInto(*out)
  56. }
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSProvider.
  59. func (in *AWSProvider) DeepCopy() *AWSProvider {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(AWSProvider)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  68. func (in *ClusterSecretStore) DeepCopyInto(out *ClusterSecretStore) {
  69. *out = *in
  70. out.TypeMeta = in.TypeMeta
  71. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  72. in.Spec.DeepCopyInto(&out.Spec)
  73. }
  74. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStore.
  75. func (in *ClusterSecretStore) DeepCopy() *ClusterSecretStore {
  76. if in == nil {
  77. return nil
  78. }
  79. out := new(ClusterSecretStore)
  80. in.DeepCopyInto(out)
  81. return out
  82. }
  83. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  84. func (in *ClusterSecretStore) DeepCopyObject() runtime.Object {
  85. if c := in.DeepCopy(); c != nil {
  86. return c
  87. }
  88. return nil
  89. }
  90. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  91. func (in *ClusterSecretStoreList) DeepCopyInto(out *ClusterSecretStoreList) {
  92. *out = *in
  93. out.TypeMeta = in.TypeMeta
  94. in.ListMeta.DeepCopyInto(&out.ListMeta)
  95. if in.Items != nil {
  96. in, out := &in.Items, &out.Items
  97. *out = make([]ClusterSecretStore, len(*in))
  98. for i := range *in {
  99. (*in)[i].DeepCopyInto(&(*out)[i])
  100. }
  101. }
  102. }
  103. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStoreList.
  104. func (in *ClusterSecretStoreList) DeepCopy() *ClusterSecretStoreList {
  105. if in == nil {
  106. return nil
  107. }
  108. out := new(ClusterSecretStoreList)
  109. in.DeepCopyInto(out)
  110. return out
  111. }
  112. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  113. func (in *ClusterSecretStoreList) DeepCopyObject() runtime.Object {
  114. if c := in.DeepCopy(); c != nil {
  115. return c
  116. }
  117. return nil
  118. }
  119. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  120. func (in *ExternalSecret) DeepCopyInto(out *ExternalSecret) {
  121. *out = *in
  122. out.TypeMeta = in.TypeMeta
  123. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  124. in.Spec.DeepCopyInto(&out.Spec)
  125. in.Status.DeepCopyInto(&out.Status)
  126. }
  127. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecret.
  128. func (in *ExternalSecret) DeepCopy() *ExternalSecret {
  129. if in == nil {
  130. return nil
  131. }
  132. out := new(ExternalSecret)
  133. in.DeepCopyInto(out)
  134. return out
  135. }
  136. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  137. func (in *ExternalSecret) DeepCopyObject() runtime.Object {
  138. if c := in.DeepCopy(); c != nil {
  139. return c
  140. }
  141. return nil
  142. }
  143. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  144. func (in *ExternalSecretData) DeepCopyInto(out *ExternalSecretData) {
  145. *out = *in
  146. out.RemoteRef = in.RemoteRef
  147. }
  148. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretData.
  149. func (in *ExternalSecretData) DeepCopy() *ExternalSecretData {
  150. if in == nil {
  151. return nil
  152. }
  153. out := new(ExternalSecretData)
  154. in.DeepCopyInto(out)
  155. return out
  156. }
  157. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  158. func (in *ExternalSecretDataRemoteRef) DeepCopyInto(out *ExternalSecretDataRemoteRef) {
  159. *out = *in
  160. }
  161. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretDataRemoteRef.
  162. func (in *ExternalSecretDataRemoteRef) DeepCopy() *ExternalSecretDataRemoteRef {
  163. if in == nil {
  164. return nil
  165. }
  166. out := new(ExternalSecretDataRemoteRef)
  167. in.DeepCopyInto(out)
  168. return out
  169. }
  170. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  171. func (in *ExternalSecretList) DeepCopyInto(out *ExternalSecretList) {
  172. *out = *in
  173. out.TypeMeta = in.TypeMeta
  174. in.ListMeta.DeepCopyInto(&out.ListMeta)
  175. if in.Items != nil {
  176. in, out := &in.Items, &out.Items
  177. *out = make([]ExternalSecret, len(*in))
  178. for i := range *in {
  179. (*in)[i].DeepCopyInto(&(*out)[i])
  180. }
  181. }
  182. }
  183. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretList.
  184. func (in *ExternalSecretList) DeepCopy() *ExternalSecretList {
  185. if in == nil {
  186. return nil
  187. }
  188. out := new(ExternalSecretList)
  189. in.DeepCopyInto(out)
  190. return out
  191. }
  192. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  193. func (in *ExternalSecretList) DeepCopyObject() runtime.Object {
  194. if c := in.DeepCopy(); c != nil {
  195. return c
  196. }
  197. return nil
  198. }
  199. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  200. func (in *ExternalSecretSpec) DeepCopyInto(out *ExternalSecretSpec) {
  201. *out = *in
  202. out.SecretStoreRef = in.SecretStoreRef
  203. in.Target.DeepCopyInto(&out.Target)
  204. if in.RefreshInterval != nil {
  205. in, out := &in.RefreshInterval, &out.RefreshInterval
  206. *out = new(v1.Duration)
  207. **out = **in
  208. }
  209. if in.Data != nil {
  210. in, out := &in.Data, &out.Data
  211. *out = make([]ExternalSecretData, len(*in))
  212. copy(*out, *in)
  213. }
  214. if in.DataFrom != nil {
  215. in, out := &in.DataFrom, &out.DataFrom
  216. *out = make([]ExternalSecretDataRemoteRef, len(*in))
  217. copy(*out, *in)
  218. }
  219. }
  220. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretSpec.
  221. func (in *ExternalSecretSpec) DeepCopy() *ExternalSecretSpec {
  222. if in == nil {
  223. return nil
  224. }
  225. out := new(ExternalSecretSpec)
  226. in.DeepCopyInto(out)
  227. return out
  228. }
  229. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  230. func (in *ExternalSecretStatus) DeepCopyInto(out *ExternalSecretStatus) {
  231. *out = *in
  232. in.RefreshTime.DeepCopyInto(&out.RefreshTime)
  233. if in.Conditions != nil {
  234. in, out := &in.Conditions, &out.Conditions
  235. *out = make([]ExternalSecretStatusCondition, len(*in))
  236. for i := range *in {
  237. (*in)[i].DeepCopyInto(&(*out)[i])
  238. }
  239. }
  240. }
  241. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretStatus.
  242. func (in *ExternalSecretStatus) DeepCopy() *ExternalSecretStatus {
  243. if in == nil {
  244. return nil
  245. }
  246. out := new(ExternalSecretStatus)
  247. in.DeepCopyInto(out)
  248. return out
  249. }
  250. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  251. func (in *ExternalSecretStatusCondition) DeepCopyInto(out *ExternalSecretStatusCondition) {
  252. *out = *in
  253. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  254. }
  255. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretStatusCondition.
  256. func (in *ExternalSecretStatusCondition) DeepCopy() *ExternalSecretStatusCondition {
  257. if in == nil {
  258. return nil
  259. }
  260. out := new(ExternalSecretStatusCondition)
  261. in.DeepCopyInto(out)
  262. return out
  263. }
  264. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  265. func (in *ExternalSecretTarget) DeepCopyInto(out *ExternalSecretTarget) {
  266. *out = *in
  267. if in.Template != nil {
  268. in, out := &in.Template, &out.Template
  269. *out = new(ExternalSecretTemplate)
  270. (*in).DeepCopyInto(*out)
  271. }
  272. }
  273. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTarget.
  274. func (in *ExternalSecretTarget) DeepCopy() *ExternalSecretTarget {
  275. if in == nil {
  276. return nil
  277. }
  278. out := new(ExternalSecretTarget)
  279. in.DeepCopyInto(out)
  280. return out
  281. }
  282. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  283. func (in *ExternalSecretTemplate) DeepCopyInto(out *ExternalSecretTemplate) {
  284. *out = *in
  285. in.Metadata.DeepCopyInto(&out.Metadata)
  286. if in.Data != nil {
  287. in, out := &in.Data, &out.Data
  288. *out = make(map[string][]byte, len(*in))
  289. for key, val := range *in {
  290. var outVal []byte
  291. if val == nil {
  292. (*out)[key] = nil
  293. } else {
  294. in, out := &val, &outVal
  295. *out = make([]byte, len(*in))
  296. copy(*out, *in)
  297. }
  298. (*out)[key] = outVal
  299. }
  300. }
  301. }
  302. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTemplate.
  303. func (in *ExternalSecretTemplate) DeepCopy() *ExternalSecretTemplate {
  304. if in == nil {
  305. return nil
  306. }
  307. out := new(ExternalSecretTemplate)
  308. in.DeepCopyInto(out)
  309. return out
  310. }
  311. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  312. func (in *ExternalSecretTemplateMetadata) DeepCopyInto(out *ExternalSecretTemplateMetadata) {
  313. *out = *in
  314. if in.Annotations != nil {
  315. in, out := &in.Annotations, &out.Annotations
  316. *out = make(map[string]string, len(*in))
  317. for key, val := range *in {
  318. (*out)[key] = val
  319. }
  320. }
  321. if in.Labels != nil {
  322. in, out := &in.Labels, &out.Labels
  323. *out = make(map[string]string, len(*in))
  324. for key, val := range *in {
  325. (*out)[key] = val
  326. }
  327. }
  328. }
  329. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSecretTemplateMetadata.
  330. func (in *ExternalSecretTemplateMetadata) DeepCopy() *ExternalSecretTemplateMetadata {
  331. if in == nil {
  332. return nil
  333. }
  334. out := new(ExternalSecretTemplateMetadata)
  335. in.DeepCopyInto(out)
  336. return out
  337. }
  338. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  339. func (in *SecretStore) DeepCopyInto(out *SecretStore) {
  340. *out = *in
  341. out.TypeMeta = in.TypeMeta
  342. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  343. in.Spec.DeepCopyInto(&out.Spec)
  344. in.Status.DeepCopyInto(&out.Status)
  345. }
  346. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStore.
  347. func (in *SecretStore) DeepCopy() *SecretStore {
  348. if in == nil {
  349. return nil
  350. }
  351. out := new(SecretStore)
  352. in.DeepCopyInto(out)
  353. return out
  354. }
  355. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  356. func (in *SecretStore) DeepCopyObject() runtime.Object {
  357. if c := in.DeepCopy(); c != nil {
  358. return c
  359. }
  360. return nil
  361. }
  362. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  363. func (in *SecretStoreList) DeepCopyInto(out *SecretStoreList) {
  364. *out = *in
  365. out.TypeMeta = in.TypeMeta
  366. in.ListMeta.DeepCopyInto(&out.ListMeta)
  367. if in.Items != nil {
  368. in, out := &in.Items, &out.Items
  369. *out = make([]SecretStore, len(*in))
  370. for i := range *in {
  371. (*in)[i].DeepCopyInto(&(*out)[i])
  372. }
  373. }
  374. }
  375. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreList.
  376. func (in *SecretStoreList) DeepCopy() *SecretStoreList {
  377. if in == nil {
  378. return nil
  379. }
  380. out := new(SecretStoreList)
  381. in.DeepCopyInto(out)
  382. return out
  383. }
  384. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  385. func (in *SecretStoreList) DeepCopyObject() runtime.Object {
  386. if c := in.DeepCopy(); c != nil {
  387. return c
  388. }
  389. return nil
  390. }
  391. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  392. func (in *SecretStoreProvider) DeepCopyInto(out *SecretStoreProvider) {
  393. *out = *in
  394. if in.AWS != nil {
  395. in, out := &in.AWS, &out.AWS
  396. *out = new(AWSProvider)
  397. (*in).DeepCopyInto(*out)
  398. }
  399. if in.Vault != nil {
  400. in, out := &in.Vault, &out.Vault
  401. *out = new(VaultProvider)
  402. (*in).DeepCopyInto(*out)
  403. }
  404. }
  405. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreProvider.
  406. func (in *SecretStoreProvider) DeepCopy() *SecretStoreProvider {
  407. if in == nil {
  408. return nil
  409. }
  410. out := new(SecretStoreProvider)
  411. in.DeepCopyInto(out)
  412. return out
  413. }
  414. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  415. func (in *SecretStoreRef) DeepCopyInto(out *SecretStoreRef) {
  416. *out = *in
  417. }
  418. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreRef.
  419. func (in *SecretStoreRef) DeepCopy() *SecretStoreRef {
  420. if in == nil {
  421. return nil
  422. }
  423. out := new(SecretStoreRef)
  424. in.DeepCopyInto(out)
  425. return out
  426. }
  427. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  428. func (in *SecretStoreSpec) DeepCopyInto(out *SecretStoreSpec) {
  429. *out = *in
  430. if in.Provider != nil {
  431. in, out := &in.Provider, &out.Provider
  432. *out = new(SecretStoreProvider)
  433. (*in).DeepCopyInto(*out)
  434. }
  435. }
  436. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreSpec.
  437. func (in *SecretStoreSpec) DeepCopy() *SecretStoreSpec {
  438. if in == nil {
  439. return nil
  440. }
  441. out := new(SecretStoreSpec)
  442. in.DeepCopyInto(out)
  443. return out
  444. }
  445. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  446. func (in *SecretStoreStatus) DeepCopyInto(out *SecretStoreStatus) {
  447. *out = *in
  448. if in.Conditions != nil {
  449. in, out := &in.Conditions, &out.Conditions
  450. *out = make([]SecretStoreStatusCondition, len(*in))
  451. for i := range *in {
  452. (*in)[i].DeepCopyInto(&(*out)[i])
  453. }
  454. }
  455. }
  456. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreStatus.
  457. func (in *SecretStoreStatus) DeepCopy() *SecretStoreStatus {
  458. if in == nil {
  459. return nil
  460. }
  461. out := new(SecretStoreStatus)
  462. in.DeepCopyInto(out)
  463. return out
  464. }
  465. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  466. func (in *SecretStoreStatusCondition) DeepCopyInto(out *SecretStoreStatusCondition) {
  467. *out = *in
  468. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  469. }
  470. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStoreStatusCondition.
  471. func (in *SecretStoreStatusCondition) DeepCopy() *SecretStoreStatusCondition {
  472. if in == nil {
  473. return nil
  474. }
  475. out := new(SecretStoreStatusCondition)
  476. in.DeepCopyInto(out)
  477. return out
  478. }
  479. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  480. func (in *VaultAppRole) DeepCopyInto(out *VaultAppRole) {
  481. *out = *in
  482. in.SecretRef.DeepCopyInto(&out.SecretRef)
  483. }
  484. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAppRole.
  485. func (in *VaultAppRole) DeepCopy() *VaultAppRole {
  486. if in == nil {
  487. return nil
  488. }
  489. out := new(VaultAppRole)
  490. in.DeepCopyInto(out)
  491. return out
  492. }
  493. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  494. func (in *VaultAuth) DeepCopyInto(out *VaultAuth) {
  495. *out = *in
  496. if in.TokenSecretRef != nil {
  497. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  498. *out = new(metav1.SecretKeySelector)
  499. (*in).DeepCopyInto(*out)
  500. }
  501. if in.AppRole != nil {
  502. in, out := &in.AppRole, &out.AppRole
  503. *out = new(VaultAppRole)
  504. (*in).DeepCopyInto(*out)
  505. }
  506. if in.Kubernetes != nil {
  507. in, out := &in.Kubernetes, &out.Kubernetes
  508. *out = new(VaultKubernetesAuth)
  509. (*in).DeepCopyInto(*out)
  510. }
  511. if in.Ldap != nil {
  512. in, out := &in.Ldap, &out.Ldap
  513. *out = new(VaultLdapAuth)
  514. (*in).DeepCopyInto(*out)
  515. }
  516. if in.Jwt != nil {
  517. in, out := &in.Jwt, &out.Jwt
  518. *out = new(VaultJwtAuth)
  519. (*in).DeepCopyInto(*out)
  520. }
  521. }
  522. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAuth.
  523. func (in *VaultAuth) DeepCopy() *VaultAuth {
  524. if in == nil {
  525. return nil
  526. }
  527. out := new(VaultAuth)
  528. in.DeepCopyInto(out)
  529. return out
  530. }
  531. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  532. func (in *VaultJwtAuth) DeepCopyInto(out *VaultJwtAuth) {
  533. *out = *in
  534. in.SecretRef.DeepCopyInto(&out.SecretRef)
  535. }
  536. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultJwtAuth.
  537. func (in *VaultJwtAuth) DeepCopy() *VaultJwtAuth {
  538. if in == nil {
  539. return nil
  540. }
  541. out := new(VaultJwtAuth)
  542. in.DeepCopyInto(out)
  543. return out
  544. }
  545. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  546. func (in *VaultKubernetesAuth) DeepCopyInto(out *VaultKubernetesAuth) {
  547. *out = *in
  548. if in.ServiceAccountRef != nil {
  549. in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
  550. *out = new(metav1.ServiceAccountSelector)
  551. (*in).DeepCopyInto(*out)
  552. }
  553. if in.SecretRef != nil {
  554. in, out := &in.SecretRef, &out.SecretRef
  555. *out = new(metav1.SecretKeySelector)
  556. (*in).DeepCopyInto(*out)
  557. }
  558. }
  559. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKubernetesAuth.
  560. func (in *VaultKubernetesAuth) DeepCopy() *VaultKubernetesAuth {
  561. if in == nil {
  562. return nil
  563. }
  564. out := new(VaultKubernetesAuth)
  565. in.DeepCopyInto(out)
  566. return out
  567. }
  568. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  569. func (in *VaultLdapAuth) DeepCopyInto(out *VaultLdapAuth) {
  570. *out = *in
  571. in.SecretRef.DeepCopyInto(&out.SecretRef)
  572. }
  573. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultLdapAuth.
  574. func (in *VaultLdapAuth) DeepCopy() *VaultLdapAuth {
  575. if in == nil {
  576. return nil
  577. }
  578. out := new(VaultLdapAuth)
  579. in.DeepCopyInto(out)
  580. return out
  581. }
  582. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  583. func (in *VaultProvider) DeepCopyInto(out *VaultProvider) {
  584. *out = *in
  585. in.Auth.DeepCopyInto(&out.Auth)
  586. if in.Namespace != nil {
  587. in, out := &in.Namespace, &out.Namespace
  588. *out = new(string)
  589. **out = **in
  590. }
  591. if in.CABundle != nil {
  592. in, out := &in.CABundle, &out.CABundle
  593. *out = make([]byte, len(*in))
  594. copy(*out, *in)
  595. }
  596. }
  597. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultProvider.
  598. func (in *VaultProvider) DeepCopy() *VaultProvider {
  599. if in == nil {
  600. return nil
  601. }
  602. out := new(VaultProvider)
  603. in.DeepCopyInto(out)
  604. return out
  605. }