//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 *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 *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 *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 }