zz_generated.deepcopy.go 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright 2026 LocoStack.
  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 controller-gen. DO NOT EDIT.
  15. package v1alpha1
  16. import (
  17. "k8s.io/api/core/v1"
  18. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *ArtifactSpec) DeepCopyInto(out *ArtifactSpec) {
  23. *out = *in
  24. if in.HuggingFace != nil {
  25. in, out := &in.HuggingFace, &out.HuggingFace
  26. *out = new(HuggingFaceArtifactSpec)
  27. (*in).DeepCopyInto(*out)
  28. }
  29. if in.URL != nil {
  30. in, out := &in.URL, &out.URL
  31. *out = new(URLArtifactSpec)
  32. (*in).DeepCopyInto(*out)
  33. }
  34. if in.PVC != nil {
  35. in, out := &in.PVC, &out.PVC
  36. *out = new(PVCArtifactSpec)
  37. **out = **in
  38. }
  39. }
  40. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSpec.
  41. func (in *ArtifactSpec) DeepCopy() *ArtifactSpec {
  42. if in == nil {
  43. return nil
  44. }
  45. out := new(ArtifactSpec)
  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 *AuthAPIKey) DeepCopyInto(out *AuthAPIKey) {
  51. *out = *in
  52. in.SecretRef.DeepCopyInto(&out.SecretRef)
  53. }
  54. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthAPIKey.
  55. func (in *AuthAPIKey) DeepCopy() *AuthAPIKey {
  56. if in == nil {
  57. return nil
  58. }
  59. out := new(AuthAPIKey)
  60. in.DeepCopyInto(out)
  61. return out
  62. }
  63. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  64. func (in *AuthSpec) DeepCopyInto(out *AuthSpec) {
  65. *out = *in
  66. if in.BearerToken != nil {
  67. in, out := &in.BearerToken, &out.BearerToken
  68. *out = new(v1.SecretKeySelector)
  69. (*in).DeepCopyInto(*out)
  70. }
  71. if in.APIKey != nil {
  72. in, out := &in.APIKey, &out.APIKey
  73. *out = new(AuthAPIKey)
  74. (*in).DeepCopyInto(*out)
  75. }
  76. if in.Headers != nil {
  77. in, out := &in.Headers, &out.Headers
  78. *out = make([]HTTPHeaderSpec, len(*in))
  79. for i := range *in {
  80. (*in)[i].DeepCopyInto(&(*out)[i])
  81. }
  82. }
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
  85. func (in *AuthSpec) DeepCopy() *AuthSpec {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(AuthSpec)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  94. func (in *Component) DeepCopyInto(out *Component) {
  95. *out = *in
  96. out.TypeMeta = in.TypeMeta
  97. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  98. in.Spec.DeepCopyInto(&out.Spec)
  99. in.Status.DeepCopyInto(&out.Status)
  100. }
  101. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
  102. func (in *Component) DeepCopy() *Component {
  103. if in == nil {
  104. return nil
  105. }
  106. out := new(Component)
  107. in.DeepCopyInto(out)
  108. return out
  109. }
  110. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  111. func (in *Component) DeepCopyObject() runtime.Object {
  112. if c := in.DeepCopy(); c != nil {
  113. return c
  114. }
  115. return nil
  116. }
  117. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  118. func (in *ComponentList) DeepCopyInto(out *ComponentList) {
  119. *out = *in
  120. out.TypeMeta = in.TypeMeta
  121. in.ListMeta.DeepCopyInto(&out.ListMeta)
  122. if in.Items != nil {
  123. in, out := &in.Items, &out.Items
  124. *out = make([]Component, len(*in))
  125. for i := range *in {
  126. (*in)[i].DeepCopyInto(&(*out)[i])
  127. }
  128. }
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
  131. func (in *ComponentList) DeepCopy() *ComponentList {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(ComponentList)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  140. func (in *ComponentList) DeepCopyObject() runtime.Object {
  141. if c := in.DeepCopy(); c != nil {
  142. return c
  143. }
  144. return nil
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
  148. *out = *in
  149. if in.Template != nil {
  150. in, out := &in.Template, &out.Template
  151. *out = new(Template)
  152. (*in).DeepCopyInto(*out)
  153. }
  154. if in.Variables != nil {
  155. in, out := &in.Variables, &out.Variables
  156. *out = make(map[string]string, len(*in))
  157. for key, val := range *in {
  158. (*out)[key] = val
  159. }
  160. }
  161. if in.Dependencies != nil {
  162. in, out := &in.Dependencies, &out.Dependencies
  163. *out = make([]v1.ObjectReference, len(*in))
  164. copy(*out, *in)
  165. }
  166. if in.StackRef != nil {
  167. in, out := &in.StackRef, &out.StackRef
  168. *out = new(v1.LocalObjectReference)
  169. **out = **in
  170. }
  171. }
  172. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
  173. func (in *ComponentSpec) DeepCopy() *ComponentSpec {
  174. if in == nil {
  175. return nil
  176. }
  177. out := new(ComponentSpec)
  178. in.DeepCopyInto(out)
  179. return out
  180. }
  181. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  182. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  183. *out = *in
  184. if in.Dependencies != nil {
  185. in, out := &in.Dependencies, &out.Dependencies
  186. *out = make(map[string]map[string]int64, len(*in))
  187. for key, val := range *in {
  188. var outVal map[string]int64
  189. if val == nil {
  190. (*out)[key] = nil
  191. } else {
  192. inVal := (*in)[key]
  193. in, out := &inVal, &outVal
  194. *out = make(map[string]int64, len(*in))
  195. for key, val := range *in {
  196. (*out)[key] = val
  197. }
  198. }
  199. (*out)[key] = outVal
  200. }
  201. }
  202. if in.Conditions != nil {
  203. in, out := &in.Conditions, &out.Conditions
  204. *out = make([]metav1.Condition, len(*in))
  205. for i := range *in {
  206. (*in)[i].DeepCopyInto(&(*out)[i])
  207. }
  208. }
  209. }
  210. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  211. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  212. if in == nil {
  213. return nil
  214. }
  215. out := new(ComponentStatus)
  216. in.DeepCopyInto(out)
  217. return out
  218. }
  219. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  220. func (in *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
  221. *out = *in
  222. if in.Args != nil {
  223. in, out := &in.Args, &out.Args
  224. *out = make([]string, len(*in))
  225. copy(*out, *in)
  226. }
  227. }
  228. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
  229. func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
  230. if in == nil {
  231. return nil
  232. }
  233. out := new(ConditionalArgs)
  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 *ExternalKnowledgeBase) DeepCopyInto(out *ExternalKnowledgeBase) {
  239. *out = *in
  240. out.TypeMeta = in.TypeMeta
  241. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  242. in.Spec.DeepCopyInto(&out.Spec)
  243. in.Status.DeepCopyInto(&out.Status)
  244. }
  245. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBase.
  246. func (in *ExternalKnowledgeBase) DeepCopy() *ExternalKnowledgeBase {
  247. if in == nil {
  248. return nil
  249. }
  250. out := new(ExternalKnowledgeBase)
  251. in.DeepCopyInto(out)
  252. return out
  253. }
  254. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  255. func (in *ExternalKnowledgeBase) DeepCopyObject() runtime.Object {
  256. if c := in.DeepCopy(); c != nil {
  257. return c
  258. }
  259. return nil
  260. }
  261. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  262. func (in *ExternalKnowledgeBaseList) DeepCopyInto(out *ExternalKnowledgeBaseList) {
  263. *out = *in
  264. out.TypeMeta = in.TypeMeta
  265. in.ListMeta.DeepCopyInto(&out.ListMeta)
  266. if in.Items != nil {
  267. in, out := &in.Items, &out.Items
  268. *out = make([]ExternalKnowledgeBase, len(*in))
  269. for i := range *in {
  270. (*in)[i].DeepCopyInto(&(*out)[i])
  271. }
  272. }
  273. }
  274. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseList.
  275. func (in *ExternalKnowledgeBaseList) DeepCopy() *ExternalKnowledgeBaseList {
  276. if in == nil {
  277. return nil
  278. }
  279. out := new(ExternalKnowledgeBaseList)
  280. in.DeepCopyInto(out)
  281. return out
  282. }
  283. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  284. func (in *ExternalKnowledgeBaseList) DeepCopyObject() runtime.Object {
  285. if c := in.DeepCopy(); c != nil {
  286. return c
  287. }
  288. return nil
  289. }
  290. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  291. func (in *ExternalKnowledgeBaseSpec) DeepCopyInto(out *ExternalKnowledgeBaseSpec) {
  292. *out = *in
  293. if in.Foo != nil {
  294. in, out := &in.Foo, &out.Foo
  295. *out = new(string)
  296. **out = **in
  297. }
  298. }
  299. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseSpec.
  300. func (in *ExternalKnowledgeBaseSpec) DeepCopy() *ExternalKnowledgeBaseSpec {
  301. if in == nil {
  302. return nil
  303. }
  304. out := new(ExternalKnowledgeBaseSpec)
  305. in.DeepCopyInto(out)
  306. return out
  307. }
  308. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  309. func (in *ExternalKnowledgeBaseStatus) DeepCopyInto(out *ExternalKnowledgeBaseStatus) {
  310. *out = *in
  311. if in.Conditions != nil {
  312. in, out := &in.Conditions, &out.Conditions
  313. *out = make([]metav1.Condition, len(*in))
  314. for i := range *in {
  315. (*in)[i].DeepCopyInto(&(*out)[i])
  316. }
  317. }
  318. }
  319. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseStatus.
  320. func (in *ExternalKnowledgeBaseStatus) DeepCopy() *ExternalKnowledgeBaseStatus {
  321. if in == nil {
  322. return nil
  323. }
  324. out := new(ExternalKnowledgeBaseStatus)
  325. in.DeepCopyInto(out)
  326. return out
  327. }
  328. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  329. func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
  330. *out = *in
  331. out.TypeMeta = in.TypeMeta
  332. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  333. in.Spec.DeepCopyInto(&out.Spec)
  334. in.Status.DeepCopyInto(&out.Status)
  335. }
  336. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
  337. func (in *ExternalModel) DeepCopy() *ExternalModel {
  338. if in == nil {
  339. return nil
  340. }
  341. out := new(ExternalModel)
  342. in.DeepCopyInto(out)
  343. return out
  344. }
  345. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  346. func (in *ExternalModel) DeepCopyObject() runtime.Object {
  347. if c := in.DeepCopy(); c != nil {
  348. return c
  349. }
  350. return nil
  351. }
  352. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  353. func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
  354. *out = *in
  355. out.TypeMeta = in.TypeMeta
  356. in.ListMeta.DeepCopyInto(&out.ListMeta)
  357. if in.Items != nil {
  358. in, out := &in.Items, &out.Items
  359. *out = make([]ExternalModel, len(*in))
  360. for i := range *in {
  361. (*in)[i].DeepCopyInto(&(*out)[i])
  362. }
  363. }
  364. }
  365. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
  366. func (in *ExternalModelList) DeepCopy() *ExternalModelList {
  367. if in == nil {
  368. return nil
  369. }
  370. out := new(ExternalModelList)
  371. in.DeepCopyInto(out)
  372. return out
  373. }
  374. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  375. func (in *ExternalModelList) DeepCopyObject() runtime.Object {
  376. if c := in.DeepCopy(); c != nil {
  377. return c
  378. }
  379. return nil
  380. }
  381. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  382. func (in *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
  383. *out = *in
  384. if in.StackRef != nil {
  385. in, out := &in.StackRef, &out.StackRef
  386. *out = new(v1.LocalObjectReference)
  387. **out = **in
  388. }
  389. if in.Auth != nil {
  390. in, out := &in.Auth, &out.Auth
  391. *out = new(AuthSpec)
  392. (*in).DeepCopyInto(*out)
  393. }
  394. if in.ExtraParams != nil {
  395. in, out := &in.ExtraParams, &out.ExtraParams
  396. *out = make(map[string]string, len(*in))
  397. for key, val := range *in {
  398. (*out)[key] = val
  399. }
  400. }
  401. if in.DefaultInferenceParams != nil {
  402. in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
  403. *out = new(InferenceParameters)
  404. (*in).DeepCopyInto(*out)
  405. }
  406. }
  407. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
  408. func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
  409. if in == nil {
  410. return nil
  411. }
  412. out := new(ExternalModelSpec)
  413. in.DeepCopyInto(out)
  414. return out
  415. }
  416. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  417. func (in *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
  418. *out = *in
  419. if in.Conditions != nil {
  420. in, out := &in.Conditions, &out.Conditions
  421. *out = make([]metav1.Condition, len(*in))
  422. for i := range *in {
  423. (*in)[i].DeepCopyInto(&(*out)[i])
  424. }
  425. }
  426. }
  427. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
  428. func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
  429. if in == nil {
  430. return nil
  431. }
  432. out := new(ExternalModelStatus)
  433. in.DeepCopyInto(out)
  434. return out
  435. }
  436. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  437. func (in *ExternalTool) DeepCopyInto(out *ExternalTool) {
  438. *out = *in
  439. out.TypeMeta = in.TypeMeta
  440. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  441. in.Spec.DeepCopyInto(&out.Spec)
  442. in.Status.DeepCopyInto(&out.Status)
  443. }
  444. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTool.
  445. func (in *ExternalTool) DeepCopy() *ExternalTool {
  446. if in == nil {
  447. return nil
  448. }
  449. out := new(ExternalTool)
  450. in.DeepCopyInto(out)
  451. return out
  452. }
  453. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  454. func (in *ExternalTool) DeepCopyObject() runtime.Object {
  455. if c := in.DeepCopy(); c != nil {
  456. return c
  457. }
  458. return nil
  459. }
  460. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  461. func (in *ExternalToolList) DeepCopyInto(out *ExternalToolList) {
  462. *out = *in
  463. out.TypeMeta = in.TypeMeta
  464. in.ListMeta.DeepCopyInto(&out.ListMeta)
  465. if in.Items != nil {
  466. in, out := &in.Items, &out.Items
  467. *out = make([]ExternalTool, len(*in))
  468. for i := range *in {
  469. (*in)[i].DeepCopyInto(&(*out)[i])
  470. }
  471. }
  472. }
  473. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolList.
  474. func (in *ExternalToolList) DeepCopy() *ExternalToolList {
  475. if in == nil {
  476. return nil
  477. }
  478. out := new(ExternalToolList)
  479. in.DeepCopyInto(out)
  480. return out
  481. }
  482. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  483. func (in *ExternalToolList) DeepCopyObject() runtime.Object {
  484. if c := in.DeepCopy(); c != nil {
  485. return c
  486. }
  487. return nil
  488. }
  489. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  490. func (in *ExternalToolSpec) DeepCopyInto(out *ExternalToolSpec) {
  491. *out = *in
  492. if in.StackRef != nil {
  493. in, out := &in.StackRef, &out.StackRef
  494. *out = new(v1.LocalObjectReference)
  495. **out = **in
  496. }
  497. if in.Auth != nil {
  498. in, out := &in.Auth, &out.Auth
  499. *out = new(AuthSpec)
  500. (*in).DeepCopyInto(*out)
  501. }
  502. }
  503. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolSpec.
  504. func (in *ExternalToolSpec) DeepCopy() *ExternalToolSpec {
  505. if in == nil {
  506. return nil
  507. }
  508. out := new(ExternalToolSpec)
  509. in.DeepCopyInto(out)
  510. return out
  511. }
  512. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  513. func (in *ExternalToolStatus) DeepCopyInto(out *ExternalToolStatus) {
  514. *out = *in
  515. if in.Conditions != nil {
  516. in, out := &in.Conditions, &out.Conditions
  517. *out = make([]metav1.Condition, len(*in))
  518. for i := range *in {
  519. (*in)[i].DeepCopyInto(&(*out)[i])
  520. }
  521. }
  522. }
  523. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolStatus.
  524. func (in *ExternalToolStatus) DeepCopy() *ExternalToolStatus {
  525. if in == nil {
  526. return nil
  527. }
  528. out := new(ExternalToolStatus)
  529. in.DeepCopyInto(out)
  530. return out
  531. }
  532. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  533. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  534. *out = *in
  535. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  536. }
  537. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  538. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  539. if in == nil {
  540. return nil
  541. }
  542. out := new(HTTPHeaderSpec)
  543. in.DeepCopyInto(out)
  544. return out
  545. }
  546. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  547. func (in *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
  548. *out = *in
  549. if in.TokenSecretRef != nil {
  550. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  551. *out = new(v1.SecretKeySelector)
  552. (*in).DeepCopyInto(*out)
  553. }
  554. }
  555. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
  556. func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
  557. if in == nil {
  558. return nil
  559. }
  560. out := new(HuggingFaceArtifactSpec)
  561. in.DeepCopyInto(out)
  562. return out
  563. }
  564. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  565. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  566. *out = *in
  567. if in.MaxTokens != nil {
  568. in, out := &in.MaxTokens, &out.MaxTokens
  569. *out = new(int32)
  570. **out = **in
  571. }
  572. if in.Extra != nil {
  573. in, out := &in.Extra, &out.Extra
  574. *out = make(map[string]string, len(*in))
  575. for key, val := range *in {
  576. (*out)[key] = val
  577. }
  578. }
  579. }
  580. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  581. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  582. if in == nil {
  583. return nil
  584. }
  585. out := new(InferenceParameters)
  586. in.DeepCopyInto(out)
  587. return out
  588. }
  589. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  590. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  591. *out = *in
  592. out.TypeMeta = in.TypeMeta
  593. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  594. in.Spec.DeepCopyInto(&out.Spec)
  595. in.Status.DeepCopyInto(&out.Status)
  596. }
  597. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  598. func (in *ManagedModel) DeepCopy() *ManagedModel {
  599. if in == nil {
  600. return nil
  601. }
  602. out := new(ManagedModel)
  603. in.DeepCopyInto(out)
  604. return out
  605. }
  606. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  607. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  608. if c := in.DeepCopy(); c != nil {
  609. return c
  610. }
  611. return nil
  612. }
  613. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  614. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  615. *out = *in
  616. out.TypeMeta = in.TypeMeta
  617. in.ListMeta.DeepCopyInto(&out.ListMeta)
  618. if in.Items != nil {
  619. in, out := &in.Items, &out.Items
  620. *out = make([]ManagedModel, len(*in))
  621. for i := range *in {
  622. (*in)[i].DeepCopyInto(&(*out)[i])
  623. }
  624. }
  625. }
  626. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  627. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  628. if in == nil {
  629. return nil
  630. }
  631. out := new(ManagedModelList)
  632. in.DeepCopyInto(out)
  633. return out
  634. }
  635. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  636. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  637. if c := in.DeepCopy(); c != nil {
  638. return c
  639. }
  640. return nil
  641. }
  642. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  643. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  644. *out = *in
  645. if in.StackRef != nil {
  646. in, out := &in.StackRef, &out.StackRef
  647. *out = new(v1.LocalObjectReference)
  648. **out = **in
  649. }
  650. in.Weights.DeepCopyInto(&out.Weights)
  651. if in.Template != nil {
  652. in, out := &in.Template, &out.Template
  653. *out = new(Template)
  654. (*in).DeepCopyInto(*out)
  655. }
  656. if in.RuntimeInferenceParams != nil {
  657. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  658. *out = new(RuntimeInferenceParameters)
  659. (*in).DeepCopyInto(*out)
  660. }
  661. }
  662. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  663. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  664. if in == nil {
  665. return nil
  666. }
  667. out := new(ManagedModelSpec)
  668. in.DeepCopyInto(out)
  669. return out
  670. }
  671. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  672. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  673. *out = *in
  674. if in.Conditions != nil {
  675. in, out := &in.Conditions, &out.Conditions
  676. *out = make([]metav1.Condition, len(*in))
  677. for i := range *in {
  678. (*in)[i].DeepCopyInto(&(*out)[i])
  679. }
  680. }
  681. }
  682. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
  683. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  684. if in == nil {
  685. return nil
  686. }
  687. out := new(ManagedModelStatus)
  688. in.DeepCopyInto(out)
  689. return out
  690. }
  691. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  692. func (in *ManagedTool) DeepCopyInto(out *ManagedTool) {
  693. *out = *in
  694. out.TypeMeta = in.TypeMeta
  695. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  696. in.Spec.DeepCopyInto(&out.Spec)
  697. in.Status.DeepCopyInto(&out.Status)
  698. }
  699. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
  700. func (in *ManagedTool) DeepCopy() *ManagedTool {
  701. if in == nil {
  702. return nil
  703. }
  704. out := new(ManagedTool)
  705. in.DeepCopyInto(out)
  706. return out
  707. }
  708. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  709. func (in *ManagedTool) DeepCopyObject() runtime.Object {
  710. if c := in.DeepCopy(); c != nil {
  711. return c
  712. }
  713. return nil
  714. }
  715. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  716. func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
  717. *out = *in
  718. out.TypeMeta = in.TypeMeta
  719. in.ListMeta.DeepCopyInto(&out.ListMeta)
  720. if in.Items != nil {
  721. in, out := &in.Items, &out.Items
  722. *out = make([]ManagedTool, len(*in))
  723. for i := range *in {
  724. (*in)[i].DeepCopyInto(&(*out)[i])
  725. }
  726. }
  727. }
  728. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
  729. func (in *ManagedToolList) DeepCopy() *ManagedToolList {
  730. if in == nil {
  731. return nil
  732. }
  733. out := new(ManagedToolList)
  734. in.DeepCopyInto(out)
  735. return out
  736. }
  737. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  738. func (in *ManagedToolList) DeepCopyObject() runtime.Object {
  739. if c := in.DeepCopy(); c != nil {
  740. return c
  741. }
  742. return nil
  743. }
  744. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  745. func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
  746. *out = *in
  747. if in.StackRef != nil {
  748. in, out := &in.StackRef, &out.StackRef
  749. *out = new(v1.LocalObjectReference)
  750. **out = **in
  751. }
  752. if in.Auth != nil {
  753. in, out := &in.Auth, &out.Auth
  754. *out = new(AuthSpec)
  755. (*in).DeepCopyInto(*out)
  756. }
  757. if in.Template != nil {
  758. in, out := &in.Template, &out.Template
  759. *out = new(Template)
  760. (*in).DeepCopyInto(*out)
  761. }
  762. }
  763. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
  764. func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
  765. if in == nil {
  766. return nil
  767. }
  768. out := new(ManagedToolSpec)
  769. in.DeepCopyInto(out)
  770. return out
  771. }
  772. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  773. func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
  774. *out = *in
  775. if in.Conditions != nil {
  776. in, out := &in.Conditions, &out.Conditions
  777. *out = make([]metav1.Condition, len(*in))
  778. for i := range *in {
  779. (*in)[i].DeepCopyInto(&(*out)[i])
  780. }
  781. }
  782. }
  783. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
  784. func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
  785. if in == nil {
  786. return nil
  787. }
  788. out := new(ManagedToolStatus)
  789. in.DeepCopyInto(out)
  790. return out
  791. }
  792. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  793. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  794. *out = *in
  795. if in.Template != nil {
  796. in, out := &in.Template, &out.Template
  797. *out = new(Template)
  798. (*in).DeepCopyInto(*out)
  799. }
  800. }
  801. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  802. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  803. if in == nil {
  804. return nil
  805. }
  806. out := new(OptionalComponent)
  807. in.DeepCopyInto(out)
  808. return out
  809. }
  810. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  811. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  812. *out = *in
  813. }
  814. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  815. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  816. if in == nil {
  817. return nil
  818. }
  819. out := new(PVCArtifactSpec)
  820. in.DeepCopyInto(out)
  821. return out
  822. }
  823. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  824. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  825. *out = *in
  826. if in.ContextWindow != nil {
  827. in, out := &in.ContextWindow, &out.ContextWindow
  828. *out = new(int32)
  829. **out = **in
  830. }
  831. if in.TopK != nil {
  832. in, out := &in.TopK, &out.TopK
  833. *out = new(int32)
  834. **out = **in
  835. }
  836. if in.Extra != nil {
  837. in, out := &in.Extra, &out.Extra
  838. *out = make(map[string]string, len(*in))
  839. for key, val := range *in {
  840. (*out)[key] = val
  841. }
  842. }
  843. }
  844. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  845. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  846. if in == nil {
  847. return nil
  848. }
  849. out := new(RuntimeInferenceParameters)
  850. in.DeepCopyInto(out)
  851. return out
  852. }
  853. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  854. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  855. *out = *in
  856. if in.Command != nil {
  857. in, out := &in.Command, &out.Command
  858. *out = make([]string, len(*in))
  859. copy(*out, *in)
  860. }
  861. if in.Args != nil {
  862. in, out := &in.Args, &out.Args
  863. *out = make([]string, len(*in))
  864. copy(*out, *in)
  865. }
  866. if in.ExtraArgs != nil {
  867. in, out := &in.ExtraArgs, &out.ExtraArgs
  868. *out = make([]string, len(*in))
  869. copy(*out, *in)
  870. }
  871. if in.ConditionalArgs != nil {
  872. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  873. *out = make([]ConditionalArgs, len(*in))
  874. for i := range *in {
  875. (*in)[i].DeepCopyInto(&(*out)[i])
  876. }
  877. }
  878. if in.Env != nil {
  879. in, out := &in.Env, &out.Env
  880. *out = make([]v1.EnvVar, len(*in))
  881. for i := range *in {
  882. (*in)[i].DeepCopyInto(&(*out)[i])
  883. }
  884. }
  885. if in.EnvFrom != nil {
  886. in, out := &in.EnvFrom, &out.EnvFrom
  887. *out = make([]v1.EnvFromSource, len(*in))
  888. for i := range *in {
  889. (*in)[i].DeepCopyInto(&(*out)[i])
  890. }
  891. }
  892. if in.VolumeMounts != nil {
  893. in, out := &in.VolumeMounts, &out.VolumeMounts
  894. *out = make([]v1.VolumeMount, len(*in))
  895. for i := range *in {
  896. (*in)[i].DeepCopyInto(&(*out)[i])
  897. }
  898. }
  899. }
  900. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  901. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  902. if in == nil {
  903. return nil
  904. }
  905. out := new(RuntimeSpec)
  906. in.DeepCopyInto(out)
  907. return out
  908. }
  909. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  910. func (in *Stack) DeepCopyInto(out *Stack) {
  911. *out = *in
  912. out.TypeMeta = in.TypeMeta
  913. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  914. in.Spec.DeepCopyInto(&out.Spec)
  915. in.Status.DeepCopyInto(&out.Status)
  916. }
  917. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  918. func (in *Stack) DeepCopy() *Stack {
  919. if in == nil {
  920. return nil
  921. }
  922. out := new(Stack)
  923. in.DeepCopyInto(out)
  924. return out
  925. }
  926. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  927. func (in *Stack) DeepCopyObject() runtime.Object {
  928. if c := in.DeepCopy(); c != nil {
  929. return c
  930. }
  931. return nil
  932. }
  933. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  934. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  935. *out = *in
  936. }
  937. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  938. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  939. if in == nil {
  940. return nil
  941. }
  942. out := new(StackComponentStatus)
  943. in.DeepCopyInto(out)
  944. return out
  945. }
  946. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  947. func (in *StackList) DeepCopyInto(out *StackList) {
  948. *out = *in
  949. out.TypeMeta = in.TypeMeta
  950. in.ListMeta.DeepCopyInto(&out.ListMeta)
  951. if in.Items != nil {
  952. in, out := &in.Items, &out.Items
  953. *out = make([]Stack, len(*in))
  954. for i := range *in {
  955. (*in)[i].DeepCopyInto(&(*out)[i])
  956. }
  957. }
  958. }
  959. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  960. func (in *StackList) DeepCopy() *StackList {
  961. if in == nil {
  962. return nil
  963. }
  964. out := new(StackList)
  965. in.DeepCopyInto(out)
  966. return out
  967. }
  968. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  969. func (in *StackList) DeepCopyObject() runtime.Object {
  970. if c := in.DeepCopy(); c != nil {
  971. return c
  972. }
  973. return nil
  974. }
  975. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  976. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  977. *out = *in
  978. if in.SharedVolumes != nil {
  979. in, out := &in.SharedVolumes, &out.SharedVolumes
  980. *out = make([]string, len(*in))
  981. copy(*out, *in)
  982. }
  983. if in.Gateway != nil {
  984. in, out := &in.Gateway, &out.Gateway
  985. *out = new(OptionalComponent)
  986. (*in).DeepCopyInto(*out)
  987. }
  988. if in.VectorStore != nil {
  989. in, out := &in.VectorStore, &out.VectorStore
  990. *out = new(OptionalComponent)
  991. (*in).DeepCopyInto(*out)
  992. }
  993. if in.GraphStore != nil {
  994. in, out := &in.GraphStore, &out.GraphStore
  995. *out = new(OptionalComponent)
  996. (*in).DeepCopyInto(*out)
  997. }
  998. if in.Database != nil {
  999. in, out := &in.Database, &out.Database
  1000. *out = new(OptionalComponent)
  1001. (*in).DeepCopyInto(*out)
  1002. }
  1003. if in.Observability != nil {
  1004. in, out := &in.Observability, &out.Observability
  1005. *out = new(OptionalComponent)
  1006. (*in).DeepCopyInto(*out)
  1007. }
  1008. }
  1009. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  1010. func (in *StackSpec) DeepCopy() *StackSpec {
  1011. if in == nil {
  1012. return nil
  1013. }
  1014. out := new(StackSpec)
  1015. in.DeepCopyInto(out)
  1016. return out
  1017. }
  1018. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1019. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  1020. *out = *in
  1021. out.ComponentStatus = in.ComponentStatus
  1022. if in.Conditions != nil {
  1023. in, out := &in.Conditions, &out.Conditions
  1024. *out = make([]metav1.Condition, len(*in))
  1025. for i := range *in {
  1026. (*in)[i].DeepCopyInto(&(*out)[i])
  1027. }
  1028. }
  1029. }
  1030. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  1031. func (in *StackStatus) DeepCopy() *StackStatus {
  1032. if in == nil {
  1033. return nil
  1034. }
  1035. out := new(StackStatus)
  1036. in.DeepCopyInto(out)
  1037. return out
  1038. }
  1039. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1040. func (in *Template) DeepCopyInto(out *Template) {
  1041. *out = *in
  1042. in.Metadata.DeepCopyInto(&out.Metadata)
  1043. in.Spec.DeepCopyInto(&out.Spec)
  1044. }
  1045. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  1046. func (in *Template) DeepCopy() *Template {
  1047. if in == nil {
  1048. return nil
  1049. }
  1050. out := new(Template)
  1051. in.DeepCopyInto(out)
  1052. return out
  1053. }
  1054. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1055. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  1056. *out = *in
  1057. in.Runtime.DeepCopyInto(&out.Runtime)
  1058. if in.Volumes != nil {
  1059. in, out := &in.Volumes, &out.Volumes
  1060. *out = make([]v1.Volume, len(*in))
  1061. for i := range *in {
  1062. (*in)[i].DeepCopyInto(&(*out)[i])
  1063. }
  1064. }
  1065. in.Resources.DeepCopyInto(&out.Resources)
  1066. if in.NodeSelector != nil {
  1067. in, out := &in.NodeSelector, &out.NodeSelector
  1068. *out = make(map[string]string, len(*in))
  1069. for key, val := range *in {
  1070. (*out)[key] = val
  1071. }
  1072. }
  1073. if in.Affinity != nil {
  1074. in, out := &in.Affinity, &out.Affinity
  1075. *out = new(v1.Affinity)
  1076. (*in).DeepCopyInto(*out)
  1077. }
  1078. if in.Tolerations != nil {
  1079. in, out := &in.Tolerations, &out.Tolerations
  1080. *out = make([]v1.Toleration, len(*in))
  1081. for i := range *in {
  1082. (*in)[i].DeepCopyInto(&(*out)[i])
  1083. }
  1084. }
  1085. if in.TopologySpreadConstraints != nil {
  1086. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  1087. *out = make([]v1.TopologySpreadConstraint, len(*in))
  1088. for i := range *in {
  1089. (*in)[i].DeepCopyInto(&(*out)[i])
  1090. }
  1091. }
  1092. if in.SecurityContext != nil {
  1093. in, out := &in.SecurityContext, &out.SecurityContext
  1094. *out = new(v1.PodSecurityContext)
  1095. (*in).DeepCopyInto(*out)
  1096. }
  1097. }
  1098. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  1099. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  1100. if in == nil {
  1101. return nil
  1102. }
  1103. out := new(TemplateSpec)
  1104. in.DeepCopyInto(out)
  1105. return out
  1106. }
  1107. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1108. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  1109. *out = *in
  1110. if in.AuthSecretRef != nil {
  1111. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  1112. *out = new(v1.LocalObjectReference)
  1113. **out = **in
  1114. }
  1115. }
  1116. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  1117. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  1118. if in == nil {
  1119. return nil
  1120. }
  1121. out := new(URLArtifactSpec)
  1122. in.DeepCopyInto(out)
  1123. return out
  1124. }