zz_generated.deepcopy.go 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484
  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 *ChunkingSpec) DeepCopyInto(out *ChunkingSpec) {
  95. *out = *in
  96. if in.Separators != nil {
  97. in, out := &in.Separators, &out.Separators
  98. *out = make([]string, len(*in))
  99. copy(*out, *in)
  100. }
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChunkingSpec.
  103. func (in *ChunkingSpec) DeepCopy() *ChunkingSpec {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(ChunkingSpec)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  112. func (in *Component) DeepCopyInto(out *Component) {
  113. *out = *in
  114. out.TypeMeta = in.TypeMeta
  115. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  116. in.Spec.DeepCopyInto(&out.Spec)
  117. in.Status.DeepCopyInto(&out.Status)
  118. }
  119. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
  120. func (in *Component) DeepCopy() *Component {
  121. if in == nil {
  122. return nil
  123. }
  124. out := new(Component)
  125. in.DeepCopyInto(out)
  126. return out
  127. }
  128. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  129. func (in *Component) DeepCopyObject() runtime.Object {
  130. if c := in.DeepCopy(); c != nil {
  131. return c
  132. }
  133. return nil
  134. }
  135. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  136. func (in *ComponentList) DeepCopyInto(out *ComponentList) {
  137. *out = *in
  138. out.TypeMeta = in.TypeMeta
  139. in.ListMeta.DeepCopyInto(&out.ListMeta)
  140. if in.Items != nil {
  141. in, out := &in.Items, &out.Items
  142. *out = make([]Component, len(*in))
  143. for i := range *in {
  144. (*in)[i].DeepCopyInto(&(*out)[i])
  145. }
  146. }
  147. }
  148. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
  149. func (in *ComponentList) DeepCopy() *ComponentList {
  150. if in == nil {
  151. return nil
  152. }
  153. out := new(ComponentList)
  154. in.DeepCopyInto(out)
  155. return out
  156. }
  157. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  158. func (in *ComponentList) DeepCopyObject() runtime.Object {
  159. if c := in.DeepCopy(); c != nil {
  160. return c
  161. }
  162. return nil
  163. }
  164. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  165. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
  166. *out = *in
  167. if in.Template != nil {
  168. in, out := &in.Template, &out.Template
  169. *out = new(Template)
  170. (*in).DeepCopyInto(*out)
  171. }
  172. if in.Variables != nil {
  173. in, out := &in.Variables, &out.Variables
  174. *out = make(map[string]string, len(*in))
  175. for key, val := range *in {
  176. (*out)[key] = val
  177. }
  178. }
  179. if in.Dependencies != nil {
  180. in, out := &in.Dependencies, &out.Dependencies
  181. *out = make([]v1.ObjectReference, len(*in))
  182. copy(*out, *in)
  183. }
  184. if in.StackRef != nil {
  185. in, out := &in.StackRef, &out.StackRef
  186. *out = new(v1.LocalObjectReference)
  187. **out = **in
  188. }
  189. }
  190. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
  191. func (in *ComponentSpec) DeepCopy() *ComponentSpec {
  192. if in == nil {
  193. return nil
  194. }
  195. out := new(ComponentSpec)
  196. in.DeepCopyInto(out)
  197. return out
  198. }
  199. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  200. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  201. *out = *in
  202. if in.Dependencies != nil {
  203. in, out := &in.Dependencies, &out.Dependencies
  204. *out = make(map[string]map[string]int64, len(*in))
  205. for key, val := range *in {
  206. var outVal map[string]int64
  207. if val == nil {
  208. (*out)[key] = nil
  209. } else {
  210. inVal := (*in)[key]
  211. in, out := &inVal, &outVal
  212. *out = make(map[string]int64, len(*in))
  213. for key, val := range *in {
  214. (*out)[key] = val
  215. }
  216. }
  217. (*out)[key] = outVal
  218. }
  219. }
  220. if in.Conditions != nil {
  221. in, out := &in.Conditions, &out.Conditions
  222. *out = make([]metav1.Condition, len(*in))
  223. for i := range *in {
  224. (*in)[i].DeepCopyInto(&(*out)[i])
  225. }
  226. }
  227. }
  228. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  229. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  230. if in == nil {
  231. return nil
  232. }
  233. out := new(ComponentStatus)
  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 *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
  239. *out = *in
  240. if in.Args != nil {
  241. in, out := &in.Args, &out.Args
  242. *out = make([]string, len(*in))
  243. copy(*out, *in)
  244. }
  245. }
  246. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
  247. func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
  248. if in == nil {
  249. return nil
  250. }
  251. out := new(ConditionalArgs)
  252. in.DeepCopyInto(out)
  253. return out
  254. }
  255. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  256. func (in *Document) DeepCopyInto(out *Document) {
  257. *out = *in
  258. out.TypeMeta = in.TypeMeta
  259. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  260. in.Spec.DeepCopyInto(&out.Spec)
  261. in.Status.DeepCopyInto(&out.Status)
  262. }
  263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Document.
  264. func (in *Document) DeepCopy() *Document {
  265. if in == nil {
  266. return nil
  267. }
  268. out := new(Document)
  269. in.DeepCopyInto(out)
  270. return out
  271. }
  272. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  273. func (in *Document) DeepCopyObject() runtime.Object {
  274. if c := in.DeepCopy(); c != nil {
  275. return c
  276. }
  277. return nil
  278. }
  279. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  280. func (in *DocumentList) DeepCopyInto(out *DocumentList) {
  281. *out = *in
  282. out.TypeMeta = in.TypeMeta
  283. in.ListMeta.DeepCopyInto(&out.ListMeta)
  284. if in.Items != nil {
  285. in, out := &in.Items, &out.Items
  286. *out = make([]Document, len(*in))
  287. for i := range *in {
  288. (*in)[i].DeepCopyInto(&(*out)[i])
  289. }
  290. }
  291. }
  292. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentList.
  293. func (in *DocumentList) DeepCopy() *DocumentList {
  294. if in == nil {
  295. return nil
  296. }
  297. out := new(DocumentList)
  298. in.DeepCopyInto(out)
  299. return out
  300. }
  301. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  302. func (in *DocumentList) DeepCopyObject() runtime.Object {
  303. if c := in.DeepCopy(); c != nil {
  304. return c
  305. }
  306. return nil
  307. }
  308. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  309. func (in *DocumentSpec) DeepCopyInto(out *DocumentSpec) {
  310. *out = *in
  311. if in.KnowledgeBaseRef != nil {
  312. in, out := &in.KnowledgeBaseRef, &out.KnowledgeBaseRef
  313. *out = new(v1.ObjectReference)
  314. **out = **in
  315. }
  316. in.Source.DeepCopyInto(&out.Source)
  317. in.ChunkingStrategy.DeepCopyInto(&out.ChunkingStrategy)
  318. }
  319. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentSpec.
  320. func (in *DocumentSpec) DeepCopy() *DocumentSpec {
  321. if in == nil {
  322. return nil
  323. }
  324. out := new(DocumentSpec)
  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 *DocumentStatus) DeepCopyInto(out *DocumentStatus) {
  330. *out = *in
  331. if in.IngestedAt != nil {
  332. in, out := &in.IngestedAt, &out.IngestedAt
  333. *out = (*in).DeepCopy()
  334. }
  335. if in.Conditions != nil {
  336. in, out := &in.Conditions, &out.Conditions
  337. *out = make([]metav1.Condition, len(*in))
  338. for i := range *in {
  339. (*in)[i].DeepCopyInto(&(*out)[i])
  340. }
  341. }
  342. }
  343. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentStatus.
  344. func (in *DocumentStatus) DeepCopy() *DocumentStatus {
  345. if in == nil {
  346. return nil
  347. }
  348. out := new(DocumentStatus)
  349. in.DeepCopyInto(out)
  350. return out
  351. }
  352. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  353. func (in *ExternalKnowledgeBase) DeepCopyInto(out *ExternalKnowledgeBase) {
  354. *out = *in
  355. out.TypeMeta = in.TypeMeta
  356. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  357. in.Spec.DeepCopyInto(&out.Spec)
  358. in.Status.DeepCopyInto(&out.Status)
  359. }
  360. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBase.
  361. func (in *ExternalKnowledgeBase) DeepCopy() *ExternalKnowledgeBase {
  362. if in == nil {
  363. return nil
  364. }
  365. out := new(ExternalKnowledgeBase)
  366. in.DeepCopyInto(out)
  367. return out
  368. }
  369. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  370. func (in *ExternalKnowledgeBase) DeepCopyObject() runtime.Object {
  371. if c := in.DeepCopy(); c != nil {
  372. return c
  373. }
  374. return nil
  375. }
  376. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  377. func (in *ExternalKnowledgeBaseList) DeepCopyInto(out *ExternalKnowledgeBaseList) {
  378. *out = *in
  379. out.TypeMeta = in.TypeMeta
  380. in.ListMeta.DeepCopyInto(&out.ListMeta)
  381. if in.Items != nil {
  382. in, out := &in.Items, &out.Items
  383. *out = make([]ExternalKnowledgeBase, len(*in))
  384. for i := range *in {
  385. (*in)[i].DeepCopyInto(&(*out)[i])
  386. }
  387. }
  388. }
  389. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseList.
  390. func (in *ExternalKnowledgeBaseList) DeepCopy() *ExternalKnowledgeBaseList {
  391. if in == nil {
  392. return nil
  393. }
  394. out := new(ExternalKnowledgeBaseList)
  395. in.DeepCopyInto(out)
  396. return out
  397. }
  398. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  399. func (in *ExternalKnowledgeBaseList) DeepCopyObject() runtime.Object {
  400. if c := in.DeepCopy(); c != nil {
  401. return c
  402. }
  403. return nil
  404. }
  405. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  406. func (in *ExternalKnowledgeBaseSpec) DeepCopyInto(out *ExternalKnowledgeBaseSpec) {
  407. *out = *in
  408. if in.Foo != nil {
  409. in, out := &in.Foo, &out.Foo
  410. *out = new(string)
  411. **out = **in
  412. }
  413. }
  414. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseSpec.
  415. func (in *ExternalKnowledgeBaseSpec) DeepCopy() *ExternalKnowledgeBaseSpec {
  416. if in == nil {
  417. return nil
  418. }
  419. out := new(ExternalKnowledgeBaseSpec)
  420. in.DeepCopyInto(out)
  421. return out
  422. }
  423. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  424. func (in *ExternalKnowledgeBaseStatus) DeepCopyInto(out *ExternalKnowledgeBaseStatus) {
  425. *out = *in
  426. if in.Conditions != nil {
  427. in, out := &in.Conditions, &out.Conditions
  428. *out = make([]metav1.Condition, len(*in))
  429. for i := range *in {
  430. (*in)[i].DeepCopyInto(&(*out)[i])
  431. }
  432. }
  433. }
  434. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseStatus.
  435. func (in *ExternalKnowledgeBaseStatus) DeepCopy() *ExternalKnowledgeBaseStatus {
  436. if in == nil {
  437. return nil
  438. }
  439. out := new(ExternalKnowledgeBaseStatus)
  440. in.DeepCopyInto(out)
  441. return out
  442. }
  443. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  444. func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
  445. *out = *in
  446. out.TypeMeta = in.TypeMeta
  447. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  448. in.Spec.DeepCopyInto(&out.Spec)
  449. in.Status.DeepCopyInto(&out.Status)
  450. }
  451. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
  452. func (in *ExternalModel) DeepCopy() *ExternalModel {
  453. if in == nil {
  454. return nil
  455. }
  456. out := new(ExternalModel)
  457. in.DeepCopyInto(out)
  458. return out
  459. }
  460. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  461. func (in *ExternalModel) DeepCopyObject() runtime.Object {
  462. if c := in.DeepCopy(); c != nil {
  463. return c
  464. }
  465. return nil
  466. }
  467. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  468. func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
  469. *out = *in
  470. out.TypeMeta = in.TypeMeta
  471. in.ListMeta.DeepCopyInto(&out.ListMeta)
  472. if in.Items != nil {
  473. in, out := &in.Items, &out.Items
  474. *out = make([]ExternalModel, len(*in))
  475. for i := range *in {
  476. (*in)[i].DeepCopyInto(&(*out)[i])
  477. }
  478. }
  479. }
  480. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
  481. func (in *ExternalModelList) DeepCopy() *ExternalModelList {
  482. if in == nil {
  483. return nil
  484. }
  485. out := new(ExternalModelList)
  486. in.DeepCopyInto(out)
  487. return out
  488. }
  489. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  490. func (in *ExternalModelList) DeepCopyObject() runtime.Object {
  491. if c := in.DeepCopy(); c != nil {
  492. return c
  493. }
  494. return nil
  495. }
  496. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  497. func (in *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
  498. *out = *in
  499. if in.StackRef != nil {
  500. in, out := &in.StackRef, &out.StackRef
  501. *out = new(v1.LocalObjectReference)
  502. **out = **in
  503. }
  504. if in.Auth != nil {
  505. in, out := &in.Auth, &out.Auth
  506. *out = new(AuthSpec)
  507. (*in).DeepCopyInto(*out)
  508. }
  509. if in.ExtraParams != nil {
  510. in, out := &in.ExtraParams, &out.ExtraParams
  511. *out = make(map[string]string, len(*in))
  512. for key, val := range *in {
  513. (*out)[key] = val
  514. }
  515. }
  516. if in.DefaultInferenceParams != nil {
  517. in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
  518. *out = new(InferenceParameters)
  519. (*in).DeepCopyInto(*out)
  520. }
  521. }
  522. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
  523. func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
  524. if in == nil {
  525. return nil
  526. }
  527. out := new(ExternalModelSpec)
  528. in.DeepCopyInto(out)
  529. return out
  530. }
  531. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  532. func (in *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
  533. *out = *in
  534. if in.Conditions != nil {
  535. in, out := &in.Conditions, &out.Conditions
  536. *out = make([]metav1.Condition, len(*in))
  537. for i := range *in {
  538. (*in)[i].DeepCopyInto(&(*out)[i])
  539. }
  540. }
  541. }
  542. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
  543. func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
  544. if in == nil {
  545. return nil
  546. }
  547. out := new(ExternalModelStatus)
  548. in.DeepCopyInto(out)
  549. return out
  550. }
  551. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  552. func (in *ExternalTool) DeepCopyInto(out *ExternalTool) {
  553. *out = *in
  554. out.TypeMeta = in.TypeMeta
  555. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  556. in.Spec.DeepCopyInto(&out.Spec)
  557. in.Status.DeepCopyInto(&out.Status)
  558. }
  559. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTool.
  560. func (in *ExternalTool) DeepCopy() *ExternalTool {
  561. if in == nil {
  562. return nil
  563. }
  564. out := new(ExternalTool)
  565. in.DeepCopyInto(out)
  566. return out
  567. }
  568. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  569. func (in *ExternalTool) DeepCopyObject() runtime.Object {
  570. if c := in.DeepCopy(); c != nil {
  571. return c
  572. }
  573. return nil
  574. }
  575. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  576. func (in *ExternalToolList) DeepCopyInto(out *ExternalToolList) {
  577. *out = *in
  578. out.TypeMeta = in.TypeMeta
  579. in.ListMeta.DeepCopyInto(&out.ListMeta)
  580. if in.Items != nil {
  581. in, out := &in.Items, &out.Items
  582. *out = make([]ExternalTool, len(*in))
  583. for i := range *in {
  584. (*in)[i].DeepCopyInto(&(*out)[i])
  585. }
  586. }
  587. }
  588. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolList.
  589. func (in *ExternalToolList) DeepCopy() *ExternalToolList {
  590. if in == nil {
  591. return nil
  592. }
  593. out := new(ExternalToolList)
  594. in.DeepCopyInto(out)
  595. return out
  596. }
  597. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  598. func (in *ExternalToolList) DeepCopyObject() runtime.Object {
  599. if c := in.DeepCopy(); c != nil {
  600. return c
  601. }
  602. return nil
  603. }
  604. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  605. func (in *ExternalToolSpec) DeepCopyInto(out *ExternalToolSpec) {
  606. *out = *in
  607. if in.StackRef != nil {
  608. in, out := &in.StackRef, &out.StackRef
  609. *out = new(v1.LocalObjectReference)
  610. **out = **in
  611. }
  612. if in.Auth != nil {
  613. in, out := &in.Auth, &out.Auth
  614. *out = new(AuthSpec)
  615. (*in).DeepCopyInto(*out)
  616. }
  617. }
  618. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolSpec.
  619. func (in *ExternalToolSpec) DeepCopy() *ExternalToolSpec {
  620. if in == nil {
  621. return nil
  622. }
  623. out := new(ExternalToolSpec)
  624. in.DeepCopyInto(out)
  625. return out
  626. }
  627. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  628. func (in *ExternalToolStatus) DeepCopyInto(out *ExternalToolStatus) {
  629. *out = *in
  630. if in.Conditions != nil {
  631. in, out := &in.Conditions, &out.Conditions
  632. *out = make([]metav1.Condition, len(*in))
  633. for i := range *in {
  634. (*in)[i].DeepCopyInto(&(*out)[i])
  635. }
  636. }
  637. }
  638. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolStatus.
  639. func (in *ExternalToolStatus) DeepCopy() *ExternalToolStatus {
  640. if in == nil {
  641. return nil
  642. }
  643. out := new(ExternalToolStatus)
  644. in.DeepCopyInto(out)
  645. return out
  646. }
  647. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  648. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  649. *out = *in
  650. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  651. }
  652. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  653. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  654. if in == nil {
  655. return nil
  656. }
  657. out := new(HTTPHeaderSpec)
  658. in.DeepCopyInto(out)
  659. return out
  660. }
  661. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  662. func (in *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
  663. *out = *in
  664. if in.TokenSecretRef != nil {
  665. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  666. *out = new(v1.SecretKeySelector)
  667. (*in).DeepCopyInto(*out)
  668. }
  669. }
  670. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
  671. func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
  672. if in == nil {
  673. return nil
  674. }
  675. out := new(HuggingFaceArtifactSpec)
  676. in.DeepCopyInto(out)
  677. return out
  678. }
  679. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  680. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  681. *out = *in
  682. if in.MaxTokens != nil {
  683. in, out := &in.MaxTokens, &out.MaxTokens
  684. *out = new(int32)
  685. **out = **in
  686. }
  687. if in.Extra != nil {
  688. in, out := &in.Extra, &out.Extra
  689. *out = make(map[string]string, len(*in))
  690. for key, val := range *in {
  691. (*out)[key] = val
  692. }
  693. }
  694. }
  695. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  696. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  697. if in == nil {
  698. return nil
  699. }
  700. out := new(InferenceParameters)
  701. in.DeepCopyInto(out)
  702. return out
  703. }
  704. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  705. func (in *ManagedKnowledgeBase) DeepCopyInto(out *ManagedKnowledgeBase) {
  706. *out = *in
  707. out.TypeMeta = in.TypeMeta
  708. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  709. in.Spec.DeepCopyInto(&out.Spec)
  710. in.Status.DeepCopyInto(&out.Status)
  711. }
  712. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBase.
  713. func (in *ManagedKnowledgeBase) DeepCopy() *ManagedKnowledgeBase {
  714. if in == nil {
  715. return nil
  716. }
  717. out := new(ManagedKnowledgeBase)
  718. in.DeepCopyInto(out)
  719. return out
  720. }
  721. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  722. func (in *ManagedKnowledgeBase) DeepCopyObject() runtime.Object {
  723. if c := in.DeepCopy(); c != nil {
  724. return c
  725. }
  726. return nil
  727. }
  728. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  729. func (in *ManagedKnowledgeBaseList) DeepCopyInto(out *ManagedKnowledgeBaseList) {
  730. *out = *in
  731. out.TypeMeta = in.TypeMeta
  732. in.ListMeta.DeepCopyInto(&out.ListMeta)
  733. if in.Items != nil {
  734. in, out := &in.Items, &out.Items
  735. *out = make([]ManagedKnowledgeBase, len(*in))
  736. for i := range *in {
  737. (*in)[i].DeepCopyInto(&(*out)[i])
  738. }
  739. }
  740. }
  741. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseList.
  742. func (in *ManagedKnowledgeBaseList) DeepCopy() *ManagedKnowledgeBaseList {
  743. if in == nil {
  744. return nil
  745. }
  746. out := new(ManagedKnowledgeBaseList)
  747. in.DeepCopyInto(out)
  748. return out
  749. }
  750. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  751. func (in *ManagedKnowledgeBaseList) DeepCopyObject() runtime.Object {
  752. if c := in.DeepCopy(); c != nil {
  753. return c
  754. }
  755. return nil
  756. }
  757. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  758. func (in *ManagedKnowledgeBaseSpec) DeepCopyInto(out *ManagedKnowledgeBaseSpec) {
  759. *out = *in
  760. if in.StackRef != nil {
  761. in, out := &in.StackRef, &out.StackRef
  762. *out = new(v1.LocalObjectReference)
  763. **out = **in
  764. }
  765. if in.EmbeddingModelRef != nil {
  766. in, out := &in.EmbeddingModelRef, &out.EmbeddingModelRef
  767. *out = new(v1.ObjectReference)
  768. **out = **in
  769. }
  770. if in.RerankerModelRef != nil {
  771. in, out := &in.RerankerModelRef, &out.RerankerModelRef
  772. *out = new(v1.ObjectReference)
  773. **out = **in
  774. }
  775. if in.Template != nil {
  776. in, out := &in.Template, &out.Template
  777. *out = new(Template)
  778. (*in).DeepCopyInto(*out)
  779. }
  780. if in.IngestionJob != nil {
  781. in, out := &in.IngestionJob, &out.IngestionJob
  782. *out = new(Template)
  783. (*in).DeepCopyInto(*out)
  784. }
  785. if in.EgestionJob != nil {
  786. in, out := &in.EgestionJob, &out.EgestionJob
  787. *out = new(Template)
  788. (*in).DeepCopyInto(*out)
  789. }
  790. }
  791. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseSpec.
  792. func (in *ManagedKnowledgeBaseSpec) DeepCopy() *ManagedKnowledgeBaseSpec {
  793. if in == nil {
  794. return nil
  795. }
  796. out := new(ManagedKnowledgeBaseSpec)
  797. in.DeepCopyInto(out)
  798. return out
  799. }
  800. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  801. func (in *ManagedKnowledgeBaseStatus) DeepCopyInto(out *ManagedKnowledgeBaseStatus) {
  802. *out = *in
  803. if in.Conditions != nil {
  804. in, out := &in.Conditions, &out.Conditions
  805. *out = make([]metav1.Condition, len(*in))
  806. for i := range *in {
  807. (*in)[i].DeepCopyInto(&(*out)[i])
  808. }
  809. }
  810. }
  811. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseStatus.
  812. func (in *ManagedKnowledgeBaseStatus) DeepCopy() *ManagedKnowledgeBaseStatus {
  813. if in == nil {
  814. return nil
  815. }
  816. out := new(ManagedKnowledgeBaseStatus)
  817. in.DeepCopyInto(out)
  818. return out
  819. }
  820. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  821. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  822. *out = *in
  823. out.TypeMeta = in.TypeMeta
  824. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  825. in.Spec.DeepCopyInto(&out.Spec)
  826. in.Status.DeepCopyInto(&out.Status)
  827. }
  828. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  829. func (in *ManagedModel) DeepCopy() *ManagedModel {
  830. if in == nil {
  831. return nil
  832. }
  833. out := new(ManagedModel)
  834. in.DeepCopyInto(out)
  835. return out
  836. }
  837. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  838. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  839. if c := in.DeepCopy(); c != nil {
  840. return c
  841. }
  842. return nil
  843. }
  844. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  845. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  846. *out = *in
  847. out.TypeMeta = in.TypeMeta
  848. in.ListMeta.DeepCopyInto(&out.ListMeta)
  849. if in.Items != nil {
  850. in, out := &in.Items, &out.Items
  851. *out = make([]ManagedModel, len(*in))
  852. for i := range *in {
  853. (*in)[i].DeepCopyInto(&(*out)[i])
  854. }
  855. }
  856. }
  857. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  858. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  859. if in == nil {
  860. return nil
  861. }
  862. out := new(ManagedModelList)
  863. in.DeepCopyInto(out)
  864. return out
  865. }
  866. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  867. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  868. if c := in.DeepCopy(); c != nil {
  869. return c
  870. }
  871. return nil
  872. }
  873. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  874. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  875. *out = *in
  876. if in.StackRef != nil {
  877. in, out := &in.StackRef, &out.StackRef
  878. *out = new(v1.LocalObjectReference)
  879. **out = **in
  880. }
  881. in.Weights.DeepCopyInto(&out.Weights)
  882. if in.Template != nil {
  883. in, out := &in.Template, &out.Template
  884. *out = new(Template)
  885. (*in).DeepCopyInto(*out)
  886. }
  887. if in.RuntimeInferenceParams != nil {
  888. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  889. *out = new(RuntimeInferenceParameters)
  890. (*in).DeepCopyInto(*out)
  891. }
  892. }
  893. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  894. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  895. if in == nil {
  896. return nil
  897. }
  898. out := new(ManagedModelSpec)
  899. in.DeepCopyInto(out)
  900. return out
  901. }
  902. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  903. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  904. *out = *in
  905. if in.Conditions != nil {
  906. in, out := &in.Conditions, &out.Conditions
  907. *out = make([]metav1.Condition, len(*in))
  908. for i := range *in {
  909. (*in)[i].DeepCopyInto(&(*out)[i])
  910. }
  911. }
  912. }
  913. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
  914. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  915. if in == nil {
  916. return nil
  917. }
  918. out := new(ManagedModelStatus)
  919. in.DeepCopyInto(out)
  920. return out
  921. }
  922. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  923. func (in *ManagedTool) DeepCopyInto(out *ManagedTool) {
  924. *out = *in
  925. out.TypeMeta = in.TypeMeta
  926. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  927. in.Spec.DeepCopyInto(&out.Spec)
  928. in.Status.DeepCopyInto(&out.Status)
  929. }
  930. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
  931. func (in *ManagedTool) DeepCopy() *ManagedTool {
  932. if in == nil {
  933. return nil
  934. }
  935. out := new(ManagedTool)
  936. in.DeepCopyInto(out)
  937. return out
  938. }
  939. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  940. func (in *ManagedTool) DeepCopyObject() runtime.Object {
  941. if c := in.DeepCopy(); c != nil {
  942. return c
  943. }
  944. return nil
  945. }
  946. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  947. func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
  948. *out = *in
  949. out.TypeMeta = in.TypeMeta
  950. in.ListMeta.DeepCopyInto(&out.ListMeta)
  951. if in.Items != nil {
  952. in, out := &in.Items, &out.Items
  953. *out = make([]ManagedTool, len(*in))
  954. for i := range *in {
  955. (*in)[i].DeepCopyInto(&(*out)[i])
  956. }
  957. }
  958. }
  959. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
  960. func (in *ManagedToolList) DeepCopy() *ManagedToolList {
  961. if in == nil {
  962. return nil
  963. }
  964. out := new(ManagedToolList)
  965. in.DeepCopyInto(out)
  966. return out
  967. }
  968. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  969. func (in *ManagedToolList) DeepCopyObject() runtime.Object {
  970. if c := in.DeepCopy(); c != nil {
  971. return c
  972. }
  973. return nil
  974. }
  975. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  976. func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
  977. *out = *in
  978. if in.StackRef != nil {
  979. in, out := &in.StackRef, &out.StackRef
  980. *out = new(v1.LocalObjectReference)
  981. **out = **in
  982. }
  983. if in.Auth != nil {
  984. in, out := &in.Auth, &out.Auth
  985. *out = new(AuthSpec)
  986. (*in).DeepCopyInto(*out)
  987. }
  988. if in.Template != nil {
  989. in, out := &in.Template, &out.Template
  990. *out = new(Template)
  991. (*in).DeepCopyInto(*out)
  992. }
  993. }
  994. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
  995. func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
  996. if in == nil {
  997. return nil
  998. }
  999. out := new(ManagedToolSpec)
  1000. in.DeepCopyInto(out)
  1001. return out
  1002. }
  1003. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1004. func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
  1005. *out = *in
  1006. if in.Conditions != nil {
  1007. in, out := &in.Conditions, &out.Conditions
  1008. *out = make([]metav1.Condition, len(*in))
  1009. for i := range *in {
  1010. (*in)[i].DeepCopyInto(&(*out)[i])
  1011. }
  1012. }
  1013. }
  1014. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
  1015. func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
  1016. if in == nil {
  1017. return nil
  1018. }
  1019. out := new(ManagedToolStatus)
  1020. in.DeepCopyInto(out)
  1021. return out
  1022. }
  1023. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1024. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  1025. *out = *in
  1026. if in.Template != nil {
  1027. in, out := &in.Template, &out.Template
  1028. *out = new(Template)
  1029. (*in).DeepCopyInto(*out)
  1030. }
  1031. }
  1032. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  1033. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  1034. if in == nil {
  1035. return nil
  1036. }
  1037. out := new(OptionalComponent)
  1038. in.DeepCopyInto(out)
  1039. return out
  1040. }
  1041. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1042. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  1043. *out = *in
  1044. }
  1045. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  1046. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  1047. if in == nil {
  1048. return nil
  1049. }
  1050. out := new(PVCArtifactSpec)
  1051. in.DeepCopyInto(out)
  1052. return out
  1053. }
  1054. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1055. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  1056. *out = *in
  1057. if in.ContextWindow != nil {
  1058. in, out := &in.ContextWindow, &out.ContextWindow
  1059. *out = new(int32)
  1060. **out = **in
  1061. }
  1062. if in.TopK != nil {
  1063. in, out := &in.TopK, &out.TopK
  1064. *out = new(int32)
  1065. **out = **in
  1066. }
  1067. if in.Extra != nil {
  1068. in, out := &in.Extra, &out.Extra
  1069. *out = make(map[string]string, len(*in))
  1070. for key, val := range *in {
  1071. (*out)[key] = val
  1072. }
  1073. }
  1074. }
  1075. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  1076. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  1077. if in == nil {
  1078. return nil
  1079. }
  1080. out := new(RuntimeInferenceParameters)
  1081. in.DeepCopyInto(out)
  1082. return out
  1083. }
  1084. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1085. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  1086. *out = *in
  1087. if in.Command != nil {
  1088. in, out := &in.Command, &out.Command
  1089. *out = make([]string, len(*in))
  1090. copy(*out, *in)
  1091. }
  1092. if in.Args != nil {
  1093. in, out := &in.Args, &out.Args
  1094. *out = make([]string, len(*in))
  1095. copy(*out, *in)
  1096. }
  1097. if in.ExtraArgs != nil {
  1098. in, out := &in.ExtraArgs, &out.ExtraArgs
  1099. *out = make([]string, len(*in))
  1100. copy(*out, *in)
  1101. }
  1102. if in.ConditionalArgs != nil {
  1103. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  1104. *out = make([]ConditionalArgs, len(*in))
  1105. for i := range *in {
  1106. (*in)[i].DeepCopyInto(&(*out)[i])
  1107. }
  1108. }
  1109. if in.Env != nil {
  1110. in, out := &in.Env, &out.Env
  1111. *out = make([]v1.EnvVar, len(*in))
  1112. for i := range *in {
  1113. (*in)[i].DeepCopyInto(&(*out)[i])
  1114. }
  1115. }
  1116. if in.EnvFrom != nil {
  1117. in, out := &in.EnvFrom, &out.EnvFrom
  1118. *out = make([]v1.EnvFromSource, len(*in))
  1119. for i := range *in {
  1120. (*in)[i].DeepCopyInto(&(*out)[i])
  1121. }
  1122. }
  1123. if in.VolumeMounts != nil {
  1124. in, out := &in.VolumeMounts, &out.VolumeMounts
  1125. *out = make([]v1.VolumeMount, 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 RuntimeSpec.
  1132. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  1133. if in == nil {
  1134. return nil
  1135. }
  1136. out := new(RuntimeSpec)
  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 *Stack) DeepCopyInto(out *Stack) {
  1142. *out = *in
  1143. out.TypeMeta = in.TypeMeta
  1144. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1145. in.Spec.DeepCopyInto(&out.Spec)
  1146. in.Status.DeepCopyInto(&out.Status)
  1147. }
  1148. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  1149. func (in *Stack) DeepCopy() *Stack {
  1150. if in == nil {
  1151. return nil
  1152. }
  1153. out := new(Stack)
  1154. in.DeepCopyInto(out)
  1155. return out
  1156. }
  1157. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1158. func (in *Stack) DeepCopyObject() runtime.Object {
  1159. if c := in.DeepCopy(); c != nil {
  1160. return c
  1161. }
  1162. return nil
  1163. }
  1164. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1165. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  1166. *out = *in
  1167. }
  1168. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  1169. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  1170. if in == nil {
  1171. return nil
  1172. }
  1173. out := new(StackComponentStatus)
  1174. in.DeepCopyInto(out)
  1175. return out
  1176. }
  1177. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1178. func (in *StackList) DeepCopyInto(out *StackList) {
  1179. *out = *in
  1180. out.TypeMeta = in.TypeMeta
  1181. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1182. if in.Items != nil {
  1183. in, out := &in.Items, &out.Items
  1184. *out = make([]Stack, len(*in))
  1185. for i := range *in {
  1186. (*in)[i].DeepCopyInto(&(*out)[i])
  1187. }
  1188. }
  1189. }
  1190. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  1191. func (in *StackList) DeepCopy() *StackList {
  1192. if in == nil {
  1193. return nil
  1194. }
  1195. out := new(StackList)
  1196. in.DeepCopyInto(out)
  1197. return out
  1198. }
  1199. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1200. func (in *StackList) DeepCopyObject() runtime.Object {
  1201. if c := in.DeepCopy(); c != nil {
  1202. return c
  1203. }
  1204. return nil
  1205. }
  1206. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1207. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  1208. *out = *in
  1209. if in.SharedVolumes != nil {
  1210. in, out := &in.SharedVolumes, &out.SharedVolumes
  1211. *out = make([]string, len(*in))
  1212. copy(*out, *in)
  1213. }
  1214. if in.Gateway != nil {
  1215. in, out := &in.Gateway, &out.Gateway
  1216. *out = new(OptionalComponent)
  1217. (*in).DeepCopyInto(*out)
  1218. }
  1219. if in.VectorStore != nil {
  1220. in, out := &in.VectorStore, &out.VectorStore
  1221. *out = new(OptionalComponent)
  1222. (*in).DeepCopyInto(*out)
  1223. }
  1224. if in.GraphStore != nil {
  1225. in, out := &in.GraphStore, &out.GraphStore
  1226. *out = new(OptionalComponent)
  1227. (*in).DeepCopyInto(*out)
  1228. }
  1229. if in.Database != nil {
  1230. in, out := &in.Database, &out.Database
  1231. *out = new(OptionalComponent)
  1232. (*in).DeepCopyInto(*out)
  1233. }
  1234. if in.Observability != nil {
  1235. in, out := &in.Observability, &out.Observability
  1236. *out = new(OptionalComponent)
  1237. (*in).DeepCopyInto(*out)
  1238. }
  1239. }
  1240. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  1241. func (in *StackSpec) DeepCopy() *StackSpec {
  1242. if in == nil {
  1243. return nil
  1244. }
  1245. out := new(StackSpec)
  1246. in.DeepCopyInto(out)
  1247. return out
  1248. }
  1249. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1250. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  1251. *out = *in
  1252. out.ComponentStatus = in.ComponentStatus
  1253. if in.Conditions != nil {
  1254. in, out := &in.Conditions, &out.Conditions
  1255. *out = make([]metav1.Condition, len(*in))
  1256. for i := range *in {
  1257. (*in)[i].DeepCopyInto(&(*out)[i])
  1258. }
  1259. }
  1260. }
  1261. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  1262. func (in *StackStatus) DeepCopy() *StackStatus {
  1263. if in == nil {
  1264. return nil
  1265. }
  1266. out := new(StackStatus)
  1267. in.DeepCopyInto(out)
  1268. return out
  1269. }
  1270. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1271. func (in *Template) DeepCopyInto(out *Template) {
  1272. *out = *in
  1273. in.Metadata.DeepCopyInto(&out.Metadata)
  1274. in.Spec.DeepCopyInto(&out.Spec)
  1275. }
  1276. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  1277. func (in *Template) DeepCopy() *Template {
  1278. if in == nil {
  1279. return nil
  1280. }
  1281. out := new(Template)
  1282. in.DeepCopyInto(out)
  1283. return out
  1284. }
  1285. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1286. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  1287. *out = *in
  1288. in.Runtime.DeepCopyInto(&out.Runtime)
  1289. if in.Volumes != nil {
  1290. in, out := &in.Volumes, &out.Volumes
  1291. *out = make([]v1.Volume, len(*in))
  1292. for i := range *in {
  1293. (*in)[i].DeepCopyInto(&(*out)[i])
  1294. }
  1295. }
  1296. in.Resources.DeepCopyInto(&out.Resources)
  1297. if in.NodeSelector != nil {
  1298. in, out := &in.NodeSelector, &out.NodeSelector
  1299. *out = make(map[string]string, len(*in))
  1300. for key, val := range *in {
  1301. (*out)[key] = val
  1302. }
  1303. }
  1304. if in.Affinity != nil {
  1305. in, out := &in.Affinity, &out.Affinity
  1306. *out = new(v1.Affinity)
  1307. (*in).DeepCopyInto(*out)
  1308. }
  1309. if in.Tolerations != nil {
  1310. in, out := &in.Tolerations, &out.Tolerations
  1311. *out = make([]v1.Toleration, len(*in))
  1312. for i := range *in {
  1313. (*in)[i].DeepCopyInto(&(*out)[i])
  1314. }
  1315. }
  1316. if in.TopologySpreadConstraints != nil {
  1317. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  1318. *out = make([]v1.TopologySpreadConstraint, len(*in))
  1319. for i := range *in {
  1320. (*in)[i].DeepCopyInto(&(*out)[i])
  1321. }
  1322. }
  1323. if in.SecurityContext != nil {
  1324. in, out := &in.SecurityContext, &out.SecurityContext
  1325. *out = new(v1.PodSecurityContext)
  1326. (*in).DeepCopyInto(*out)
  1327. }
  1328. }
  1329. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  1330. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  1331. if in == nil {
  1332. return nil
  1333. }
  1334. out := new(TemplateSpec)
  1335. in.DeepCopyInto(out)
  1336. return out
  1337. }
  1338. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1339. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  1340. *out = *in
  1341. if in.AuthSecretRef != nil {
  1342. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  1343. *out = new(v1.LocalObjectReference)
  1344. **out = **in
  1345. }
  1346. }
  1347. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  1348. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  1349. if in == nil {
  1350. return nil
  1351. }
  1352. out := new(URLArtifactSpec)
  1353. in.DeepCopyInto(out)
  1354. return out
  1355. }