zz_generated.deepcopy.go 45 KB

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