zz_generated.deepcopy.go 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357
  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 *ManagedKnowledgeBase) DeepCopyInto(out *ManagedKnowledgeBase) {
  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 ManagedKnowledgeBase.
  598. func (in *ManagedKnowledgeBase) DeepCopy() *ManagedKnowledgeBase {
  599. if in == nil {
  600. return nil
  601. }
  602. out := new(ManagedKnowledgeBase)
  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 *ManagedKnowledgeBase) 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 *ManagedKnowledgeBaseList) DeepCopyInto(out *ManagedKnowledgeBaseList) {
  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([]ManagedKnowledgeBase, 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 ManagedKnowledgeBaseList.
  627. func (in *ManagedKnowledgeBaseList) DeepCopy() *ManagedKnowledgeBaseList {
  628. if in == nil {
  629. return nil
  630. }
  631. out := new(ManagedKnowledgeBaseList)
  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 *ManagedKnowledgeBaseList) 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 *ManagedKnowledgeBaseSpec) DeepCopyInto(out *ManagedKnowledgeBaseSpec) {
  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. if in.EmbeddingModelRef != nil {
  651. in, out := &in.EmbeddingModelRef, &out.EmbeddingModelRef
  652. *out = new(v1.ObjectReference)
  653. **out = **in
  654. }
  655. if in.RerankerModelRef != nil {
  656. in, out := &in.RerankerModelRef, &out.RerankerModelRef
  657. *out = new(v1.ObjectReference)
  658. **out = **in
  659. }
  660. if in.Template != nil {
  661. in, out := &in.Template, &out.Template
  662. *out = new(Template)
  663. (*in).DeepCopyInto(*out)
  664. }
  665. if in.IngestionJob != nil {
  666. in, out := &in.IngestionJob, &out.IngestionJob
  667. *out = new(Template)
  668. (*in).DeepCopyInto(*out)
  669. }
  670. if in.EgestionJob != nil {
  671. in, out := &in.EgestionJob, &out.EgestionJob
  672. *out = new(Template)
  673. (*in).DeepCopyInto(*out)
  674. }
  675. }
  676. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseSpec.
  677. func (in *ManagedKnowledgeBaseSpec) DeepCopy() *ManagedKnowledgeBaseSpec {
  678. if in == nil {
  679. return nil
  680. }
  681. out := new(ManagedKnowledgeBaseSpec)
  682. in.DeepCopyInto(out)
  683. return out
  684. }
  685. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  686. func (in *ManagedKnowledgeBaseStatus) DeepCopyInto(out *ManagedKnowledgeBaseStatus) {
  687. *out = *in
  688. if in.Conditions != nil {
  689. in, out := &in.Conditions, &out.Conditions
  690. *out = make([]metav1.Condition, len(*in))
  691. for i := range *in {
  692. (*in)[i].DeepCopyInto(&(*out)[i])
  693. }
  694. }
  695. }
  696. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseStatus.
  697. func (in *ManagedKnowledgeBaseStatus) DeepCopy() *ManagedKnowledgeBaseStatus {
  698. if in == nil {
  699. return nil
  700. }
  701. out := new(ManagedKnowledgeBaseStatus)
  702. in.DeepCopyInto(out)
  703. return out
  704. }
  705. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  706. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  707. *out = *in
  708. out.TypeMeta = in.TypeMeta
  709. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  710. in.Spec.DeepCopyInto(&out.Spec)
  711. in.Status.DeepCopyInto(&out.Status)
  712. }
  713. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  714. func (in *ManagedModel) DeepCopy() *ManagedModel {
  715. if in == nil {
  716. return nil
  717. }
  718. out := new(ManagedModel)
  719. in.DeepCopyInto(out)
  720. return out
  721. }
  722. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  723. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  724. if c := in.DeepCopy(); c != nil {
  725. return c
  726. }
  727. return nil
  728. }
  729. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  730. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  731. *out = *in
  732. out.TypeMeta = in.TypeMeta
  733. in.ListMeta.DeepCopyInto(&out.ListMeta)
  734. if in.Items != nil {
  735. in, out := &in.Items, &out.Items
  736. *out = make([]ManagedModel, len(*in))
  737. for i := range *in {
  738. (*in)[i].DeepCopyInto(&(*out)[i])
  739. }
  740. }
  741. }
  742. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  743. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  744. if in == nil {
  745. return nil
  746. }
  747. out := new(ManagedModelList)
  748. in.DeepCopyInto(out)
  749. return out
  750. }
  751. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  752. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  753. if c := in.DeepCopy(); c != nil {
  754. return c
  755. }
  756. return nil
  757. }
  758. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  759. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  760. *out = *in
  761. if in.StackRef != nil {
  762. in, out := &in.StackRef, &out.StackRef
  763. *out = new(v1.LocalObjectReference)
  764. **out = **in
  765. }
  766. in.Weights.DeepCopyInto(&out.Weights)
  767. if in.Template != nil {
  768. in, out := &in.Template, &out.Template
  769. *out = new(Template)
  770. (*in).DeepCopyInto(*out)
  771. }
  772. if in.RuntimeInferenceParams != nil {
  773. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  774. *out = new(RuntimeInferenceParameters)
  775. (*in).DeepCopyInto(*out)
  776. }
  777. }
  778. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  779. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  780. if in == nil {
  781. return nil
  782. }
  783. out := new(ManagedModelSpec)
  784. in.DeepCopyInto(out)
  785. return out
  786. }
  787. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  788. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  789. *out = *in
  790. if in.Conditions != nil {
  791. in, out := &in.Conditions, &out.Conditions
  792. *out = make([]metav1.Condition, len(*in))
  793. for i := range *in {
  794. (*in)[i].DeepCopyInto(&(*out)[i])
  795. }
  796. }
  797. }
  798. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
  799. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  800. if in == nil {
  801. return nil
  802. }
  803. out := new(ManagedModelStatus)
  804. in.DeepCopyInto(out)
  805. return out
  806. }
  807. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  808. func (in *ManagedTool) DeepCopyInto(out *ManagedTool) {
  809. *out = *in
  810. out.TypeMeta = in.TypeMeta
  811. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  812. in.Spec.DeepCopyInto(&out.Spec)
  813. in.Status.DeepCopyInto(&out.Status)
  814. }
  815. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
  816. func (in *ManagedTool) DeepCopy() *ManagedTool {
  817. if in == nil {
  818. return nil
  819. }
  820. out := new(ManagedTool)
  821. in.DeepCopyInto(out)
  822. return out
  823. }
  824. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  825. func (in *ManagedTool) DeepCopyObject() runtime.Object {
  826. if c := in.DeepCopy(); c != nil {
  827. return c
  828. }
  829. return nil
  830. }
  831. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  832. func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
  833. *out = *in
  834. out.TypeMeta = in.TypeMeta
  835. in.ListMeta.DeepCopyInto(&out.ListMeta)
  836. if in.Items != nil {
  837. in, out := &in.Items, &out.Items
  838. *out = make([]ManagedTool, len(*in))
  839. for i := range *in {
  840. (*in)[i].DeepCopyInto(&(*out)[i])
  841. }
  842. }
  843. }
  844. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
  845. func (in *ManagedToolList) DeepCopy() *ManagedToolList {
  846. if in == nil {
  847. return nil
  848. }
  849. out := new(ManagedToolList)
  850. in.DeepCopyInto(out)
  851. return out
  852. }
  853. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  854. func (in *ManagedToolList) DeepCopyObject() runtime.Object {
  855. if c := in.DeepCopy(); c != nil {
  856. return c
  857. }
  858. return nil
  859. }
  860. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  861. func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
  862. *out = *in
  863. if in.StackRef != nil {
  864. in, out := &in.StackRef, &out.StackRef
  865. *out = new(v1.LocalObjectReference)
  866. **out = **in
  867. }
  868. if in.Auth != nil {
  869. in, out := &in.Auth, &out.Auth
  870. *out = new(AuthSpec)
  871. (*in).DeepCopyInto(*out)
  872. }
  873. if in.Template != nil {
  874. in, out := &in.Template, &out.Template
  875. *out = new(Template)
  876. (*in).DeepCopyInto(*out)
  877. }
  878. }
  879. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
  880. func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
  881. if in == nil {
  882. return nil
  883. }
  884. out := new(ManagedToolSpec)
  885. in.DeepCopyInto(out)
  886. return out
  887. }
  888. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  889. func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
  890. *out = *in
  891. if in.Conditions != nil {
  892. in, out := &in.Conditions, &out.Conditions
  893. *out = make([]metav1.Condition, len(*in))
  894. for i := range *in {
  895. (*in)[i].DeepCopyInto(&(*out)[i])
  896. }
  897. }
  898. }
  899. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
  900. func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
  901. if in == nil {
  902. return nil
  903. }
  904. out := new(ManagedToolStatus)
  905. in.DeepCopyInto(out)
  906. return out
  907. }
  908. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  909. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  910. *out = *in
  911. if in.Template != nil {
  912. in, out := &in.Template, &out.Template
  913. *out = new(Template)
  914. (*in).DeepCopyInto(*out)
  915. }
  916. }
  917. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  918. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  919. if in == nil {
  920. return nil
  921. }
  922. out := new(OptionalComponent)
  923. in.DeepCopyInto(out)
  924. return out
  925. }
  926. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  927. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  928. *out = *in
  929. }
  930. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  931. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  932. if in == nil {
  933. return nil
  934. }
  935. out := new(PVCArtifactSpec)
  936. in.DeepCopyInto(out)
  937. return out
  938. }
  939. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  940. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  941. *out = *in
  942. if in.ContextWindow != nil {
  943. in, out := &in.ContextWindow, &out.ContextWindow
  944. *out = new(int32)
  945. **out = **in
  946. }
  947. if in.TopK != nil {
  948. in, out := &in.TopK, &out.TopK
  949. *out = new(int32)
  950. **out = **in
  951. }
  952. if in.Extra != nil {
  953. in, out := &in.Extra, &out.Extra
  954. *out = make(map[string]string, len(*in))
  955. for key, val := range *in {
  956. (*out)[key] = val
  957. }
  958. }
  959. }
  960. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  961. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  962. if in == nil {
  963. return nil
  964. }
  965. out := new(RuntimeInferenceParameters)
  966. in.DeepCopyInto(out)
  967. return out
  968. }
  969. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  970. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  971. *out = *in
  972. if in.Command != nil {
  973. in, out := &in.Command, &out.Command
  974. *out = make([]string, len(*in))
  975. copy(*out, *in)
  976. }
  977. if in.Args != nil {
  978. in, out := &in.Args, &out.Args
  979. *out = make([]string, len(*in))
  980. copy(*out, *in)
  981. }
  982. if in.ExtraArgs != nil {
  983. in, out := &in.ExtraArgs, &out.ExtraArgs
  984. *out = make([]string, len(*in))
  985. copy(*out, *in)
  986. }
  987. if in.ConditionalArgs != nil {
  988. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  989. *out = make([]ConditionalArgs, len(*in))
  990. for i := range *in {
  991. (*in)[i].DeepCopyInto(&(*out)[i])
  992. }
  993. }
  994. if in.Env != nil {
  995. in, out := &in.Env, &out.Env
  996. *out = make([]v1.EnvVar, len(*in))
  997. for i := range *in {
  998. (*in)[i].DeepCopyInto(&(*out)[i])
  999. }
  1000. }
  1001. if in.EnvFrom != nil {
  1002. in, out := &in.EnvFrom, &out.EnvFrom
  1003. *out = make([]v1.EnvFromSource, len(*in))
  1004. for i := range *in {
  1005. (*in)[i].DeepCopyInto(&(*out)[i])
  1006. }
  1007. }
  1008. if in.VolumeMounts != nil {
  1009. in, out := &in.VolumeMounts, &out.VolumeMounts
  1010. *out = make([]v1.VolumeMount, len(*in))
  1011. for i := range *in {
  1012. (*in)[i].DeepCopyInto(&(*out)[i])
  1013. }
  1014. }
  1015. }
  1016. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  1017. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  1018. if in == nil {
  1019. return nil
  1020. }
  1021. out := new(RuntimeSpec)
  1022. in.DeepCopyInto(out)
  1023. return out
  1024. }
  1025. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1026. func (in *Stack) DeepCopyInto(out *Stack) {
  1027. *out = *in
  1028. out.TypeMeta = in.TypeMeta
  1029. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1030. in.Spec.DeepCopyInto(&out.Spec)
  1031. in.Status.DeepCopyInto(&out.Status)
  1032. }
  1033. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  1034. func (in *Stack) DeepCopy() *Stack {
  1035. if in == nil {
  1036. return nil
  1037. }
  1038. out := new(Stack)
  1039. in.DeepCopyInto(out)
  1040. return out
  1041. }
  1042. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1043. func (in *Stack) DeepCopyObject() runtime.Object {
  1044. if c := in.DeepCopy(); c != nil {
  1045. return c
  1046. }
  1047. return nil
  1048. }
  1049. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1050. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  1051. *out = *in
  1052. }
  1053. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  1054. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  1055. if in == nil {
  1056. return nil
  1057. }
  1058. out := new(StackComponentStatus)
  1059. in.DeepCopyInto(out)
  1060. return out
  1061. }
  1062. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1063. func (in *StackList) DeepCopyInto(out *StackList) {
  1064. *out = *in
  1065. out.TypeMeta = in.TypeMeta
  1066. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1067. if in.Items != nil {
  1068. in, out := &in.Items, &out.Items
  1069. *out = make([]Stack, len(*in))
  1070. for i := range *in {
  1071. (*in)[i].DeepCopyInto(&(*out)[i])
  1072. }
  1073. }
  1074. }
  1075. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  1076. func (in *StackList) DeepCopy() *StackList {
  1077. if in == nil {
  1078. return nil
  1079. }
  1080. out := new(StackList)
  1081. in.DeepCopyInto(out)
  1082. return out
  1083. }
  1084. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1085. func (in *StackList) DeepCopyObject() runtime.Object {
  1086. if c := in.DeepCopy(); c != nil {
  1087. return c
  1088. }
  1089. return nil
  1090. }
  1091. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1092. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  1093. *out = *in
  1094. if in.SharedVolumes != nil {
  1095. in, out := &in.SharedVolumes, &out.SharedVolumes
  1096. *out = make([]string, len(*in))
  1097. copy(*out, *in)
  1098. }
  1099. if in.Gateway != nil {
  1100. in, out := &in.Gateway, &out.Gateway
  1101. *out = new(OptionalComponent)
  1102. (*in).DeepCopyInto(*out)
  1103. }
  1104. if in.VectorStore != nil {
  1105. in, out := &in.VectorStore, &out.VectorStore
  1106. *out = new(OptionalComponent)
  1107. (*in).DeepCopyInto(*out)
  1108. }
  1109. if in.GraphStore != nil {
  1110. in, out := &in.GraphStore, &out.GraphStore
  1111. *out = new(OptionalComponent)
  1112. (*in).DeepCopyInto(*out)
  1113. }
  1114. if in.Database != nil {
  1115. in, out := &in.Database, &out.Database
  1116. *out = new(OptionalComponent)
  1117. (*in).DeepCopyInto(*out)
  1118. }
  1119. if in.Observability != nil {
  1120. in, out := &in.Observability, &out.Observability
  1121. *out = new(OptionalComponent)
  1122. (*in).DeepCopyInto(*out)
  1123. }
  1124. }
  1125. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  1126. func (in *StackSpec) DeepCopy() *StackSpec {
  1127. if in == nil {
  1128. return nil
  1129. }
  1130. out := new(StackSpec)
  1131. in.DeepCopyInto(out)
  1132. return out
  1133. }
  1134. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1135. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  1136. *out = *in
  1137. out.ComponentStatus = in.ComponentStatus
  1138. if in.Conditions != nil {
  1139. in, out := &in.Conditions, &out.Conditions
  1140. *out = make([]metav1.Condition, len(*in))
  1141. for i := range *in {
  1142. (*in)[i].DeepCopyInto(&(*out)[i])
  1143. }
  1144. }
  1145. }
  1146. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  1147. func (in *StackStatus) DeepCopy() *StackStatus {
  1148. if in == nil {
  1149. return nil
  1150. }
  1151. out := new(StackStatus)
  1152. in.DeepCopyInto(out)
  1153. return out
  1154. }
  1155. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1156. func (in *Template) DeepCopyInto(out *Template) {
  1157. *out = *in
  1158. in.Metadata.DeepCopyInto(&out.Metadata)
  1159. in.Spec.DeepCopyInto(&out.Spec)
  1160. }
  1161. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  1162. func (in *Template) DeepCopy() *Template {
  1163. if in == nil {
  1164. return nil
  1165. }
  1166. out := new(Template)
  1167. in.DeepCopyInto(out)
  1168. return out
  1169. }
  1170. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1171. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  1172. *out = *in
  1173. in.Runtime.DeepCopyInto(&out.Runtime)
  1174. if in.Volumes != nil {
  1175. in, out := &in.Volumes, &out.Volumes
  1176. *out = make([]v1.Volume, len(*in))
  1177. for i := range *in {
  1178. (*in)[i].DeepCopyInto(&(*out)[i])
  1179. }
  1180. }
  1181. in.Resources.DeepCopyInto(&out.Resources)
  1182. if in.NodeSelector != nil {
  1183. in, out := &in.NodeSelector, &out.NodeSelector
  1184. *out = make(map[string]string, len(*in))
  1185. for key, val := range *in {
  1186. (*out)[key] = val
  1187. }
  1188. }
  1189. if in.Affinity != nil {
  1190. in, out := &in.Affinity, &out.Affinity
  1191. *out = new(v1.Affinity)
  1192. (*in).DeepCopyInto(*out)
  1193. }
  1194. if in.Tolerations != nil {
  1195. in, out := &in.Tolerations, &out.Tolerations
  1196. *out = make([]v1.Toleration, len(*in))
  1197. for i := range *in {
  1198. (*in)[i].DeepCopyInto(&(*out)[i])
  1199. }
  1200. }
  1201. if in.TopologySpreadConstraints != nil {
  1202. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  1203. *out = make([]v1.TopologySpreadConstraint, len(*in))
  1204. for i := range *in {
  1205. (*in)[i].DeepCopyInto(&(*out)[i])
  1206. }
  1207. }
  1208. if in.SecurityContext != nil {
  1209. in, out := &in.SecurityContext, &out.SecurityContext
  1210. *out = new(v1.PodSecurityContext)
  1211. (*in).DeepCopyInto(*out)
  1212. }
  1213. }
  1214. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  1215. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  1216. if in == nil {
  1217. return nil
  1218. }
  1219. out := new(TemplateSpec)
  1220. in.DeepCopyInto(out)
  1221. return out
  1222. }
  1223. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1224. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  1225. *out = *in
  1226. if in.AuthSecretRef != nil {
  1227. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  1228. *out = new(v1.LocalObjectReference)
  1229. **out = **in
  1230. }
  1231. }
  1232. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  1233. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  1234. if in == nil {
  1235. return nil
  1236. }
  1237. out := new(URLArtifactSpec)
  1238. in.DeepCopyInto(out)
  1239. return out
  1240. }