| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357 |
- //go:build !ignore_autogenerated
- /*
- Copyright 2026 LocoStack.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- // Code generated by controller-gen. DO NOT EDIT.
- package v1alpha1
- import (
- "k8s.io/api/core/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- runtime "k8s.io/apimachinery/pkg/runtime"
- )
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ArtifactSpec) DeepCopyInto(out *ArtifactSpec) {
- *out = *in
- if in.HuggingFace != nil {
- in, out := &in.HuggingFace, &out.HuggingFace
- *out = new(HuggingFaceArtifactSpec)
- (*in).DeepCopyInto(*out)
- }
- if in.URL != nil {
- in, out := &in.URL, &out.URL
- *out = new(URLArtifactSpec)
- (*in).DeepCopyInto(*out)
- }
- if in.PVC != nil {
- in, out := &in.PVC, &out.PVC
- *out = new(PVCArtifactSpec)
- **out = **in
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSpec.
- func (in *ArtifactSpec) DeepCopy() *ArtifactSpec {
- if in == nil {
- return nil
- }
- out := new(ArtifactSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AuthAPIKey) DeepCopyInto(out *AuthAPIKey) {
- *out = *in
- in.SecretRef.DeepCopyInto(&out.SecretRef)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthAPIKey.
- func (in *AuthAPIKey) DeepCopy() *AuthAPIKey {
- if in == nil {
- return nil
- }
- out := new(AuthAPIKey)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AuthSpec) DeepCopyInto(out *AuthSpec) {
- *out = *in
- if in.BearerToken != nil {
- in, out := &in.BearerToken, &out.BearerToken
- *out = new(v1.SecretKeySelector)
- (*in).DeepCopyInto(*out)
- }
- if in.APIKey != nil {
- in, out := &in.APIKey, &out.APIKey
- *out = new(AuthAPIKey)
- (*in).DeepCopyInto(*out)
- }
- if in.Headers != nil {
- in, out := &in.Headers, &out.Headers
- *out = make([]HTTPHeaderSpec, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
- func (in *AuthSpec) DeepCopy() *AuthSpec {
- if in == nil {
- return nil
- }
- out := new(AuthSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Component) DeepCopyInto(out *Component) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
- func (in *Component) DeepCopy() *Component {
- if in == nil {
- return nil
- }
- out := new(Component)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Component) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentList) DeepCopyInto(out *ComponentList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Component, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
- func (in *ComponentList) DeepCopy() *ComponentList {
- if in == nil {
- return nil
- }
- out := new(ComponentList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ComponentList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
- *out = *in
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- if in.Variables != nil {
- in, out := &in.Variables, &out.Variables
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.Dependencies != nil {
- in, out := &in.Dependencies, &out.Dependencies
- *out = make([]v1.ObjectReference, len(*in))
- copy(*out, *in)
- }
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
- func (in *ComponentSpec) DeepCopy() *ComponentSpec {
- if in == nil {
- return nil
- }
- out := new(ComponentSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
- *out = *in
- if in.Dependencies != nil {
- in, out := &in.Dependencies, &out.Dependencies
- *out = make(map[string]map[string]int64, len(*in))
- for key, val := range *in {
- var outVal map[string]int64
- if val == nil {
- (*out)[key] = nil
- } else {
- inVal := (*in)[key]
- in, out := &inVal, &outVal
- *out = make(map[string]int64, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- (*out)[key] = outVal
- }
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
- func (in *ComponentStatus) DeepCopy() *ComponentStatus {
- if in == nil {
- return nil
- }
- out := new(ComponentStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
- *out = *in
- if in.Args != nil {
- in, out := &in.Args, &out.Args
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
- func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
- if in == nil {
- return nil
- }
- out := new(ConditionalArgs)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalKnowledgeBase) DeepCopyInto(out *ExternalKnowledgeBase) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBase.
- func (in *ExternalKnowledgeBase) DeepCopy() *ExternalKnowledgeBase {
- if in == nil {
- return nil
- }
- out := new(ExternalKnowledgeBase)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalKnowledgeBase) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalKnowledgeBaseList) DeepCopyInto(out *ExternalKnowledgeBaseList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ExternalKnowledgeBase, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseList.
- func (in *ExternalKnowledgeBaseList) DeepCopy() *ExternalKnowledgeBaseList {
- if in == nil {
- return nil
- }
- out := new(ExternalKnowledgeBaseList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalKnowledgeBaseList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalKnowledgeBaseSpec) DeepCopyInto(out *ExternalKnowledgeBaseSpec) {
- *out = *in
- if in.Foo != nil {
- in, out := &in.Foo, &out.Foo
- *out = new(string)
- **out = **in
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseSpec.
- func (in *ExternalKnowledgeBaseSpec) DeepCopy() *ExternalKnowledgeBaseSpec {
- if in == nil {
- return nil
- }
- out := new(ExternalKnowledgeBaseSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalKnowledgeBaseStatus) DeepCopyInto(out *ExternalKnowledgeBaseStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalKnowledgeBaseStatus.
- func (in *ExternalKnowledgeBaseStatus) DeepCopy() *ExternalKnowledgeBaseStatus {
- if in == nil {
- return nil
- }
- out := new(ExternalKnowledgeBaseStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
- func (in *ExternalModel) DeepCopy() *ExternalModel {
- if in == nil {
- return nil
- }
- out := new(ExternalModel)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalModel) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ExternalModel, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
- func (in *ExternalModelList) DeepCopy() *ExternalModelList {
- if in == nil {
- return nil
- }
- out := new(ExternalModelList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalModelList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
- *out = *in
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- if in.Auth != nil {
- in, out := &in.Auth, &out.Auth
- *out = new(AuthSpec)
- (*in).DeepCopyInto(*out)
- }
- if in.ExtraParams != nil {
- in, out := &in.ExtraParams, &out.ExtraParams
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.DefaultInferenceParams != nil {
- in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
- *out = new(InferenceParameters)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
- func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
- if in == nil {
- return nil
- }
- out := new(ExternalModelSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
- func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
- if in == nil {
- return nil
- }
- out := new(ExternalModelStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalTool) DeepCopyInto(out *ExternalTool) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTool.
- func (in *ExternalTool) DeepCopy() *ExternalTool {
- if in == nil {
- return nil
- }
- out := new(ExternalTool)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalTool) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalToolList) DeepCopyInto(out *ExternalToolList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ExternalTool, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolList.
- func (in *ExternalToolList) DeepCopy() *ExternalToolList {
- if in == nil {
- return nil
- }
- out := new(ExternalToolList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ExternalToolList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalToolSpec) DeepCopyInto(out *ExternalToolSpec) {
- *out = *in
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- if in.Auth != nil {
- in, out := &in.Auth, &out.Auth
- *out = new(AuthSpec)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolSpec.
- func (in *ExternalToolSpec) DeepCopy() *ExternalToolSpec {
- if in == nil {
- return nil
- }
- out := new(ExternalToolSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ExternalToolStatus) DeepCopyInto(out *ExternalToolStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolStatus.
- func (in *ExternalToolStatus) DeepCopy() *ExternalToolStatus {
- if in == nil {
- return nil
- }
- out := new(ExternalToolStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
- *out = *in
- in.ValueFrom.DeepCopyInto(&out.ValueFrom)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
- func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
- if in == nil {
- return nil
- }
- out := new(HTTPHeaderSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
- *out = *in
- if in.TokenSecretRef != nil {
- in, out := &in.TokenSecretRef, &out.TokenSecretRef
- *out = new(v1.SecretKeySelector)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
- func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
- if in == nil {
- return nil
- }
- out := new(HuggingFaceArtifactSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
- *out = *in
- if in.MaxTokens != nil {
- in, out := &in.MaxTokens, &out.MaxTokens
- *out = new(int32)
- **out = **in
- }
- if in.Extra != nil {
- in, out := &in.Extra, &out.Extra
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
- func (in *InferenceParameters) DeepCopy() *InferenceParameters {
- if in == nil {
- return nil
- }
- out := new(InferenceParameters)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedKnowledgeBase) DeepCopyInto(out *ManagedKnowledgeBase) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBase.
- func (in *ManagedKnowledgeBase) DeepCopy() *ManagedKnowledgeBase {
- if in == nil {
- return nil
- }
- out := new(ManagedKnowledgeBase)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedKnowledgeBase) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedKnowledgeBaseList) DeepCopyInto(out *ManagedKnowledgeBaseList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ManagedKnowledgeBase, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseList.
- func (in *ManagedKnowledgeBaseList) DeepCopy() *ManagedKnowledgeBaseList {
- if in == nil {
- return nil
- }
- out := new(ManagedKnowledgeBaseList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedKnowledgeBaseList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedKnowledgeBaseSpec) DeepCopyInto(out *ManagedKnowledgeBaseSpec) {
- *out = *in
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- if in.EmbeddingModelRef != nil {
- in, out := &in.EmbeddingModelRef, &out.EmbeddingModelRef
- *out = new(v1.ObjectReference)
- **out = **in
- }
- if in.RerankerModelRef != nil {
- in, out := &in.RerankerModelRef, &out.RerankerModelRef
- *out = new(v1.ObjectReference)
- **out = **in
- }
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- if in.IngestionJob != nil {
- in, out := &in.IngestionJob, &out.IngestionJob
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- if in.EgestionJob != nil {
- in, out := &in.EgestionJob, &out.EgestionJob
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseSpec.
- func (in *ManagedKnowledgeBaseSpec) DeepCopy() *ManagedKnowledgeBaseSpec {
- if in == nil {
- return nil
- }
- out := new(ManagedKnowledgeBaseSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedKnowledgeBaseStatus) DeepCopyInto(out *ManagedKnowledgeBaseStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKnowledgeBaseStatus.
- func (in *ManagedKnowledgeBaseStatus) DeepCopy() *ManagedKnowledgeBaseStatus {
- if in == nil {
- return nil
- }
- out := new(ManagedKnowledgeBaseStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
- func (in *ManagedModel) DeepCopy() *ManagedModel {
- if in == nil {
- return nil
- }
- out := new(ManagedModel)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedModel) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ManagedModel, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
- func (in *ManagedModelList) DeepCopy() *ManagedModelList {
- if in == nil {
- return nil
- }
- out := new(ManagedModelList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedModelList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
- *out = *in
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- in.Weights.DeepCopyInto(&out.Weights)
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- if in.RuntimeInferenceParams != nil {
- in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
- *out = new(RuntimeInferenceParameters)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
- func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
- if in == nil {
- return nil
- }
- out := new(ManagedModelSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
- func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
- if in == nil {
- return nil
- }
- out := new(ManagedModelStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedTool) DeepCopyInto(out *ManagedTool) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
- func (in *ManagedTool) DeepCopy() *ManagedTool {
- if in == nil {
- return nil
- }
- out := new(ManagedTool)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedTool) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ManagedTool, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
- func (in *ManagedToolList) DeepCopy() *ManagedToolList {
- if in == nil {
- return nil
- }
- out := new(ManagedToolList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ManagedToolList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
- *out = *in
- if in.StackRef != nil {
- in, out := &in.StackRef, &out.StackRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- if in.Auth != nil {
- in, out := &in.Auth, &out.Auth
- *out = new(AuthSpec)
- (*in).DeepCopyInto(*out)
- }
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
- func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
- if in == nil {
- return nil
- }
- out := new(ManagedToolSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
- *out = *in
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
- func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
- if in == nil {
- return nil
- }
- out := new(ManagedToolStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
- *out = *in
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(Template)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
- func (in *OptionalComponent) DeepCopy() *OptionalComponent {
- if in == nil {
- return nil
- }
- out := new(OptionalComponent)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
- *out = *in
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
- func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
- if in == nil {
- return nil
- }
- out := new(PVCArtifactSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
- *out = *in
- if in.ContextWindow != nil {
- in, out := &in.ContextWindow, &out.ContextWindow
- *out = new(int32)
- **out = **in
- }
- if in.TopK != nil {
- in, out := &in.TopK, &out.TopK
- *out = new(int32)
- **out = **in
- }
- if in.Extra != nil {
- in, out := &in.Extra, &out.Extra
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
- func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
- if in == nil {
- return nil
- }
- out := new(RuntimeInferenceParameters)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
- *out = *in
- if in.Command != nil {
- in, out := &in.Command, &out.Command
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Args != nil {
- in, out := &in.Args, &out.Args
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.ExtraArgs != nil {
- in, out := &in.ExtraArgs, &out.ExtraArgs
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.ConditionalArgs != nil {
- in, out := &in.ConditionalArgs, &out.ConditionalArgs
- *out = make([]ConditionalArgs, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Env != nil {
- in, out := &in.Env, &out.Env
- *out = make([]v1.EnvVar, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.EnvFrom != nil {
- in, out := &in.EnvFrom, &out.EnvFrom
- *out = make([]v1.EnvFromSource, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.VolumeMounts != nil {
- in, out := &in.VolumeMounts, &out.VolumeMounts
- *out = make([]v1.VolumeMount, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
- func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
- if in == nil {
- return nil
- }
- out := new(RuntimeSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Stack) DeepCopyInto(out *Stack) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- in.Status.DeepCopyInto(&out.Status)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
- func (in *Stack) DeepCopy() *Stack {
- if in == nil {
- return nil
- }
- out := new(Stack)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *Stack) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
- *out = *in
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
- func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
- if in == nil {
- return nil
- }
- out := new(StackComponentStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StackList) DeepCopyInto(out *StackList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]Stack, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
- func (in *StackList) DeepCopy() *StackList {
- if in == nil {
- return nil
- }
- out := new(StackList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *StackList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StackSpec) DeepCopyInto(out *StackSpec) {
- *out = *in
- if in.SharedVolumes != nil {
- in, out := &in.SharedVolumes, &out.SharedVolumes
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Gateway != nil {
- in, out := &in.Gateway, &out.Gateway
- *out = new(OptionalComponent)
- (*in).DeepCopyInto(*out)
- }
- if in.VectorStore != nil {
- in, out := &in.VectorStore, &out.VectorStore
- *out = new(OptionalComponent)
- (*in).DeepCopyInto(*out)
- }
- if in.GraphStore != nil {
- in, out := &in.GraphStore, &out.GraphStore
- *out = new(OptionalComponent)
- (*in).DeepCopyInto(*out)
- }
- if in.Database != nil {
- in, out := &in.Database, &out.Database
- *out = new(OptionalComponent)
- (*in).DeepCopyInto(*out)
- }
- if in.Observability != nil {
- in, out := &in.Observability, &out.Observability
- *out = new(OptionalComponent)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
- func (in *StackSpec) DeepCopy() *StackSpec {
- if in == nil {
- return nil
- }
- out := new(StackSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StackStatus) DeepCopyInto(out *StackStatus) {
- *out = *in
- out.ComponentStatus = in.ComponentStatus
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]metav1.Condition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
- func (in *StackStatus) DeepCopy() *StackStatus {
- if in == nil {
- return nil
- }
- out := new(StackStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Template) DeepCopyInto(out *Template) {
- *out = *in
- in.Metadata.DeepCopyInto(&out.Metadata)
- in.Spec.DeepCopyInto(&out.Spec)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
- func (in *Template) DeepCopy() *Template {
- if in == nil {
- return nil
- }
- out := new(Template)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
- *out = *in
- in.Runtime.DeepCopyInto(&out.Runtime)
- if in.Volumes != nil {
- in, out := &in.Volumes, &out.Volumes
- *out = make([]v1.Volume, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- in.Resources.DeepCopyInto(&out.Resources)
- if in.NodeSelector != nil {
- in, out := &in.NodeSelector, &out.NodeSelector
- *out = make(map[string]string, len(*in))
- for key, val := range *in {
- (*out)[key] = val
- }
- }
- if in.Affinity != nil {
- in, out := &in.Affinity, &out.Affinity
- *out = new(v1.Affinity)
- (*in).DeepCopyInto(*out)
- }
- if in.Tolerations != nil {
- in, out := &in.Tolerations, &out.Tolerations
- *out = make([]v1.Toleration, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.TopologySpreadConstraints != nil {
- in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
- *out = make([]v1.TopologySpreadConstraint, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.SecurityContext != nil {
- in, out := &in.SecurityContext, &out.SecurityContext
- *out = new(v1.PodSecurityContext)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
- func (in *TemplateSpec) DeepCopy() *TemplateSpec {
- if in == nil {
- return nil
- }
- out := new(TemplateSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
- *out = *in
- if in.AuthSecretRef != nil {
- in, out := &in.AuthSecretRef, &out.AuthSecretRef
- *out = new(v1.LocalObjectReference)
- **out = **in
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
- func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
- if in == nil {
- return nil
- }
- out := new(URLArtifactSpec)
- in.DeepCopyInto(out)
- return out
- }
|