OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
//go:build !ignore_autogenerated
/*
Copyright 2026 The OpenRAG Authors.
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/autoscaling/v2"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackendSpec) DeepCopyInto(out *BackendSpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
if in.JWTSigningKeySecret != nil {
in, out := &in.JWTSigningKeySecret, &out.JWTSigningKeySecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
if in.EncryptionKeySecret != nil {
in, out := &in.EncryptionKeySecret, &out.EncryptionKeySecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(PersistenceSpec)
(*in).DeepCopyInto(*out)
}
if in.OAuth != nil {
in, out := &in.OAuth, &out.OAuth
*out = new(OAuthSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendSpec.
func (in *BackendSpec) DeepCopy() *BackendSpec {
if in == nil {
return nil
}
out := new(BackendSpec)
in.DeepCopyInto(out)
return out
}
// 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.ImagePullSecrets != nil {
in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
*out = make([]v1.LocalObjectReference, len(*in))
copy(*out, *in)
}
if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas
*out = new(int32)
**out = **in
}
in.Resources.DeepCopyInto(&out.Resources)
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.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.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.Affinity != nil {
in, out := &in.Affinity, &out.Affinity
*out = new(v1.Affinity)
(*in).DeepCopyInto(*out)
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PodLabels != nil {
in, out := &in.PodLabels, &out.PodLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PodAnnotations != nil {
in, out := &in.PodAnnotations, &out.PodAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.CreateServiceAccount != nil {
in, out := &in.CreateServiceAccount, &out.CreateServiceAccount
*out = new(bool)
**out = **in
}
if in.CreateService != nil {
in, out := &in.CreateService, &out.CreateService
*out = new(bool)
**out = **in
}
if in.PodSecurityContext != nil {
in, out := &in.PodSecurityContext, &out.PodSecurityContext
*out = new(v1.PodSecurityContext)
(*in).DeepCopyInto(*out)
}
if in.SecurityContext != nil {
in, out := &in.SecurityContext, &out.SecurityContext
*out = new(v1.SecurityContext)
(*in).DeepCopyInto(*out)
}
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.ServiceAnnotations != nil {
in, out := &in.ServiceAnnotations, &out.ServiceAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.ServiceLabels != nil {
in, out := &in.ServiceLabels, &out.ServiceLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.ServiceAccountLabels != nil {
in, out := &in.ServiceAccountLabels, &out.ServiceAccountLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.ServiceAccountAnnotations != nil {
in, out := &in.ServiceAccountAnnotations, &out.ServiceAccountAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.SecretLabels != nil {
in, out := &in.SecretLabels, &out.SecretLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.SecretAnnotations != nil {
in, out := &in.SecretAnnotations, &out.SecretAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
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)
}
}
// 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 *DoclingComponentsSpec) DeepCopyInto(out *DoclingComponentsSpec) {
*out = *in
if in.Serve != nil {
in, out := &in.Serve, &out.Serve
*out = new(DoclingServeSpec)
(*in).DeepCopyInto(*out)
}
if in.Worker != nil {
in, out := &in.Worker, &out.Worker
*out = new(DoclingWorkerSpec)
(*in).DeepCopyInto(*out)
}
if in.Valkey != nil {
in, out := &in.Valkey, &out.Valkey
*out = new(ValkeySpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingComponentsSpec.
func (in *DoclingComponentsSpec) DeepCopy() *DoclingComponentsSpec {
if in == nil {
return nil
}
out := new(DoclingComponentsSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingConfig) DeepCopyInto(out *DoclingConfig) {
*out = *in
if in.OCR != nil {
in, out := &in.OCR, &out.OCR
*out = new(DoclingOCRConfig)
(*in).DeepCopyInto(*out)
}
if in.TableStructure != nil {
in, out := &in.TableStructure, &out.TableStructure
*out = new(DoclingTableStructureConfig)
(*in).DeepCopyInto(*out)
}
if in.Performance != nil {
in, out := &in.Performance, &out.Performance
*out = new(DoclingPerformanceConfig)
(*in).DeepCopyInto(*out)
}
if in.Models != nil {
in, out := &in.Models, &out.Models
*out = new(DoclingModelsConfig)
**out = **in
}
if in.ExtraEnv != nil {
in, out := &in.ExtraEnv, &out.ExtraEnv
*out = make([]v1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingConfig.
func (in *DoclingConfig) DeepCopy() *DoclingConfig {
if in == nil {
return nil
}
out := new(DoclingConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingHPASpec) DeepCopyInto(out *DoclingHPASpec) {
*out = *in
if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas
*out = new(int32)
**out = **in
}
if in.TargetCPUUtilizationPercentage != nil {
in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage
*out = new(int32)
**out = **in
}
if in.TargetMemoryUtilizationPercentage != nil {
in, out := &in.TargetMemoryUtilizationPercentage, &out.TargetMemoryUtilizationPercentage
*out = new(int32)
**out = **in
}
if in.Behavior != nil {
in, out := &in.Behavior, &out.Behavior
*out = new(v2.HorizontalPodAutoscalerBehavior)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingHPASpec.
func (in *DoclingHPASpec) DeepCopy() *DoclingHPASpec {
if in == nil {
return nil
}
out := new(DoclingHPASpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingModelsConfig) DeepCopyInto(out *DoclingModelsConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingModelsConfig.
func (in *DoclingModelsConfig) DeepCopy() *DoclingModelsConfig {
if in == nil {
return nil
}
out := new(DoclingModelsConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingOCRConfig) DeepCopyInto(out *DoclingOCRConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.Languages != nil {
in, out := &in.Languages, &out.Languages
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ForceFullPageOCR != nil {
in, out := &in.ForceFullPageOCR, &out.ForceFullPageOCR
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingOCRConfig.
func (in *DoclingOCRConfig) DeepCopy() *DoclingOCRConfig {
if in == nil {
return nil
}
out := new(DoclingOCRConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingPerformanceConfig) DeepCopyInto(out *DoclingPerformanceConfig) {
*out = *in
if in.BatchSize != nil {
in, out := &in.BatchSize, &out.BatchSize
*out = new(int32)
**out = **in
}
if in.MaxWorkers != nil {
in, out := &in.MaxWorkers, &out.MaxWorkers
*out = new(int32)
**out = **in
}
if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
*out = new(int32)
**out = **in
}
if in.EnableGPU != nil {
in, out := &in.EnableGPU, &out.EnableGPU
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingPerformanceConfig.
func (in *DoclingPerformanceConfig) DeepCopy() *DoclingPerformanceConfig {
if in == nil {
return nil
}
out := new(DoclingPerformanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingServeSpec) DeepCopyInto(out *DoclingServeSpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(PersistenceSpec)
(*in).DeepCopyInto(*out)
}
if in.LivenessProbe != nil {
in, out := &in.LivenessProbe, &out.LivenessProbe
*out = new(v1.Probe)
(*in).DeepCopyInto(*out)
}
if in.ReadinessProbe != nil {
in, out := &in.ReadinessProbe, &out.ReadinessProbe
*out = new(v1.Probe)
(*in).DeepCopyInto(*out)
}
if in.HPA != nil {
in, out := &in.HPA, &out.HPA
*out = new(DoclingHPASpec)
(*in).DeepCopyInto(*out)
}
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(DoclingConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingServeSpec.
func (in *DoclingServeSpec) DeepCopy() *DoclingServeSpec {
if in == nil {
return nil
}
out := new(DoclingServeSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingSpec) DeepCopyInto(out *DoclingSpec) {
*out = *in
if in.VerifySsl != nil {
in, out := &in.VerifySsl, &out.VerifySsl
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingSpec.
func (in *DoclingSpec) DeepCopy() *DoclingSpec {
if in == nil {
return nil
}
out := new(DoclingSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingTableStructureConfig) DeepCopyInto(out *DoclingTableStructureConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.MinConfidencePercent != nil {
in, out := &in.MinConfidencePercent, &out.MinConfidencePercent
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingTableStructureConfig.
func (in *DoclingTableStructureConfig) DeepCopy() *DoclingTableStructureConfig {
if in == nil {
return nil
}
out := new(DoclingTableStructureConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DoclingWorkerSpec) DeepCopyInto(out *DoclingWorkerSpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(PersistenceSpec)
(*in).DeepCopyInto(*out)
}
if in.QueueURLSecret != nil {
in, out := &in.QueueURLSecret, &out.QueueURLSecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
if in.LivenessProbe != nil {
in, out := &in.LivenessProbe, &out.LivenessProbe
*out = new(v1.Probe)
(*in).DeepCopyInto(*out)
}
if in.ReadinessProbe != nil {
in, out := &in.ReadinessProbe, &out.ReadinessProbe
*out = new(v1.Probe)
(*in).DeepCopyInto(*out)
}
if in.HPA != nil {
in, out := &in.HPA, &out.HPA
*out = new(DoclingHPASpec)
(*in).DeepCopyInto(*out)
}
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(DoclingConfig)
(*in).DeepCopyInto(*out)
}
if in.Concurrency != nil {
in, out := &in.Concurrency, &out.Concurrency
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoclingWorkerSpec.
func (in *DoclingWorkerSpec) DeepCopy() *DoclingWorkerSpec {
if in == nil {
return nil
}
out := new(DoclingWorkerSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EmbeddingSpec) DeepCopyInto(out *EmbeddingSpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddingSpec.
func (in *EmbeddingSpec) DeepCopy() *EmbeddingSpec {
if in == nil {
return nil
}
out := new(EmbeddingSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FrontendSpec) DeepCopyInto(out *FrontendSpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendSpec.
func (in *FrontendSpec) DeepCopy() *FrontendSpec {
if in == nil {
return nil
}
out := new(FrontendSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GoogleOAuthSpec) DeepCopyInto(out *GoogleOAuthSpec) {
*out = *in
if in.ClientSecret != nil {
in, out := &in.ClientSecret, &out.ClientSecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleOAuthSpec.
func (in *GoogleOAuthSpec) DeepCopy() *GoogleOAuthSpec {
if in == nil {
return nil
}
out := new(GoogleOAuthSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LLMSpec) DeepCopyInto(out *LLMSpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMSpec.
func (in *LLMSpec) DeepCopy() *LLMSpec {
if in == nil {
return nil
}
out := new(LLMSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LangflowSpec) DeepCopyInto(out *LangflowSpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
if in.SecretKeySecret != nil {
in, out := &in.SecretKeySecret, &out.SecretKeySecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(PersistenceSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LangflowSpec.
func (in *LangflowSpec) DeepCopy() *LangflowSpec {
if in == nil {
return nil
}
out := new(LangflowSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MicrosoftOAuthSpec) DeepCopyInto(out *MicrosoftOAuthSpec) {
*out = *in
if in.ClientSecret != nil {
in, out := &in.ClientSecret, &out.ClientSecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftOAuthSpec.
func (in *MicrosoftOAuthSpec) DeepCopy() *MicrosoftOAuthSpec {
if in == nil {
return nil
}
out := new(MicrosoftOAuthSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
if in == nil {
return nil
}
out := new(NetworkPolicySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OAuthSpec) DeepCopyInto(out *OAuthSpec) {
*out = *in
if in.Google != nil {
in, out := &in.Google, &out.Google
*out = new(GoogleOAuthSpec)
(*in).DeepCopyInto(*out)
}
if in.Microsoft != nil {
in, out := &in.Microsoft, &out.Microsoft
*out = new(MicrosoftOAuthSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthSpec.
func (in *OAuthSpec) DeepCopy() *OAuthSpec {
if in == nil {
return nil
}
out := new(OAuthSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OpenRAG) DeepCopyInto(out *OpenRAG) {
*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 OpenRAG.
func (in *OpenRAG) DeepCopy() *OpenRAG {
if in == nil {
return nil
}
out := new(OpenRAG)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *OpenRAG) 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 *OpenRAGList) DeepCopyInto(out *OpenRAGList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]OpenRAG, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenRAGList.
func (in *OpenRAGList) DeepCopy() *OpenRAGList {
if in == nil {
return nil
}
out := new(OpenRAGList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *OpenRAGList) 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 *OpenRAGSpec) DeepCopyInto(out *OpenRAGSpec) {
*out = *in
if in.ImagePullSecrets != nil {
in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
*out = make([]v1.LocalObjectReference, len(*in))
copy(*out, *in)
}
if in.CommonResourceLabels != nil {
in, out := &in.CommonResourceLabels, &out.CommonResourceLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.CommonResourceAnnotations != nil {
in, out := &in.CommonResourceAnnotations, &out.CommonResourceAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
in.Frontend.DeepCopyInto(&out.Frontend)
in.Backend.DeepCopyInto(&out.Backend)
in.Langflow.DeepCopyInto(&out.Langflow)
if in.LLM != nil {
in, out := &in.LLM, &out.LLM
*out = new(LLMSpec)
**out = **in
}
if in.Embedding != nil {
in, out := &in.Embedding, &out.Embedding
*out = new(EmbeddingSpec)
**out = **in
}
if in.WatsonX != nil {
in, out := &in.WatsonX, &out.WatsonX
*out = new(WatsonXSpec)
(*in).DeepCopyInto(*out)
}
if in.OpenSearch != nil {
in, out := &in.OpenSearch, &out.OpenSearch
*out = new(OpenSearchSpec)
**out = **in
}
if in.DoclingComponents != nil {
in, out := &in.DoclingComponents, &out.DoclingComponents
*out = new(DoclingComponentsSpec)
(*in).DeepCopyInto(*out)
}
if in.Docling != nil {
in, out := &in.Docling, &out.Docling
*out = new(DoclingSpec)
(*in).DeepCopyInto(*out)
}
out.NetworkPolicy = in.NetworkPolicy
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenRAGSpec.
func (in *OpenRAGSpec) DeepCopy() *OpenRAGSpec {
if in == nil {
return nil
}
out := new(OpenRAGSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OpenRAGStatus) DeepCopyInto(out *OpenRAGStatus) {
*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 OpenRAGStatus.
func (in *OpenRAGStatus) DeepCopy() *OpenRAGStatus {
if in == nil {
return nil
}
out := new(OpenRAGStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *OpenSearchSpec) DeepCopyInto(out *OpenSearchSpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenSearchSpec.
func (in *OpenSearchSpec) DeepCopy() *OpenSearchSpec {
if in == nil {
return nil
}
out := new(OpenSearchSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PersistenceSpec) DeepCopyInto(out *PersistenceSpec) {
*out = *in
if in.StorageClassName != nil {
in, out := &in.StorageClassName, &out.StorageClassName
*out = new(string)
**out = **in
}
out.Size = in.Size.DeepCopy()
if in.AccessModes != nil {
in, out := &in.AccessModes, &out.AccessModes
*out = make([]v1.PersistentVolumeAccessMode, len(*in))
copy(*out, *in)
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
*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 PersistenceSpec.
func (in *PersistenceSpec) DeepCopy() *PersistenceSpec {
if in == nil {
return nil
}
out := new(PersistenceSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ValkeySpec) DeepCopyInto(out *ValkeySpec) {
*out = *in
in.ComponentSpec.DeepCopyInto(&out.ComponentSpec)
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(PersistenceSpec)
(*in).DeepCopyInto(*out)
}
if in.PasswordSecret != nil {
in, out := &in.PasswordSecret, &out.PasswordSecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValkeySpec.
func (in *ValkeySpec) DeepCopy() *ValkeySpec {
if in == nil {
return nil
}
out := new(ValkeySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WatsonXSpec) DeepCopyInto(out *WatsonXSpec) {
*out = *in
if in.APIKeySecret != nil {
in, out := &in.APIKeySecret, &out.APIKeySecret
*out = new(v1.SecretKeySelector)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatsonXSpec.
func (in *WatsonXSpec) DeepCopy() *WatsonXSpec {
if in == nil {
return nil
}
out := new(WatsonXSpec)
in.DeepCopyInto(out)
return out
}