zz_generated.deepcopy.go 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732
  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 *Agent) DeepCopyInto(out *Agent) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. in.Status.DeepCopyInto(&out.Status)
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.
  30. func (in *Agent) DeepCopy() *Agent {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(Agent)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *Agent) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *AgentList) DeepCopyInto(out *AgentList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]Agent, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentList.
  59. func (in *AgentList) DeepCopy() *AgentList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(AgentList)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  68. func (in *AgentList) DeepCopyObject() runtime.Object {
  69. if c := in.DeepCopy(); c != nil {
  70. return c
  71. }
  72. return nil
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *AgentSpec) DeepCopyInto(out *AgentSpec) {
  76. *out = *in
  77. if in.StackRef != nil {
  78. in, out := &in.StackRef, &out.StackRef
  79. *out = new(v1.LocalObjectReference)
  80. **out = **in
  81. }
  82. out.Model = in.Model
  83. if in.Skills != nil {
  84. in, out := &in.Skills, &out.Skills
  85. *out = make([]v1.ObjectReference, len(*in))
  86. copy(*out, *in)
  87. }
  88. if in.Tools != nil {
  89. in, out := &in.Tools, &out.Tools
  90. *out = make([]v1.ObjectReference, len(*in))
  91. copy(*out, *in)
  92. }
  93. if in.KnowledgeBases != nil {
  94. in, out := &in.KnowledgeBases, &out.KnowledgeBases
  95. *out = make([]v1.ObjectReference, len(*in))
  96. copy(*out, *in)
  97. }
  98. if in.Subagents != nil {
  99. in, out := &in.Subagents, &out.Subagents
  100. *out = make([]v1.ObjectReference, len(*in))
  101. copy(*out, *in)
  102. }
  103. if in.Template != nil {
  104. in, out := &in.Template, &out.Template
  105. *out = new(Template)
  106. (*in).DeepCopyInto(*out)
  107. }
  108. }
  109. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentSpec.
  110. func (in *AgentSpec) DeepCopy() *AgentSpec {
  111. if in == nil {
  112. return nil
  113. }
  114. out := new(AgentSpec)
  115. in.DeepCopyInto(out)
  116. return out
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *AgentStatus) DeepCopyInto(out *AgentStatus) {
  120. *out = *in
  121. if in.Conditions != nil {
  122. in, out := &in.Conditions, &out.Conditions
  123. *out = make([]metav1.Condition, len(*in))
  124. for i := range *in {
  125. (*in)[i].DeepCopyInto(&(*out)[i])
  126. }
  127. }
  128. }
  129. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.
  130. func (in *AgentStatus) DeepCopy() *AgentStatus {
  131. if in == nil {
  132. return nil
  133. }
  134. out := new(AgentStatus)
  135. in.DeepCopyInto(out)
  136. return out
  137. }
  138. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  139. func (in *ArtifactSpec) DeepCopyInto(out *ArtifactSpec) {
  140. *out = *in
  141. if in.HuggingFace != nil {
  142. in, out := &in.HuggingFace, &out.HuggingFace
  143. *out = new(HuggingFaceArtifactSpec)
  144. (*in).DeepCopyInto(*out)
  145. }
  146. if in.URL != nil {
  147. in, out := &in.URL, &out.URL
  148. *out = new(URLArtifactSpec)
  149. (*in).DeepCopyInto(*out)
  150. }
  151. if in.PVC != nil {
  152. in, out := &in.PVC, &out.PVC
  153. *out = new(PVCArtifactSpec)
  154. **out = **in
  155. }
  156. }
  157. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSpec.
  158. func (in *ArtifactSpec) DeepCopy() *ArtifactSpec {
  159. if in == nil {
  160. return nil
  161. }
  162. out := new(ArtifactSpec)
  163. in.DeepCopyInto(out)
  164. return out
  165. }
  166. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  167. func (in *AuthAPIKey) DeepCopyInto(out *AuthAPIKey) {
  168. *out = *in
  169. in.SecretRef.DeepCopyInto(&out.SecretRef)
  170. }
  171. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthAPIKey.
  172. func (in *AuthAPIKey) DeepCopy() *AuthAPIKey {
  173. if in == nil {
  174. return nil
  175. }
  176. out := new(AuthAPIKey)
  177. in.DeepCopyInto(out)
  178. return out
  179. }
  180. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  181. func (in *AuthSpec) DeepCopyInto(out *AuthSpec) {
  182. *out = *in
  183. if in.BearerToken != nil {
  184. in, out := &in.BearerToken, &out.BearerToken
  185. *out = new(v1.SecretKeySelector)
  186. (*in).DeepCopyInto(*out)
  187. }
  188. if in.APIKey != nil {
  189. in, out := &in.APIKey, &out.APIKey
  190. *out = new(AuthAPIKey)
  191. (*in).DeepCopyInto(*out)
  192. }
  193. if in.Headers != nil {
  194. in, out := &in.Headers, &out.Headers
  195. *out = make([]HTTPHeaderSpec, len(*in))
  196. for i := range *in {
  197. (*in)[i].DeepCopyInto(&(*out)[i])
  198. }
  199. }
  200. }
  201. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
  202. func (in *AuthSpec) DeepCopy() *AuthSpec {
  203. if in == nil {
  204. return nil
  205. }
  206. out := new(AuthSpec)
  207. in.DeepCopyInto(out)
  208. return out
  209. }
  210. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  211. func (in *ChunkingSpec) DeepCopyInto(out *ChunkingSpec) {
  212. *out = *in
  213. if in.Separators != nil {
  214. in, out := &in.Separators, &out.Separators
  215. *out = make([]string, len(*in))
  216. copy(*out, *in)
  217. }
  218. }
  219. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChunkingSpec.
  220. func (in *ChunkingSpec) DeepCopy() *ChunkingSpec {
  221. if in == nil {
  222. return nil
  223. }
  224. out := new(ChunkingSpec)
  225. in.DeepCopyInto(out)
  226. return out
  227. }
  228. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  229. func (in *Component) DeepCopyInto(out *Component) {
  230. *out = *in
  231. out.TypeMeta = in.TypeMeta
  232. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  233. in.Spec.DeepCopyInto(&out.Spec)
  234. in.Status.DeepCopyInto(&out.Status)
  235. }
  236. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
  237. func (in *Component) DeepCopy() *Component {
  238. if in == nil {
  239. return nil
  240. }
  241. out := new(Component)
  242. in.DeepCopyInto(out)
  243. return out
  244. }
  245. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  246. func (in *Component) DeepCopyObject() runtime.Object {
  247. if c := in.DeepCopy(); c != nil {
  248. return c
  249. }
  250. return nil
  251. }
  252. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  253. func (in *ComponentList) DeepCopyInto(out *ComponentList) {
  254. *out = *in
  255. out.TypeMeta = in.TypeMeta
  256. in.ListMeta.DeepCopyInto(&out.ListMeta)
  257. if in.Items != nil {
  258. in, out := &in.Items, &out.Items
  259. *out = make([]Component, len(*in))
  260. for i := range *in {
  261. (*in)[i].DeepCopyInto(&(*out)[i])
  262. }
  263. }
  264. }
  265. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
  266. func (in *ComponentList) DeepCopy() *ComponentList {
  267. if in == nil {
  268. return nil
  269. }
  270. out := new(ComponentList)
  271. in.DeepCopyInto(out)
  272. return out
  273. }
  274. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  275. func (in *ComponentList) DeepCopyObject() runtime.Object {
  276. if c := in.DeepCopy(); c != nil {
  277. return c
  278. }
  279. return nil
  280. }
  281. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  282. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
  283. *out = *in
  284. if in.Template != nil {
  285. in, out := &in.Template, &out.Template
  286. *out = new(Template)
  287. (*in).DeepCopyInto(*out)
  288. }
  289. if in.Variables != nil {
  290. in, out := &in.Variables, &out.Variables
  291. *out = make(map[string]string, len(*in))
  292. for key, val := range *in {
  293. (*out)[key] = val
  294. }
  295. }
  296. if in.Dependencies != nil {
  297. in, out := &in.Dependencies, &out.Dependencies
  298. *out = make([]v1.ObjectReference, len(*in))
  299. copy(*out, *in)
  300. }
  301. if in.StackRef != nil {
  302. in, out := &in.StackRef, &out.StackRef
  303. *out = new(v1.LocalObjectReference)
  304. **out = **in
  305. }
  306. }
  307. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
  308. func (in *ComponentSpec) DeepCopy() *ComponentSpec {
  309. if in == nil {
  310. return nil
  311. }
  312. out := new(ComponentSpec)
  313. in.DeepCopyInto(out)
  314. return out
  315. }
  316. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  317. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  318. *out = *in
  319. if in.Dependencies != nil {
  320. in, out := &in.Dependencies, &out.Dependencies
  321. *out = make(map[string]map[string]int64, len(*in))
  322. for key, val := range *in {
  323. var outVal map[string]int64
  324. if val == nil {
  325. (*out)[key] = nil
  326. } else {
  327. inVal := (*in)[key]
  328. in, out := &inVal, &outVal
  329. *out = make(map[string]int64, len(*in))
  330. for key, val := range *in {
  331. (*out)[key] = val
  332. }
  333. }
  334. (*out)[key] = outVal
  335. }
  336. }
  337. if in.Conditions != nil {
  338. in, out := &in.Conditions, &out.Conditions
  339. *out = make([]metav1.Condition, len(*in))
  340. for i := range *in {
  341. (*in)[i].DeepCopyInto(&(*out)[i])
  342. }
  343. }
  344. }
  345. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  346. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  347. if in == nil {
  348. return nil
  349. }
  350. out := new(ComponentStatus)
  351. in.DeepCopyInto(out)
  352. return out
  353. }
  354. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  355. func (in *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
  356. *out = *in
  357. if in.Args != nil {
  358. in, out := &in.Args, &out.Args
  359. *out = make([]string, len(*in))
  360. copy(*out, *in)
  361. }
  362. }
  363. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
  364. func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
  365. if in == nil {
  366. return nil
  367. }
  368. out := new(ConditionalArgs)
  369. in.DeepCopyInto(out)
  370. return out
  371. }
  372. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  373. func (in *Document) DeepCopyInto(out *Document) {
  374. *out = *in
  375. out.TypeMeta = in.TypeMeta
  376. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  377. in.Spec.DeepCopyInto(&out.Spec)
  378. in.Status.DeepCopyInto(&out.Status)
  379. }
  380. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Document.
  381. func (in *Document) DeepCopy() *Document {
  382. if in == nil {
  383. return nil
  384. }
  385. out := new(Document)
  386. in.DeepCopyInto(out)
  387. return out
  388. }
  389. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  390. func (in *Document) DeepCopyObject() runtime.Object {
  391. if c := in.DeepCopy(); c != nil {
  392. return c
  393. }
  394. return nil
  395. }
  396. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  397. func (in *DocumentList) DeepCopyInto(out *DocumentList) {
  398. *out = *in
  399. out.TypeMeta = in.TypeMeta
  400. in.ListMeta.DeepCopyInto(&out.ListMeta)
  401. if in.Items != nil {
  402. in, out := &in.Items, &out.Items
  403. *out = make([]Document, len(*in))
  404. for i := range *in {
  405. (*in)[i].DeepCopyInto(&(*out)[i])
  406. }
  407. }
  408. }
  409. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentList.
  410. func (in *DocumentList) DeepCopy() *DocumentList {
  411. if in == nil {
  412. return nil
  413. }
  414. out := new(DocumentList)
  415. in.DeepCopyInto(out)
  416. return out
  417. }
  418. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  419. func (in *DocumentList) DeepCopyObject() runtime.Object {
  420. if c := in.DeepCopy(); c != nil {
  421. return c
  422. }
  423. return nil
  424. }
  425. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  426. func (in *DocumentSpec) DeepCopyInto(out *DocumentSpec) {
  427. *out = *in
  428. if in.KnowledgeBaseRef != nil {
  429. in, out := &in.KnowledgeBaseRef, &out.KnowledgeBaseRef
  430. *out = new(v1.ObjectReference)
  431. **out = **in
  432. }
  433. in.Source.DeepCopyInto(&out.Source)
  434. in.ChunkingStrategy.DeepCopyInto(&out.ChunkingStrategy)
  435. }
  436. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSpec.
  437. func (in *DocumentSpec) DeepCopy() *DocumentSpec {
  438. if in == nil {
  439. return nil
  440. }
  441. out := new(DocumentSpec)
  442. in.DeepCopyInto(out)
  443. return out
  444. }
  445. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  446. func (in *DocumentStatus) DeepCopyInto(out *DocumentStatus) {
  447. *out = *in
  448. if in.IngestedAt != nil {
  449. in, out := &in.IngestedAt, &out.IngestedAt
  450. *out = (*in).DeepCopy()
  451. }
  452. if in.Conditions != nil {
  453. in, out := &in.Conditions, &out.Conditions
  454. *out = make([]metav1.Condition, len(*in))
  455. for i := range *in {
  456. (*in)[i].DeepCopyInto(&(*out)[i])
  457. }
  458. }
  459. }
  460. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentStatus.
  461. func (in *DocumentStatus) DeepCopy() *DocumentStatus {
  462. if in == nil {
  463. return nil
  464. }
  465. out := new(DocumentStatus)
  466. in.DeepCopyInto(out)
  467. return out
  468. }
  469. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  470. func (in *ExternalKnowledgeBase) DeepCopyInto(out *ExternalKnowledgeBase) {
  471. *out = *in
  472. out.TypeMeta = in.TypeMeta
  473. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  474. in.Spec.DeepCopyInto(&out.Spec)
  475. in.Status.DeepCopyInto(&out.Status)
  476. }
  477. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBase.
  478. func (in *ExternalKnowledgeBase) DeepCopy() *ExternalKnowledgeBase {
  479. if in == nil {
  480. return nil
  481. }
  482. out := new(ExternalKnowledgeBase)
  483. in.DeepCopyInto(out)
  484. return out
  485. }
  486. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  487. func (in *ExternalKnowledgeBase) DeepCopyObject() runtime.Object {
  488. if c := in.DeepCopy(); c != nil {
  489. return c
  490. }
  491. return nil
  492. }
  493. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  494. func (in *ExternalKnowledgeBaseList) DeepCopyInto(out *ExternalKnowledgeBaseList) {
  495. *out = *in
  496. out.TypeMeta = in.TypeMeta
  497. in.ListMeta.DeepCopyInto(&out.ListMeta)
  498. if in.Items != nil {
  499. in, out := &in.Items, &out.Items
  500. *out = make([]ExternalKnowledgeBase, len(*in))
  501. for i := range *in {
  502. (*in)[i].DeepCopyInto(&(*out)[i])
  503. }
  504. }
  505. }
  506. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseList.
  507. func (in *ExternalKnowledgeBaseList) DeepCopy() *ExternalKnowledgeBaseList {
  508. if in == nil {
  509. return nil
  510. }
  511. out := new(ExternalKnowledgeBaseList)
  512. in.DeepCopyInto(out)
  513. return out
  514. }
  515. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  516. func (in *ExternalKnowledgeBaseList) DeepCopyObject() runtime.Object {
  517. if c := in.DeepCopy(); c != nil {
  518. return c
  519. }
  520. return nil
  521. }
  522. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  523. func (in *ExternalKnowledgeBaseSpec) DeepCopyInto(out *ExternalKnowledgeBaseSpec) {
  524. *out = *in
  525. if in.Foo != nil {
  526. in, out := &in.Foo, &out.Foo
  527. *out = new(string)
  528. **out = **in
  529. }
  530. }
  531. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseSpec.
  532. func (in *ExternalKnowledgeBaseSpec) DeepCopy() *ExternalKnowledgeBaseSpec {
  533. if in == nil {
  534. return nil
  535. }
  536. out := new(ExternalKnowledgeBaseSpec)
  537. in.DeepCopyInto(out)
  538. return out
  539. }
  540. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  541. func (in *ExternalKnowledgeBaseStatus) DeepCopyInto(out *ExternalKnowledgeBaseStatus) {
  542. *out = *in
  543. if in.Conditions != nil {
  544. in, out := &in.Conditions, &out.Conditions
  545. *out = make([]metav1.Condition, len(*in))
  546. for i := range *in {
  547. (*in)[i].DeepCopyInto(&(*out)[i])
  548. }
  549. }
  550. }
  551. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseStatus.
  552. func (in *ExternalKnowledgeBaseStatus) DeepCopy() *ExternalKnowledgeBaseStatus {
  553. if in == nil {
  554. return nil
  555. }
  556. out := new(ExternalKnowledgeBaseStatus)
  557. in.DeepCopyInto(out)
  558. return out
  559. }
  560. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  561. func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
  562. *out = *in
  563. out.TypeMeta = in.TypeMeta
  564. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  565. in.Spec.DeepCopyInto(&out.Spec)
  566. in.Status.DeepCopyInto(&out.Status)
  567. }
  568. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
  569. func (in *ExternalModel) DeepCopy() *ExternalModel {
  570. if in == nil {
  571. return nil
  572. }
  573. out := new(ExternalModel)
  574. in.DeepCopyInto(out)
  575. return out
  576. }
  577. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  578. func (in *ExternalModel) DeepCopyObject() runtime.Object {
  579. if c := in.DeepCopy(); c != nil {
  580. return c
  581. }
  582. return nil
  583. }
  584. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  585. func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
  586. *out = *in
  587. out.TypeMeta = in.TypeMeta
  588. in.ListMeta.DeepCopyInto(&out.ListMeta)
  589. if in.Items != nil {
  590. in, out := &in.Items, &out.Items
  591. *out = make([]ExternalModel, len(*in))
  592. for i := range *in {
  593. (*in)[i].DeepCopyInto(&(*out)[i])
  594. }
  595. }
  596. }
  597. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
  598. func (in *ExternalModelList) DeepCopy() *ExternalModelList {
  599. if in == nil {
  600. return nil
  601. }
  602. out := new(ExternalModelList)
  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 *ExternalModelList) 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 *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
  615. *out = *in
  616. if in.StackRef != nil {
  617. in, out := &in.StackRef, &out.StackRef
  618. *out = new(v1.LocalObjectReference)
  619. **out = **in
  620. }
  621. if in.Auth != nil {
  622. in, out := &in.Auth, &out.Auth
  623. *out = new(AuthSpec)
  624. (*in).DeepCopyInto(*out)
  625. }
  626. if in.ExtraParams != nil {
  627. in, out := &in.ExtraParams, &out.ExtraParams
  628. *out = make(map[string]string, len(*in))
  629. for key, val := range *in {
  630. (*out)[key] = val
  631. }
  632. }
  633. if in.DefaultInferenceParams != nil {
  634. in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
  635. *out = new(InferenceParameters)
  636. (*in).DeepCopyInto(*out)
  637. }
  638. }
  639. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
  640. func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
  641. if in == nil {
  642. return nil
  643. }
  644. out := new(ExternalModelSpec)
  645. in.DeepCopyInto(out)
  646. return out
  647. }
  648. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  649. func (in *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
  650. *out = *in
  651. if in.Conditions != nil {
  652. in, out := &in.Conditions, &out.Conditions
  653. *out = make([]metav1.Condition, len(*in))
  654. for i := range *in {
  655. (*in)[i].DeepCopyInto(&(*out)[i])
  656. }
  657. }
  658. }
  659. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
  660. func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
  661. if in == nil {
  662. return nil
  663. }
  664. out := new(ExternalModelStatus)
  665. in.DeepCopyInto(out)
  666. return out
  667. }
  668. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  669. func (in *ExternalTool) DeepCopyInto(out *ExternalTool) {
  670. *out = *in
  671. out.TypeMeta = in.TypeMeta
  672. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  673. in.Spec.DeepCopyInto(&out.Spec)
  674. in.Status.DeepCopyInto(&out.Status)
  675. }
  676. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTool.
  677. func (in *ExternalTool) DeepCopy() *ExternalTool {
  678. if in == nil {
  679. return nil
  680. }
  681. out := new(ExternalTool)
  682. in.DeepCopyInto(out)
  683. return out
  684. }
  685. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  686. func (in *ExternalTool) DeepCopyObject() runtime.Object {
  687. if c := in.DeepCopy(); c != nil {
  688. return c
  689. }
  690. return nil
  691. }
  692. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  693. func (in *ExternalToolList) DeepCopyInto(out *ExternalToolList) {
  694. *out = *in
  695. out.TypeMeta = in.TypeMeta
  696. in.ListMeta.DeepCopyInto(&out.ListMeta)
  697. if in.Items != nil {
  698. in, out := &in.Items, &out.Items
  699. *out = make([]ExternalTool, len(*in))
  700. for i := range *in {
  701. (*in)[i].DeepCopyInto(&(*out)[i])
  702. }
  703. }
  704. }
  705. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolList.
  706. func (in *ExternalToolList) DeepCopy() *ExternalToolList {
  707. if in == nil {
  708. return nil
  709. }
  710. out := new(ExternalToolList)
  711. in.DeepCopyInto(out)
  712. return out
  713. }
  714. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  715. func (in *ExternalToolList) DeepCopyObject() runtime.Object {
  716. if c := in.DeepCopy(); c != nil {
  717. return c
  718. }
  719. return nil
  720. }
  721. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  722. func (in *ExternalToolSpec) DeepCopyInto(out *ExternalToolSpec) {
  723. *out = *in
  724. if in.StackRef != nil {
  725. in, out := &in.StackRef, &out.StackRef
  726. *out = new(v1.LocalObjectReference)
  727. **out = **in
  728. }
  729. if in.Auth != nil {
  730. in, out := &in.Auth, &out.Auth
  731. *out = new(AuthSpec)
  732. (*in).DeepCopyInto(*out)
  733. }
  734. }
  735. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolSpec.
  736. func (in *ExternalToolSpec) DeepCopy() *ExternalToolSpec {
  737. if in == nil {
  738. return nil
  739. }
  740. out := new(ExternalToolSpec)
  741. in.DeepCopyInto(out)
  742. return out
  743. }
  744. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  745. func (in *ExternalToolStatus) DeepCopyInto(out *ExternalToolStatus) {
  746. *out = *in
  747. if in.Conditions != nil {
  748. in, out := &in.Conditions, &out.Conditions
  749. *out = make([]metav1.Condition, len(*in))
  750. for i := range *in {
  751. (*in)[i].DeepCopyInto(&(*out)[i])
  752. }
  753. }
  754. }
  755. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolStatus.
  756. func (in *ExternalToolStatus) DeepCopy() *ExternalToolStatus {
  757. if in == nil {
  758. return nil
  759. }
  760. out := new(ExternalToolStatus)
  761. in.DeepCopyInto(out)
  762. return out
  763. }
  764. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  765. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  766. *out = *in
  767. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  768. }
  769. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  770. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  771. if in == nil {
  772. return nil
  773. }
  774. out := new(HTTPHeaderSpec)
  775. in.DeepCopyInto(out)
  776. return out
  777. }
  778. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  779. func (in *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
  780. *out = *in
  781. if in.TokenSecretRef != nil {
  782. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  783. *out = new(v1.SecretKeySelector)
  784. (*in).DeepCopyInto(*out)
  785. }
  786. }
  787. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
  788. func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
  789. if in == nil {
  790. return nil
  791. }
  792. out := new(HuggingFaceArtifactSpec)
  793. in.DeepCopyInto(out)
  794. return out
  795. }
  796. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  797. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  798. *out = *in
  799. if in.MaxTokens != nil {
  800. in, out := &in.MaxTokens, &out.MaxTokens
  801. *out = new(int32)
  802. **out = **in
  803. }
  804. if in.Extra != nil {
  805. in, out := &in.Extra, &out.Extra
  806. *out = make(map[string]string, len(*in))
  807. for key, val := range *in {
  808. (*out)[key] = val
  809. }
  810. }
  811. }
  812. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  813. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  814. if in == nil {
  815. return nil
  816. }
  817. out := new(InferenceParameters)
  818. in.DeepCopyInto(out)
  819. return out
  820. }
  821. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  822. func (in *ManagedKnowledgeBase) DeepCopyInto(out *ManagedKnowledgeBase) {
  823. *out = *in
  824. out.TypeMeta = in.TypeMeta
  825. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  826. in.Spec.DeepCopyInto(&out.Spec)
  827. in.Status.DeepCopyInto(&out.Status)
  828. }
  829. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBase.
  830. func (in *ManagedKnowledgeBase) DeepCopy() *ManagedKnowledgeBase {
  831. if in == nil {
  832. return nil
  833. }
  834. out := new(ManagedKnowledgeBase)
  835. in.DeepCopyInto(out)
  836. return out
  837. }
  838. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  839. func (in *ManagedKnowledgeBase) DeepCopyObject() runtime.Object {
  840. if c := in.DeepCopy(); c != nil {
  841. return c
  842. }
  843. return nil
  844. }
  845. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  846. func (in *ManagedKnowledgeBaseList) DeepCopyInto(out *ManagedKnowledgeBaseList) {
  847. *out = *in
  848. out.TypeMeta = in.TypeMeta
  849. in.ListMeta.DeepCopyInto(&out.ListMeta)
  850. if in.Items != nil {
  851. in, out := &in.Items, &out.Items
  852. *out = make([]ManagedKnowledgeBase, len(*in))
  853. for i := range *in {
  854. (*in)[i].DeepCopyInto(&(*out)[i])
  855. }
  856. }
  857. }
  858. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseList.
  859. func (in *ManagedKnowledgeBaseList) DeepCopy() *ManagedKnowledgeBaseList {
  860. if in == nil {
  861. return nil
  862. }
  863. out := new(ManagedKnowledgeBaseList)
  864. in.DeepCopyInto(out)
  865. return out
  866. }
  867. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  868. func (in *ManagedKnowledgeBaseList) DeepCopyObject() runtime.Object {
  869. if c := in.DeepCopy(); c != nil {
  870. return c
  871. }
  872. return nil
  873. }
  874. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  875. func (in *ManagedKnowledgeBaseSpec) DeepCopyInto(out *ManagedKnowledgeBaseSpec) {
  876. *out = *in
  877. if in.StackRef != nil {
  878. in, out := &in.StackRef, &out.StackRef
  879. *out = new(v1.LocalObjectReference)
  880. **out = **in
  881. }
  882. if in.EmbeddingModelRef != nil {
  883. in, out := &in.EmbeddingModelRef, &out.EmbeddingModelRef
  884. *out = new(v1.ObjectReference)
  885. **out = **in
  886. }
  887. if in.RerankerModelRef != nil {
  888. in, out := &in.RerankerModelRef, &out.RerankerModelRef
  889. *out = new(v1.ObjectReference)
  890. **out = **in
  891. }
  892. if in.Template != nil {
  893. in, out := &in.Template, &out.Template
  894. *out = new(Template)
  895. (*in).DeepCopyInto(*out)
  896. }
  897. if in.IngestionJob != nil {
  898. in, out := &in.IngestionJob, &out.IngestionJob
  899. *out = new(Template)
  900. (*in).DeepCopyInto(*out)
  901. }
  902. if in.EgestionJob != nil {
  903. in, out := &in.EgestionJob, &out.EgestionJob
  904. *out = new(Template)
  905. (*in).DeepCopyInto(*out)
  906. }
  907. }
  908. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseSpec.
  909. func (in *ManagedKnowledgeBaseSpec) DeepCopy() *ManagedKnowledgeBaseSpec {
  910. if in == nil {
  911. return nil
  912. }
  913. out := new(ManagedKnowledgeBaseSpec)
  914. in.DeepCopyInto(out)
  915. return out
  916. }
  917. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  918. func (in *ManagedKnowledgeBaseStatus) DeepCopyInto(out *ManagedKnowledgeBaseStatus) {
  919. *out = *in
  920. if in.Conditions != nil {
  921. in, out := &in.Conditions, &out.Conditions
  922. *out = make([]metav1.Condition, len(*in))
  923. for i := range *in {
  924. (*in)[i].DeepCopyInto(&(*out)[i])
  925. }
  926. }
  927. }
  928. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseStatus.
  929. func (in *ManagedKnowledgeBaseStatus) DeepCopy() *ManagedKnowledgeBaseStatus {
  930. if in == nil {
  931. return nil
  932. }
  933. out := new(ManagedKnowledgeBaseStatus)
  934. in.DeepCopyInto(out)
  935. return out
  936. }
  937. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  938. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  939. *out = *in
  940. out.TypeMeta = in.TypeMeta
  941. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  942. in.Spec.DeepCopyInto(&out.Spec)
  943. in.Status.DeepCopyInto(&out.Status)
  944. }
  945. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  946. func (in *ManagedModel) DeepCopy() *ManagedModel {
  947. if in == nil {
  948. return nil
  949. }
  950. out := new(ManagedModel)
  951. in.DeepCopyInto(out)
  952. return out
  953. }
  954. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  955. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  956. if c := in.DeepCopy(); c != nil {
  957. return c
  958. }
  959. return nil
  960. }
  961. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  962. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  963. *out = *in
  964. out.TypeMeta = in.TypeMeta
  965. in.ListMeta.DeepCopyInto(&out.ListMeta)
  966. if in.Items != nil {
  967. in, out := &in.Items, &out.Items
  968. *out = make([]ManagedModel, len(*in))
  969. for i := range *in {
  970. (*in)[i].DeepCopyInto(&(*out)[i])
  971. }
  972. }
  973. }
  974. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  975. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  976. if in == nil {
  977. return nil
  978. }
  979. out := new(ManagedModelList)
  980. in.DeepCopyInto(out)
  981. return out
  982. }
  983. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  984. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  985. if c := in.DeepCopy(); c != nil {
  986. return c
  987. }
  988. return nil
  989. }
  990. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  991. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  992. *out = *in
  993. if in.StackRef != nil {
  994. in, out := &in.StackRef, &out.StackRef
  995. *out = new(v1.LocalObjectReference)
  996. **out = **in
  997. }
  998. in.Weights.DeepCopyInto(&out.Weights)
  999. if in.Template != nil {
  1000. in, out := &in.Template, &out.Template
  1001. *out = new(Template)
  1002. (*in).DeepCopyInto(*out)
  1003. }
  1004. if in.RuntimeInferenceParams != nil {
  1005. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  1006. *out = new(RuntimeInferenceParameters)
  1007. (*in).DeepCopyInto(*out)
  1008. }
  1009. }
  1010. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  1011. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  1012. if in == nil {
  1013. return nil
  1014. }
  1015. out := new(ManagedModelSpec)
  1016. in.DeepCopyInto(out)
  1017. return out
  1018. }
  1019. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1020. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  1021. *out = *in
  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 ManagedModelStatus.
  1031. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  1032. if in == nil {
  1033. return nil
  1034. }
  1035. out := new(ManagedModelStatus)
  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 *ManagedTool) DeepCopyInto(out *ManagedTool) {
  1041. *out = *in
  1042. out.TypeMeta = in.TypeMeta
  1043. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1044. in.Spec.DeepCopyInto(&out.Spec)
  1045. in.Status.DeepCopyInto(&out.Status)
  1046. }
  1047. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
  1048. func (in *ManagedTool) DeepCopy() *ManagedTool {
  1049. if in == nil {
  1050. return nil
  1051. }
  1052. out := new(ManagedTool)
  1053. in.DeepCopyInto(out)
  1054. return out
  1055. }
  1056. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1057. func (in *ManagedTool) DeepCopyObject() runtime.Object {
  1058. if c := in.DeepCopy(); c != nil {
  1059. return c
  1060. }
  1061. return nil
  1062. }
  1063. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1064. func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
  1065. *out = *in
  1066. out.TypeMeta = in.TypeMeta
  1067. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1068. if in.Items != nil {
  1069. in, out := &in.Items, &out.Items
  1070. *out = make([]ManagedTool, len(*in))
  1071. for i := range *in {
  1072. (*in)[i].DeepCopyInto(&(*out)[i])
  1073. }
  1074. }
  1075. }
  1076. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
  1077. func (in *ManagedToolList) DeepCopy() *ManagedToolList {
  1078. if in == nil {
  1079. return nil
  1080. }
  1081. out := new(ManagedToolList)
  1082. in.DeepCopyInto(out)
  1083. return out
  1084. }
  1085. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1086. func (in *ManagedToolList) DeepCopyObject() runtime.Object {
  1087. if c := in.DeepCopy(); c != nil {
  1088. return c
  1089. }
  1090. return nil
  1091. }
  1092. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1093. func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
  1094. *out = *in
  1095. if in.StackRef != nil {
  1096. in, out := &in.StackRef, &out.StackRef
  1097. *out = new(v1.LocalObjectReference)
  1098. **out = **in
  1099. }
  1100. if in.Auth != nil {
  1101. in, out := &in.Auth, &out.Auth
  1102. *out = new(AuthSpec)
  1103. (*in).DeepCopyInto(*out)
  1104. }
  1105. if in.Template != nil {
  1106. in, out := &in.Template, &out.Template
  1107. *out = new(Template)
  1108. (*in).DeepCopyInto(*out)
  1109. }
  1110. }
  1111. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
  1112. func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
  1113. if in == nil {
  1114. return nil
  1115. }
  1116. out := new(ManagedToolSpec)
  1117. in.DeepCopyInto(out)
  1118. return out
  1119. }
  1120. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1121. func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
  1122. *out = *in
  1123. if in.Conditions != nil {
  1124. in, out := &in.Conditions, &out.Conditions
  1125. *out = make([]metav1.Condition, len(*in))
  1126. for i := range *in {
  1127. (*in)[i].DeepCopyInto(&(*out)[i])
  1128. }
  1129. }
  1130. }
  1131. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
  1132. func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
  1133. if in == nil {
  1134. return nil
  1135. }
  1136. out := new(ManagedToolStatus)
  1137. in.DeepCopyInto(out)
  1138. return out
  1139. }
  1140. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1141. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  1142. *out = *in
  1143. if in.Template != nil {
  1144. in, out := &in.Template, &out.Template
  1145. *out = new(Template)
  1146. (*in).DeepCopyInto(*out)
  1147. }
  1148. }
  1149. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  1150. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  1151. if in == nil {
  1152. return nil
  1153. }
  1154. out := new(OptionalComponent)
  1155. in.DeepCopyInto(out)
  1156. return out
  1157. }
  1158. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1159. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  1160. *out = *in
  1161. }
  1162. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  1163. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  1164. if in == nil {
  1165. return nil
  1166. }
  1167. out := new(PVCArtifactSpec)
  1168. in.DeepCopyInto(out)
  1169. return out
  1170. }
  1171. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1172. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  1173. *out = *in
  1174. if in.ContextWindow != nil {
  1175. in, out := &in.ContextWindow, &out.ContextWindow
  1176. *out = new(int32)
  1177. **out = **in
  1178. }
  1179. if in.TopK != nil {
  1180. in, out := &in.TopK, &out.TopK
  1181. *out = new(int32)
  1182. **out = **in
  1183. }
  1184. if in.Extra != nil {
  1185. in, out := &in.Extra, &out.Extra
  1186. *out = make(map[string]string, len(*in))
  1187. for key, val := range *in {
  1188. (*out)[key] = val
  1189. }
  1190. }
  1191. }
  1192. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  1193. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  1194. if in == nil {
  1195. return nil
  1196. }
  1197. out := new(RuntimeInferenceParameters)
  1198. in.DeepCopyInto(out)
  1199. return out
  1200. }
  1201. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1202. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  1203. *out = *in
  1204. if in.Command != nil {
  1205. in, out := &in.Command, &out.Command
  1206. *out = make([]string, len(*in))
  1207. copy(*out, *in)
  1208. }
  1209. if in.Args != nil {
  1210. in, out := &in.Args, &out.Args
  1211. *out = make([]string, len(*in))
  1212. copy(*out, *in)
  1213. }
  1214. if in.ExtraArgs != nil {
  1215. in, out := &in.ExtraArgs, &out.ExtraArgs
  1216. *out = make([]string, len(*in))
  1217. copy(*out, *in)
  1218. }
  1219. if in.ConditionalArgs != nil {
  1220. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  1221. *out = make([]ConditionalArgs, len(*in))
  1222. for i := range *in {
  1223. (*in)[i].DeepCopyInto(&(*out)[i])
  1224. }
  1225. }
  1226. if in.Env != nil {
  1227. in, out := &in.Env, &out.Env
  1228. *out = make([]v1.EnvVar, len(*in))
  1229. for i := range *in {
  1230. (*in)[i].DeepCopyInto(&(*out)[i])
  1231. }
  1232. }
  1233. if in.EnvFrom != nil {
  1234. in, out := &in.EnvFrom, &out.EnvFrom
  1235. *out = make([]v1.EnvFromSource, len(*in))
  1236. for i := range *in {
  1237. (*in)[i].DeepCopyInto(&(*out)[i])
  1238. }
  1239. }
  1240. if in.VolumeMounts != nil {
  1241. in, out := &in.VolumeMounts, &out.VolumeMounts
  1242. *out = make([]v1.VolumeMount, len(*in))
  1243. for i := range *in {
  1244. (*in)[i].DeepCopyInto(&(*out)[i])
  1245. }
  1246. }
  1247. }
  1248. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  1249. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  1250. if in == nil {
  1251. return nil
  1252. }
  1253. out := new(RuntimeSpec)
  1254. in.DeepCopyInto(out)
  1255. return out
  1256. }
  1257. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1258. func (in *Skill) DeepCopyInto(out *Skill) {
  1259. *out = *in
  1260. out.TypeMeta = in.TypeMeta
  1261. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1262. in.Spec.DeepCopyInto(&out.Spec)
  1263. in.Status.DeepCopyInto(&out.Status)
  1264. }
  1265. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Skill.
  1266. func (in *Skill) DeepCopy() *Skill {
  1267. if in == nil {
  1268. return nil
  1269. }
  1270. out := new(Skill)
  1271. in.DeepCopyInto(out)
  1272. return out
  1273. }
  1274. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1275. func (in *Skill) DeepCopyObject() runtime.Object {
  1276. if c := in.DeepCopy(); c != nil {
  1277. return c
  1278. }
  1279. return nil
  1280. }
  1281. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1282. func (in *SkillFileEntry) DeepCopyInto(out *SkillFileEntry) {
  1283. *out = *in
  1284. }
  1285. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillFileEntry.
  1286. func (in *SkillFileEntry) DeepCopy() *SkillFileEntry {
  1287. if in == nil {
  1288. return nil
  1289. }
  1290. out := new(SkillFileEntry)
  1291. in.DeepCopyInto(out)
  1292. return out
  1293. }
  1294. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1295. func (in *SkillList) DeepCopyInto(out *SkillList) {
  1296. *out = *in
  1297. out.TypeMeta = in.TypeMeta
  1298. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1299. if in.Items != nil {
  1300. in, out := &in.Items, &out.Items
  1301. *out = make([]Skill, len(*in))
  1302. for i := range *in {
  1303. (*in)[i].DeepCopyInto(&(*out)[i])
  1304. }
  1305. }
  1306. }
  1307. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillList.
  1308. func (in *SkillList) DeepCopy() *SkillList {
  1309. if in == nil {
  1310. return nil
  1311. }
  1312. out := new(SkillList)
  1313. in.DeepCopyInto(out)
  1314. return out
  1315. }
  1316. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1317. func (in *SkillList) DeepCopyObject() runtime.Object {
  1318. if c := in.DeepCopy(); c != nil {
  1319. return c
  1320. }
  1321. return nil
  1322. }
  1323. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1324. func (in *SkillSpec) DeepCopyInto(out *SkillSpec) {
  1325. *out = *in
  1326. if in.StackRef != nil {
  1327. in, out := &in.StackRef, &out.StackRef
  1328. *out = new(v1.LocalObjectReference)
  1329. **out = **in
  1330. }
  1331. if in.Files != nil {
  1332. in, out := &in.Files, &out.Files
  1333. *out = make([]SkillFileEntry, len(*in))
  1334. copy(*out, *in)
  1335. }
  1336. }
  1337. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillSpec.
  1338. func (in *SkillSpec) DeepCopy() *SkillSpec {
  1339. if in == nil {
  1340. return nil
  1341. }
  1342. out := new(SkillSpec)
  1343. in.DeepCopyInto(out)
  1344. return out
  1345. }
  1346. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1347. func (in *SkillStatus) DeepCopyInto(out *SkillStatus) {
  1348. *out = *in
  1349. if in.Conditions != nil {
  1350. in, out := &in.Conditions, &out.Conditions
  1351. *out = make([]metav1.Condition, len(*in))
  1352. for i := range *in {
  1353. (*in)[i].DeepCopyInto(&(*out)[i])
  1354. }
  1355. }
  1356. }
  1357. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkillStatus.
  1358. func (in *SkillStatus) DeepCopy() *SkillStatus {
  1359. if in == nil {
  1360. return nil
  1361. }
  1362. out := new(SkillStatus)
  1363. in.DeepCopyInto(out)
  1364. return out
  1365. }
  1366. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1367. func (in *Stack) DeepCopyInto(out *Stack) {
  1368. *out = *in
  1369. out.TypeMeta = in.TypeMeta
  1370. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1371. in.Spec.DeepCopyInto(&out.Spec)
  1372. in.Status.DeepCopyInto(&out.Status)
  1373. }
  1374. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  1375. func (in *Stack) DeepCopy() *Stack {
  1376. if in == nil {
  1377. return nil
  1378. }
  1379. out := new(Stack)
  1380. in.DeepCopyInto(out)
  1381. return out
  1382. }
  1383. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1384. func (in *Stack) DeepCopyObject() runtime.Object {
  1385. if c := in.DeepCopy(); c != nil {
  1386. return c
  1387. }
  1388. return nil
  1389. }
  1390. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1391. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  1392. *out = *in
  1393. }
  1394. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  1395. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  1396. if in == nil {
  1397. return nil
  1398. }
  1399. out := new(StackComponentStatus)
  1400. in.DeepCopyInto(out)
  1401. return out
  1402. }
  1403. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1404. func (in *StackList) DeepCopyInto(out *StackList) {
  1405. *out = *in
  1406. out.TypeMeta = in.TypeMeta
  1407. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1408. if in.Items != nil {
  1409. in, out := &in.Items, &out.Items
  1410. *out = make([]Stack, len(*in))
  1411. for i := range *in {
  1412. (*in)[i].DeepCopyInto(&(*out)[i])
  1413. }
  1414. }
  1415. }
  1416. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  1417. func (in *StackList) DeepCopy() *StackList {
  1418. if in == nil {
  1419. return nil
  1420. }
  1421. out := new(StackList)
  1422. in.DeepCopyInto(out)
  1423. return out
  1424. }
  1425. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1426. func (in *StackList) DeepCopyObject() runtime.Object {
  1427. if c := in.DeepCopy(); c != nil {
  1428. return c
  1429. }
  1430. return nil
  1431. }
  1432. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1433. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  1434. *out = *in
  1435. if in.SharedVolumes != nil {
  1436. in, out := &in.SharedVolumes, &out.SharedVolumes
  1437. *out = make([]string, len(*in))
  1438. copy(*out, *in)
  1439. }
  1440. if in.Gateway != nil {
  1441. in, out := &in.Gateway, &out.Gateway
  1442. *out = new(OptionalComponent)
  1443. (*in).DeepCopyInto(*out)
  1444. }
  1445. if in.VectorStore != nil {
  1446. in, out := &in.VectorStore, &out.VectorStore
  1447. *out = new(OptionalComponent)
  1448. (*in).DeepCopyInto(*out)
  1449. }
  1450. if in.GraphStore != nil {
  1451. in, out := &in.GraphStore, &out.GraphStore
  1452. *out = new(OptionalComponent)
  1453. (*in).DeepCopyInto(*out)
  1454. }
  1455. if in.Database != nil {
  1456. in, out := &in.Database, &out.Database
  1457. *out = new(OptionalComponent)
  1458. (*in).DeepCopyInto(*out)
  1459. }
  1460. if in.Observability != nil {
  1461. in, out := &in.Observability, &out.Observability
  1462. *out = new(OptionalComponent)
  1463. (*in).DeepCopyInto(*out)
  1464. }
  1465. }
  1466. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  1467. func (in *StackSpec) DeepCopy() *StackSpec {
  1468. if in == nil {
  1469. return nil
  1470. }
  1471. out := new(StackSpec)
  1472. in.DeepCopyInto(out)
  1473. return out
  1474. }
  1475. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1476. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  1477. *out = *in
  1478. out.ComponentStatus = in.ComponentStatus
  1479. if in.Conditions != nil {
  1480. in, out := &in.Conditions, &out.Conditions
  1481. *out = make([]metav1.Condition, len(*in))
  1482. for i := range *in {
  1483. (*in)[i].DeepCopyInto(&(*out)[i])
  1484. }
  1485. }
  1486. }
  1487. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  1488. func (in *StackStatus) DeepCopy() *StackStatus {
  1489. if in == nil {
  1490. return nil
  1491. }
  1492. out := new(StackStatus)
  1493. in.DeepCopyInto(out)
  1494. return out
  1495. }
  1496. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1497. func (in *Template) DeepCopyInto(out *Template) {
  1498. *out = *in
  1499. in.Metadata.DeepCopyInto(&out.Metadata)
  1500. in.Spec.DeepCopyInto(&out.Spec)
  1501. }
  1502. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  1503. func (in *Template) DeepCopy() *Template {
  1504. if in == nil {
  1505. return nil
  1506. }
  1507. out := new(Template)
  1508. in.DeepCopyInto(out)
  1509. return out
  1510. }
  1511. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1512. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  1513. *out = *in
  1514. in.Runtime.DeepCopyInto(&out.Runtime)
  1515. if in.Volumes != nil {
  1516. in, out := &in.Volumes, &out.Volumes
  1517. *out = make([]v1.Volume, len(*in))
  1518. for i := range *in {
  1519. (*in)[i].DeepCopyInto(&(*out)[i])
  1520. }
  1521. }
  1522. in.Resources.DeepCopyInto(&out.Resources)
  1523. if in.NodeSelector != nil {
  1524. in, out := &in.NodeSelector, &out.NodeSelector
  1525. *out = make(map[string]string, len(*in))
  1526. for key, val := range *in {
  1527. (*out)[key] = val
  1528. }
  1529. }
  1530. if in.Affinity != nil {
  1531. in, out := &in.Affinity, &out.Affinity
  1532. *out = new(v1.Affinity)
  1533. (*in).DeepCopyInto(*out)
  1534. }
  1535. if in.Tolerations != nil {
  1536. in, out := &in.Tolerations, &out.Tolerations
  1537. *out = make([]v1.Toleration, len(*in))
  1538. for i := range *in {
  1539. (*in)[i].DeepCopyInto(&(*out)[i])
  1540. }
  1541. }
  1542. if in.TopologySpreadConstraints != nil {
  1543. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  1544. *out = make([]v1.TopologySpreadConstraint, len(*in))
  1545. for i := range *in {
  1546. (*in)[i].DeepCopyInto(&(*out)[i])
  1547. }
  1548. }
  1549. if in.SecurityContext != nil {
  1550. in, out := &in.SecurityContext, &out.SecurityContext
  1551. *out = new(v1.PodSecurityContext)
  1552. (*in).DeepCopyInto(*out)
  1553. }
  1554. }
  1555. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  1556. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  1557. if in == nil {
  1558. return nil
  1559. }
  1560. out := new(TemplateSpec)
  1561. in.DeepCopyInto(out)
  1562. return out
  1563. }
  1564. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1565. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  1566. *out = *in
  1567. if in.AuthSecretRef != nil {
  1568. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  1569. *out = new(v1.LocalObjectReference)
  1570. **out = **in
  1571. }
  1572. }
  1573. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  1574. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  1575. if in == nil {
  1576. return nil
  1577. }
  1578. out := new(URLArtifactSpec)
  1579. in.DeepCopyInto(out)
  1580. return out
  1581. }