mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
Signed-off-by: Andres Llausas <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]>
1079 lines
30 KiB
Go
Generated
1079 lines
30 KiB
Go
Generated
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2026 The KServe 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 v1alpha2
|
|
|
|
import (
|
|
"github.com/kedacore/keda/v2/apis/keda/v1alpha1"
|
|
"k8s.io/api/autoscaling/v2"
|
|
"k8s.io/api/core/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
"knative.dev/pkg/apis"
|
|
duckv1 "knative.dev/pkg/apis/duck/v1"
|
|
apiv1 "sigs.k8s.io/gateway-api-inference-extension/api/v1"
|
|
apisv1 "sigs.k8s.io/gateway-api/apis/v1"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ActuatorSpec) DeepCopyInto(out *ActuatorSpec) {
|
|
*out = *in
|
|
if in.HPA != nil {
|
|
in, out := &in.HPA, &out.HPA
|
|
*out = new(HPAScalingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KEDA != nil {
|
|
in, out := &in.KEDA, &out.KEDA
|
|
*out = new(KEDAScalingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActuatorSpec.
|
|
func (in *ActuatorSpec) DeepCopy() *ActuatorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ActuatorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AppliedConfigRef) DeepCopyInto(out *AppliedConfigRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppliedConfigRef.
|
|
func (in *AppliedConfigRef) DeepCopy() *AppliedConfigRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AppliedConfigRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ConfidentialSpec) DeepCopyInto(out *ConfidentialSpec) {
|
|
*out = *in
|
|
if in.ResourceId != nil {
|
|
in, out := &in.ResourceId, &out.ResourceId
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfidentialSpec.
|
|
func (in *ConfidentialSpec) DeepCopy() *ConfidentialSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ConfidentialSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GatewayObjectReference) DeepCopyInto(out *GatewayObjectReference) {
|
|
*out = *in
|
|
out.UntypedObjectReference = in.UntypedObjectReference
|
|
if in.SectionName != nil {
|
|
in, out := &in.SectionName, &out.SectionName
|
|
*out = new(apisv1.SectionName)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObjectReference.
|
|
func (in *GatewayObjectReference) DeepCopy() *GatewayObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GatewayObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GatewayRoutesSpec) DeepCopyInto(out *GatewayRoutesSpec) {
|
|
*out = *in
|
|
if in.HTTP != nil {
|
|
in, out := &in.HTTP, &out.HTTP
|
|
*out = new(HTTPRouteSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayRoutesSpec.
|
|
func (in *GatewayRoutesSpec) DeepCopy() *GatewayRoutesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GatewayRoutesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) {
|
|
*out = *in
|
|
if in.Refs != nil {
|
|
in, out := &in.Refs, &out.Refs
|
|
*out = make([]GatewayObjectReference, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
|
|
func (in *GatewaySpec) DeepCopy() *GatewaySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GatewaySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HPAScalingSpec) DeepCopyInto(out *HPAScalingSpec) {
|
|
*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 HPAScalingSpec.
|
|
func (in *HPAScalingSpec) DeepCopy() *HPAScalingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HPAScalingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HTTPRouteSpec) DeepCopyInto(out *HTTPRouteSpec) {
|
|
*out = *in
|
|
if in.Refs != nil {
|
|
in, out := &in.Refs, &out.Refs
|
|
*out = make([]v1.LocalObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Spec != nil {
|
|
in, out := &in.Spec, &out.Spec
|
|
*out = new(apisv1.HTTPRouteSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteSpec.
|
|
func (in *HTTPRouteSpec) DeepCopy() *HTTPRouteSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HTTPRouteSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InferencePoolSpec) DeepCopyInto(out *InferencePoolSpec) {
|
|
*out = *in
|
|
if in.Spec != nil {
|
|
in, out := &in.Spec, &out.Spec
|
|
*out = new(apiv1.InferencePoolSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Ref != nil {
|
|
in, out := &in.Ref, &out.Ref
|
|
*out = new(v1.LocalObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferencePoolSpec.
|
|
func (in *InferencePoolSpec) DeepCopy() *InferencePoolSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InferencePoolSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
|
|
*out = *in
|
|
if in.Refs != nil {
|
|
in, out := &in.Refs, &out.Refs
|
|
*out = make([]UntypedObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
|
|
func (in *IngressSpec) DeepCopy() *IngressSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KEDAScalingSpec) DeepCopyInto(out *KEDAScalingSpec) {
|
|
*out = *in
|
|
if in.PollingInterval != nil {
|
|
in, out := &in.PollingInterval, &out.PollingInterval
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.CooldownPeriod != nil {
|
|
in, out := &in.CooldownPeriod, &out.CooldownPeriod
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.InitialCooldownPeriod != nil {
|
|
in, out := &in.InitialCooldownPeriod, &out.InitialCooldownPeriod
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.IdleReplicaCount != nil {
|
|
in, out := &in.IdleReplicaCount, &out.IdleReplicaCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Fallback != nil {
|
|
in, out := &in.Fallback, &out.Fallback
|
|
*out = new(v1alpha1.Fallback)
|
|
**out = **in
|
|
}
|
|
if in.Advanced != nil {
|
|
in, out := &in.Advanced, &out.Advanced
|
|
*out = new(v1alpha1.AdvancedConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KEDAScalingSpec.
|
|
func (in *KEDAScalingSpec) DeepCopy() *KEDAScalingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KEDAScalingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KVCacheOffloadingSpec) DeepCopyInto(out *KVCacheOffloadingSpec) {
|
|
*out = *in
|
|
out.CPU = in.CPU.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KVCacheOffloadingSpec.
|
|
func (in *KVCacheOffloadingSpec) DeepCopy() *KVCacheOffloadingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KVCacheOffloadingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LLMInferenceService) DeepCopyInto(out *LLMInferenceService) {
|
|
*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 LLMInferenceService.
|
|
func (in *LLMInferenceService) DeepCopy() *LLMInferenceService {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceService)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *LLMInferenceService) 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 *LLMInferenceServiceConfig) DeepCopyInto(out *LLMInferenceServiceConfig) {
|
|
*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 LLMInferenceServiceConfig.
|
|
func (in *LLMInferenceServiceConfig) DeepCopy() *LLMInferenceServiceConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *LLMInferenceServiceConfig) 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 *LLMInferenceServiceConfigList) DeepCopyInto(out *LLMInferenceServiceConfigList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]LLMInferenceServiceConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMInferenceServiceConfigList.
|
|
func (in *LLMInferenceServiceConfigList) DeepCopy() *LLMInferenceServiceConfigList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceConfigList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *LLMInferenceServiceConfigList) 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 *LLMInferenceServiceConfigStatus) DeepCopyInto(out *LLMInferenceServiceConfigStatus) {
|
|
*out = *in
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
if in.ReferencedBy != nil {
|
|
in, out := &in.ReferencedBy, &out.ReferencedBy
|
|
*out = make([]UntypedObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMInferenceServiceConfigStatus.
|
|
func (in *LLMInferenceServiceConfigStatus) DeepCopy() *LLMInferenceServiceConfigStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceConfigStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LLMInferenceServiceList) DeepCopyInto(out *LLMInferenceServiceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]LLMInferenceService, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMInferenceServiceList.
|
|
func (in *LLMInferenceServiceList) DeepCopy() *LLMInferenceServiceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *LLMInferenceServiceList) 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 *LLMInferenceServiceSpec) DeepCopyInto(out *LLMInferenceServiceSpec) {
|
|
*out = *in
|
|
in.Model.DeepCopyInto(&out.Model)
|
|
if in.StorageInitializer != nil {
|
|
in, out := &in.StorageInitializer, &out.StorageInitializer
|
|
*out = new(StorageInitializerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.WorkloadSpec.DeepCopyInto(&out.WorkloadSpec)
|
|
if in.Router != nil {
|
|
in, out := &in.Router, &out.Router
|
|
*out = new(RouterSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Prefill != nil {
|
|
in, out := &in.Prefill, &out.Prefill
|
|
*out = new(WorkloadSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Tracing != nil {
|
|
in, out := &in.Tracing, &out.Tracing
|
|
*out = new(TracingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.BaseRefs != nil {
|
|
in, out := &in.BaseRefs, &out.BaseRefs
|
|
*out = make([]v1.LocalObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMInferenceServiceSpec.
|
|
func (in *LLMInferenceServiceSpec) DeepCopy() *LLMInferenceServiceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LLMInferenceServiceStatus) DeepCopyInto(out *LLMInferenceServiceStatus) {
|
|
*out = *in
|
|
if in.URL != nil {
|
|
in, out := &in.URL, &out.URL
|
|
*out = new(apis.URL)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
if in.Address != nil {
|
|
in, out := &in.Address, &out.Address
|
|
*out = new(duckv1.Addressable)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Addresses != nil {
|
|
in, out := &in.Addresses, &out.Addresses
|
|
*out = make([]SourcedAddress, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Router != nil {
|
|
in, out := &in.Router, &out.Router
|
|
*out = new(RouterStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Workloads != nil {
|
|
in, out := &in.Workloads, &out.Workloads
|
|
*out = new(WorkloadStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AppliedConfigRefs != nil {
|
|
in, out := &in.AppliedConfigRefs, &out.AppliedConfigRefs
|
|
*out = make([]AppliedConfigRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMInferenceServiceStatus.
|
|
func (in *LLMInferenceServiceStatus) DeepCopy() *LLMInferenceServiceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMInferenceServiceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LLMModelSpec) DeepCopyInto(out *LLMModelSpec) {
|
|
*out = *in
|
|
in.URI.DeepCopyInto(&out.URI)
|
|
if in.Name != nil {
|
|
in, out := &in.Name, &out.Name
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LoRA != nil {
|
|
in, out := &in.LoRA, &out.LoRA
|
|
*out = new(LoRASpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Confidential != nil {
|
|
in, out := &in.Confidential, &out.Confidential
|
|
*out = new(ConfidentialSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LLMModelSpec.
|
|
func (in *LLMModelSpec) DeepCopy() *LLMModelSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LLMModelSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoRASpec) DeepCopyInto(out *LoRASpec) {
|
|
*out = *in
|
|
if in.Adapters != nil {
|
|
in, out := &in.Adapters, &out.Adapters
|
|
*out = make([]LLMModelSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.MaxRank != nil {
|
|
in, out := &in.MaxRank, &out.MaxRank
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxAdapters != nil {
|
|
in, out := &in.MaxAdapters, &out.MaxAdapters
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxCpuAdapters != nil {
|
|
in, out := &in.MaxCpuAdapters, &out.MaxCpuAdapters
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoRASpec.
|
|
func (in *LoRASpec) DeepCopy() *LoRASpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoRASpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ModelSourcedAddressStatus) DeepCopyInto(out *ModelSourcedAddressStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSourcedAddressStatus.
|
|
func (in *ModelSourcedAddressStatus) DeepCopy() *ModelSourcedAddressStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ModelSourcedAddressStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObservedGateway) DeepCopyInto(out *ObservedGateway) {
|
|
*out = *in
|
|
in.ObjectReference.DeepCopyInto(&out.ObjectReference)
|
|
if in.Listeners != nil {
|
|
in, out := &in.Listeners, &out.Listeners
|
|
*out = make([]apisv1.SectionName, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.HTTPRoutes != nil {
|
|
in, out := &in.HTTPRoutes, &out.HTTPRoutes
|
|
*out = make([]apisv1.ObjectReference, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservedGateway.
|
|
func (in *ObservedGateway) DeepCopy() *ObservedGateway {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObservedGateway)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObservedSchedulerStatus) DeepCopyInto(out *ObservedSchedulerStatus) {
|
|
*out = *in
|
|
if in.InferencePool != nil {
|
|
in, out := &in.InferencePool, &out.InferencePool
|
|
*out = new(apisv1.ObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Service != nil {
|
|
in, out := &in.Service, &out.Service
|
|
*out = new(apisv1.ObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObservedSchedulerStatus.
|
|
func (in *ObservedSchedulerStatus) DeepCopy() *ObservedSchedulerStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObservedSchedulerStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ParallelismSpec) DeepCopyInto(out *ParallelismSpec) {
|
|
*out = *in
|
|
if in.Tensor != nil {
|
|
in, out := &in.Tensor, &out.Tensor
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Pipeline != nil {
|
|
in, out := &in.Pipeline, &out.Pipeline
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.DataLocal != nil {
|
|
in, out := &in.DataLocal, &out.DataLocal
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.DataRPCPort != nil {
|
|
in, out := &in.DataRPCPort, &out.DataRPCPort
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParallelismSpec.
|
|
func (in *ParallelismSpec) DeepCopy() *ParallelismSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ParallelismSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouterSpec) DeepCopyInto(out *RouterSpec) {
|
|
*out = *in
|
|
if in.Route != nil {
|
|
in, out := &in.Route, &out.Route
|
|
*out = new(GatewayRoutesSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Gateway != nil {
|
|
in, out := &in.Gateway, &out.Gateway
|
|
*out = new(GatewaySpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Ingress != nil {
|
|
in, out := &in.Ingress, &out.Ingress
|
|
*out = new(IngressSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Scheduler != nil {
|
|
in, out := &in.Scheduler, &out.Scheduler
|
|
*out = new(SchedulerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterSpec.
|
|
func (in *RouterSpec) DeepCopy() *RouterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouterStatus) DeepCopyInto(out *RouterStatus) {
|
|
*out = *in
|
|
if in.Gateways != nil {
|
|
in, out := &in.Gateways, &out.Gateways
|
|
*out = make([]ObservedGateway, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Scheduler != nil {
|
|
in, out := &in.Scheduler, &out.Scheduler
|
|
*out = new(ObservedSchedulerStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterStatus.
|
|
func (in *RouterStatus) DeepCopy() *RouterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ScalingSpec) DeepCopyInto(out *ScalingSpec) {
|
|
*out = *in
|
|
if in.MinReplicas != nil {
|
|
in, out := &in.MinReplicas, &out.MinReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.WVA != nil {
|
|
in, out := &in.WVA, &out.WVA
|
|
*out = new(WVASpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingSpec.
|
|
func (in *ScalingSpec) DeepCopy() *ScalingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScalingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SchedulerConfigSpec) DeepCopyInto(out *SchedulerConfigSpec) {
|
|
*out = *in
|
|
if in.Inline != nil {
|
|
in, out := &in.Inline, &out.Inline
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Ref != nil {
|
|
in, out := &in.Ref, &out.Ref
|
|
*out = new(v1.ConfigMapKeySelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerConfigSpec.
|
|
func (in *SchedulerConfigSpec) DeepCopy() *SchedulerConfigSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SchedulerConfigSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SchedulerSpec) DeepCopyInto(out *SchedulerSpec) {
|
|
*out = *in
|
|
if in.Pool != nil {
|
|
in, out := &in.Pool, &out.Pool
|
|
*out = new(InferencePoolSpec)
|
|
(*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.Template != nil {
|
|
in, out := &in.Template, &out.Template
|
|
*out = new(v1.PodSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Config != nil {
|
|
in, out := &in.Config, &out.Config
|
|
*out = new(SchedulerConfigSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerSpec.
|
|
func (in *SchedulerSpec) DeepCopy() *SchedulerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SchedulerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SourcedAddress) DeepCopyInto(out *SourcedAddress) {
|
|
*out = *in
|
|
in.Addressable.DeepCopyInto(&out.Addressable)
|
|
if in.Origin != nil {
|
|
in, out := &in.Origin, &out.Origin
|
|
*out = new(apisv1.ObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Models != nil {
|
|
in, out := &in.Models, &out.Models
|
|
*out = make([]ModelSourcedAddressStatus, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourcedAddress.
|
|
func (in *SourcedAddress) DeepCopy() *SourcedAddress {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SourcedAddress)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *StorageInitializerSpec) DeepCopyInto(out *StorageInitializerSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageInitializerSpec.
|
|
func (in *StorageInitializerSpec) DeepCopy() *StorageInitializerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StorageInitializerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TracingSpec) DeepCopyInto(out *TracingSpec) {
|
|
*out = *in
|
|
if in.ExporterEndpoint != nil {
|
|
in, out := &in.ExporterEndpoint, &out.ExporterEndpoint
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Sampler != nil {
|
|
in, out := &in.Sampler, &out.Sampler
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SamplerArg != nil {
|
|
in, out := &in.SamplerArg, &out.SamplerArg
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Exporter != nil {
|
|
in, out := &in.Exporter, &out.Exporter
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingSpec.
|
|
func (in *TracingSpec) DeepCopy() *TracingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TracingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UntypedObjectReference) DeepCopyInto(out *UntypedObjectReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UntypedObjectReference.
|
|
func (in *UntypedObjectReference) DeepCopy() *UntypedObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UntypedObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WVASpec) DeepCopyInto(out *WVASpec) {
|
|
*out = *in
|
|
in.ActuatorSpec.DeepCopyInto(&out.ActuatorSpec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WVASpec.
|
|
func (in *WVASpec) DeepCopy() *WVASpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WVASpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Scaling != nil {
|
|
in, out := &in.Scaling, &out.Scaling
|
|
*out = new(ScalingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Parallelism != nil {
|
|
in, out := &in.Parallelism, &out.Parallelism
|
|
*out = new(ParallelismSpec)
|
|
(*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.Template != nil {
|
|
in, out := &in.Template, &out.Template
|
|
*out = new(v1.PodSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Worker != nil {
|
|
in, out := &in.Worker, &out.Worker
|
|
*out = new(v1.PodSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KVCacheOffloading != nil {
|
|
in, out := &in.KVCacheOffloading, &out.KVCacheOffloading
|
|
*out = new(KVCacheOffloadingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSpec.
|
|
func (in *WorkloadSpec) DeepCopy() *WorkloadSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus) {
|
|
*out = *in
|
|
if in.Primary != nil {
|
|
in, out := &in.Primary, &out.Primary
|
|
*out = new(v1.TypedLocalObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Prefill != nil {
|
|
in, out := &in.Prefill, &out.Prefill
|
|
*out = new(v1.TypedLocalObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Service != nil {
|
|
in, out := &in.Service, &out.Service
|
|
*out = new(v1.TypedLocalObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Scheduler != nil {
|
|
in, out := &in.Scheduler, &out.Scheduler
|
|
*out = new(v1.TypedLocalObjectReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadStatus.
|
|
func (in *WorkloadStatus) DeepCopy() *WorkloadStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|