Files
kserve/pkg/apis/serving/v1alpha1/zz_generated.deepcopy.go
2026-06-23 13:29:29 -04:00

2250 lines
64 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 v1alpha1
import (
kedav1alpha1 "github.com/kedacore/keda/v2/apis/keda/v1alpha1"
"github.com/kserve/kserve/pkg/apis/gie/v1alpha2pool"
"github.com/kserve/kserve/pkg/constants"
"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"
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 *BuiltInAdapter) DeepCopyInto(out *BuiltInAdapter) {
*out = *in
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])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuiltInAdapter.
func (in *BuiltInAdapter) DeepCopy() *BuiltInAdapter {
if in == nil {
return nil
}
out := new(BuiltInAdapter)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterServingRuntime) DeepCopyInto(out *ClusterServingRuntime) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServingRuntime.
func (in *ClusterServingRuntime) DeepCopy() *ClusterServingRuntime {
if in == nil {
return nil
}
out := new(ClusterServingRuntime)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ClusterServingRuntime) 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 *ClusterServingRuntimeList) DeepCopyInto(out *ClusterServingRuntimeList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ClusterServingRuntime, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServingRuntimeList.
func (in *ClusterServingRuntimeList) DeepCopy() *ClusterServingRuntimeList {
if in == nil {
return nil
}
out := new(ClusterServingRuntimeList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ClusterServingRuntimeList) 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 *ClusterStorageContainer) DeepCopyInto(out *ClusterStorageContainer) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
if in.Disabled != nil {
in, out := &in.Disabled, &out.Disabled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStorageContainer.
func (in *ClusterStorageContainer) DeepCopy() *ClusterStorageContainer {
if in == nil {
return nil
}
out := new(ClusterStorageContainer)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ClusterStorageContainer) 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 *ClusterStorageContainerList) DeepCopyInto(out *ClusterStorageContainerList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ClusterStorageContainer, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStorageContainerList.
func (in *ClusterStorageContainerList) DeepCopy() *ClusterStorageContainerList {
if in == nil {
return nil
}
out := new(ClusterStorageContainerList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ClusterStorageContainerList) 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 *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 *InfereceGraphRouterTimeouts) DeepCopyInto(out *InfereceGraphRouterTimeouts) {
*out = *in
if in.ServerRead != nil {
in, out := &in.ServerRead, &out.ServerRead
*out = new(int64)
**out = **in
}
if in.ServerWrite != nil {
in, out := &in.ServerWrite, &out.ServerWrite
*out = new(int64)
**out = **in
}
if in.ServerIdle != nil {
in, out := &in.ServerIdle, &out.ServerIdle
*out = new(int64)
**out = **in
}
if in.ServiceClient != nil {
in, out := &in.ServiceClient, &out.ServiceClient
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfereceGraphRouterTimeouts.
func (in *InfereceGraphRouterTimeouts) DeepCopy() *InfereceGraphRouterTimeouts {
if in == nil {
return nil
}
out := new(InfereceGraphRouterTimeouts)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InferenceGraph) DeepCopyInto(out *InferenceGraph) {
*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 InferenceGraph.
func (in *InferenceGraph) DeepCopy() *InferenceGraph {
if in == nil {
return nil
}
out := new(InferenceGraph)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *InferenceGraph) 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 *InferenceGraphList) DeepCopyInto(out *InferenceGraphList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]InferenceGraph, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceGraphList.
func (in *InferenceGraphList) DeepCopy() *InferenceGraphList {
if in == nil {
return nil
}
out := new(InferenceGraphList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *InferenceGraphList) 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 *InferenceGraphSpec) DeepCopyInto(out *InferenceGraphSpec) {
*out = *in
if in.Nodes != nil {
in, out := &in.Nodes, &out.Nodes
*out = make(map[string]InferenceRouter, len(*in))
for key, val := range *in {
(*out)[key] = *val.DeepCopy()
}
}
in.Resources.DeepCopyInto(&out.Resources)
if in.Affinity != nil {
in, out := &in.Affinity, &out.Affinity
*out = new(v1.Affinity)
(*in).DeepCopyInto(*out)
}
if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
*out = new(int64)
**out = **in
}
if in.RouterTimeouts != nil {
in, out := &in.RouterTimeouts, &out.RouterTimeouts
*out = new(InfereceGraphRouterTimeouts)
(*in).DeepCopyInto(*out)
}
if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas
*out = new(int32)
**out = **in
}
if in.ScaleTarget != nil {
in, out := &in.ScaleTarget, &out.ScaleTarget
*out = new(int32)
**out = **in
}
if in.ScaleMetric != nil {
in, out := &in.ScaleMetric, &out.ScaleMetric
*out = new(ScaleMetric)
**out = **in
}
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.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector
*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 InferenceGraphSpec.
func (in *InferenceGraphSpec) DeepCopy() *InferenceGraphSpec {
if in == nil {
return nil
}
out := new(InferenceGraphSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InferenceGraphStatus) DeepCopyInto(out *InferenceGraphStatus) {
*out = *in
in.Status.DeepCopyInto(&out.Status)
if in.URL != nil {
in, out := &in.URL, &out.URL
*out = new(apis.URL)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceGraphStatus.
func (in *InferenceGraphStatus) DeepCopy() *InferenceGraphStatus {
if in == nil {
return nil
}
out := new(InferenceGraphStatus)
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(v1alpha2pool.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 *InferenceRouter) DeepCopyInto(out *InferenceRouter) {
*out = *in
if in.Steps != nil {
in, out := &in.Steps, &out.Steps
*out = make([]InferenceStep, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceRouter.
func (in *InferenceRouter) DeepCopy() *InferenceRouter {
if in == nil {
return nil
}
out := new(InferenceRouter)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InferenceStep) DeepCopyInto(out *InferenceStep) {
*out = *in
out.InferenceTarget = in.InferenceTarget
if in.Weight != nil {
in, out := &in.Weight, &out.Weight
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceStep.
func (in *InferenceStep) DeepCopy() *InferenceStep {
if in == nil {
return nil
}
out := new(InferenceStep)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InferenceTarget) DeepCopyInto(out *InferenceTarget) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceTarget.
func (in *InferenceTarget) DeepCopy() *InferenceTarget {
if in == nil {
return nil
}
out := new(InferenceTarget)
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(kedav1alpha1.Fallback)
**out = **in
}
if in.Advanced != nil {
in, out := &in.Advanced, &out.Advanced
*out = new(kedav1alpha1.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 *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)
}
// 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)
in.AddressStatus.DeepCopyInto(&out.AddressStatus)
if in.Router != nil {
in, out := &in.Router, &out.Router
*out = new(RouterStatus)
(*in).DeepCopyInto(*out)
}
}
// 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.Criticality != nil {
in, out := &in.Criticality, &out.Criticality
*out = new(Criticality)
**out = **in
}
if in.LoRA != nil {
in, out := &in.LoRA, &out.LoRA
*out = new(LoRASpec)
(*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 *LocalModelCache) DeepCopyInto(out *LocalModelCache) {
*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 LocalModelCache.
func (in *LocalModelCache) DeepCopy() *LocalModelCache {
if in == nil {
return nil
}
out := new(LocalModelCache)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelCache) 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 *LocalModelCacheList) DeepCopyInto(out *LocalModelCacheList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]LocalModelCache, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelCacheList.
func (in *LocalModelCacheList) DeepCopy() *LocalModelCacheList {
if in == nil {
return nil
}
out := new(LocalModelCacheList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelCacheList) 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 *LocalModelCacheSpec) DeepCopyInto(out *LocalModelCacheSpec) {
*out = *in
out.ModelSize = in.ModelSize.DeepCopy()
if in.NodeGroups != nil {
in, out := &in.NodeGroups, &out.NodeGroups
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(LocalModelStorageSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelCacheSpec.
func (in *LocalModelCacheSpec) DeepCopy() *LocalModelCacheSpec {
if in == nil {
return nil
}
out := new(LocalModelCacheSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelCacheStatus) DeepCopyInto(out *LocalModelCacheStatus) {
*out = *in
if in.NodeStatus != nil {
in, out := &in.NodeStatus, &out.NodeStatus
*out = make(map[string]NodeStatus, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.ModelCopies != nil {
in, out := &in.ModelCopies, &out.ModelCopies
*out = new(ModelCopies)
**out = **in
}
if in.InferenceServices != nil {
in, out := &in.InferenceServices, &out.InferenceServices
*out = make([]NamespacedName, len(*in))
copy(*out, *in)
}
if in.LLMInferenceServices != nil {
in, out := &in.LLMInferenceServices, &out.LLMInferenceServices
*out = make([]NamespacedName, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelCacheStatus.
func (in *LocalModelCacheStatus) DeepCopy() *LocalModelCacheStatus {
if in == nil {
return nil
}
out := new(LocalModelCacheStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelInfo) DeepCopyInto(out *LocalModelInfo) {
*out = *in
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(LocalModelStorageSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelInfo.
func (in *LocalModelInfo) DeepCopy() *LocalModelInfo {
if in == nil {
return nil
}
out := new(LocalModelInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelNamespaceCache) DeepCopyInto(out *LocalModelNamespaceCache) {
*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 LocalModelNamespaceCache.
func (in *LocalModelNamespaceCache) DeepCopy() *LocalModelNamespaceCache {
if in == nil {
return nil
}
out := new(LocalModelNamespaceCache)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNamespaceCache) 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 *LocalModelNamespaceCacheList) DeepCopyInto(out *LocalModelNamespaceCacheList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]LocalModelNamespaceCache, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNamespaceCacheList.
func (in *LocalModelNamespaceCacheList) DeepCopy() *LocalModelNamespaceCacheList {
if in == nil {
return nil
}
out := new(LocalModelNamespaceCacheList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNamespaceCacheList) 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 *LocalModelNamespaceCacheSpec) DeepCopyInto(out *LocalModelNamespaceCacheSpec) {
*out = *in
out.ModelSize = in.ModelSize.DeepCopy()
if in.NodeGroups != nil {
in, out := &in.NodeGroups, &out.NodeGroups
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Storage != nil {
in, out := &in.Storage, &out.Storage
*out = new(LocalModelStorageSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNamespaceCacheSpec.
func (in *LocalModelNamespaceCacheSpec) DeepCopy() *LocalModelNamespaceCacheSpec {
if in == nil {
return nil
}
out := new(LocalModelNamespaceCacheSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelNode) DeepCopyInto(out *LocalModelNode) {
*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 LocalModelNode.
func (in *LocalModelNode) DeepCopy() *LocalModelNode {
if in == nil {
return nil
}
out := new(LocalModelNode)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNode) 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 *LocalModelNodeGroup) DeepCopyInto(out *LocalModelNodeGroup) {
*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 LocalModelNodeGroup.
func (in *LocalModelNodeGroup) DeepCopy() *LocalModelNodeGroup {
if in == nil {
return nil
}
out := new(LocalModelNodeGroup)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNodeGroup) 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 *LocalModelNodeGroupList) DeepCopyInto(out *LocalModelNodeGroupList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]LocalModelNodeGroup, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeGroupList.
func (in *LocalModelNodeGroupList) DeepCopy() *LocalModelNodeGroupList {
if in == nil {
return nil
}
out := new(LocalModelNodeGroupList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNodeGroupList) 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 *LocalModelNodeGroupSpec) DeepCopyInto(out *LocalModelNodeGroupSpec) {
*out = *in
out.StorageLimit = in.StorageLimit.DeepCopy()
in.PersistentVolumeSpec.DeepCopyInto(&out.PersistentVolumeSpec)
in.PersistentVolumeClaimSpec.DeepCopyInto(&out.PersistentVolumeClaimSpec)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeGroupSpec.
func (in *LocalModelNodeGroupSpec) DeepCopy() *LocalModelNodeGroupSpec {
if in == nil {
return nil
}
out := new(LocalModelNodeGroupSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelNodeGroupStatus) DeepCopyInto(out *LocalModelNodeGroupStatus) {
*out = *in
out.Used = in.Used.DeepCopy()
out.Available = in.Available.DeepCopy()
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeGroupStatus.
func (in *LocalModelNodeGroupStatus) DeepCopy() *LocalModelNodeGroupStatus {
if in == nil {
return nil
}
out := new(LocalModelNodeGroupStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelNodeList) DeepCopyInto(out *LocalModelNodeList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]LocalModelNode, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeList.
func (in *LocalModelNodeList) DeepCopy() *LocalModelNodeList {
if in == nil {
return nil
}
out := new(LocalModelNodeList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *LocalModelNodeList) 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 *LocalModelNodeSpec) DeepCopyInto(out *LocalModelNodeSpec) {
*out = *in
if in.LocalModels != nil {
in, out := &in.LocalModels, &out.LocalModels
*out = make([]LocalModelInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeSpec.
func (in *LocalModelNodeSpec) DeepCopy() *LocalModelNodeSpec {
if in == nil {
return nil
}
out := new(LocalModelNodeSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelNodeStatus) DeepCopyInto(out *LocalModelNodeStatus) {
*out = *in
if in.ModelStatus != nil {
in, out := &in.ModelStatus, &out.ModelStatus
*out = make(map[string]ModelStatus, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalModelNodeStatus.
func (in *LocalModelNodeStatus) DeepCopy() *LocalModelNodeStatus {
if in == nil {
return nil
}
out := new(LocalModelNodeStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LocalModelStorageSpec) DeepCopyInto(out *LocalModelStorageSpec) {
*out = *in
if in.StorageKey != nil {
in, out := &in.StorageKey, &out.StorageKey
*out = new(string)
**out = **in
}
if in.Parameters != nil {
in, out := &in.Parameters, &out.Parameters
*out = new(map[string]string)
if **in != nil {
in, out := *in, *out
*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 LocalModelStorageSpec.
func (in *LocalModelStorageSpec) DeepCopy() *LocalModelStorageSpec {
if in == nil {
return nil
}
out := new(LocalModelStorageSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ModelCopies) DeepCopyInto(out *ModelCopies) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCopies.
func (in *ModelCopies) DeepCopy() *ModelCopies {
if in == nil {
return nil
}
out := new(ModelCopies)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ModelSpec) DeepCopyInto(out *ModelSpec) {
*out = *in
out.Memory = in.Memory.DeepCopy()
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.
func (in *ModelSpec) DeepCopy() *ModelSpec {
if in == nil {
return nil
}
out := new(ModelSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NamespacedName) DeepCopyInto(out *NamespacedName) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedName.
func (in *NamespacedName) DeepCopy() *NamespacedName {
if in == nil {
return nil
}
out := new(NamespacedName)
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 *ServingRuntime) DeepCopyInto(out *ServingRuntime) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
out.Status = in.Status
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntime.
func (in *ServingRuntime) DeepCopy() *ServingRuntime {
if in == nil {
return nil
}
out := new(ServingRuntime)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ServingRuntime) 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 *ServingRuntimeList) DeepCopyInto(out *ServingRuntimeList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ServingRuntime, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeList.
func (in *ServingRuntimeList) DeepCopy() *ServingRuntimeList {
if in == nil {
return nil
}
out := new(ServingRuntimeList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ServingRuntimeList) 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 *ServingRuntimePodSpec) DeepCopyInto(out *ServingRuntimePodSpec) {
*out = *in
if in.Containers != nil {
in, out := &in.Containers, &out.Containers
*out = make([]v1.Container, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
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])
}
}
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.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.ImagePullSecrets != nil {
in, out := &in.ImagePullSecrets, &out.ImagePullSecrets
*out = make([]v1.LocalObjectReference, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimePodSpec.
func (in *ServingRuntimePodSpec) DeepCopy() *ServingRuntimePodSpec {
if in == nil {
return nil
}
out := new(ServingRuntimePodSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServingRuntimeSpec) DeepCopyInto(out *ServingRuntimeSpec) {
*out = *in
if in.SupportedModelFormats != nil {
in, out := &in.SupportedModelFormats, &out.SupportedModelFormats
*out = make([]SupportedModelFormat, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.MultiModel != nil {
in, out := &in.MultiModel, &out.MultiModel
*out = new(bool)
**out = **in
}
if in.Disabled != nil {
in, out := &in.Disabled, &out.Disabled
*out = new(bool)
**out = **in
}
if in.ProtocolVersions != nil {
in, out := &in.ProtocolVersions, &out.ProtocolVersions
*out = make([]constants.InferenceServiceProtocol, len(*in))
copy(*out, *in)
}
if in.WorkerSpec != nil {
in, out := &in.WorkerSpec, &out.WorkerSpec
*out = new(WorkerSpec)
(*in).DeepCopyInto(*out)
}
in.ServingRuntimePodSpec.DeepCopyInto(&out.ServingRuntimePodSpec)
if in.GrpcMultiModelManagementEndpoint != nil {
in, out := &in.GrpcMultiModelManagementEndpoint, &out.GrpcMultiModelManagementEndpoint
*out = new(string)
**out = **in
}
if in.GrpcDataEndpoint != nil {
in, out := &in.GrpcDataEndpoint, &out.GrpcDataEndpoint
*out = new(string)
**out = **in
}
if in.HTTPDataEndpoint != nil {
in, out := &in.HTTPDataEndpoint, &out.HTTPDataEndpoint
*out = new(string)
**out = **in
}
if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas
*out = new(uint16)
**out = **in
}
if in.StorageHelper != nil {
in, out := &in.StorageHelper, &out.StorageHelper
*out = new(StorageHelper)
**out = **in
}
if in.BuiltInAdapter != nil {
in, out := &in.BuiltInAdapter, &out.BuiltInAdapter
*out = new(BuiltInAdapter)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeSpec.
func (in *ServingRuntimeSpec) DeepCopy() *ServingRuntimeSpec {
if in == nil {
return nil
}
out := new(ServingRuntimeSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServingRuntimeStatus) DeepCopyInto(out *ServingRuntimeStatus) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeStatus.
func (in *ServingRuntimeStatus) DeepCopy() *ServingRuntimeStatus {
if in == nil {
return nil
}
out := new(ServingRuntimeStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StorageContainerSpec) DeepCopyInto(out *StorageContainerSpec) {
*out = *in
in.Container.DeepCopyInto(&out.Container)
if in.SupportedUriFormats != nil {
in, out := &in.SupportedUriFormats, &out.SupportedUriFormats
*out = make([]SupportedUriFormat, len(*in))
copy(*out, *in)
}
if in.SupportsMultiModelDownload != nil {
in, out := &in.SupportsMultiModelDownload, &out.SupportsMultiModelDownload
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageContainerSpec.
func (in *StorageContainerSpec) DeepCopy() *StorageContainerSpec {
if in == nil {
return nil
}
out := new(StorageContainerSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StorageHelper) DeepCopyInto(out *StorageHelper) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageHelper.
func (in *StorageHelper) DeepCopy() *StorageHelper {
if in == nil {
return nil
}
out := new(StorageHelper)
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 *SupportedModelFormat) DeepCopyInto(out *SupportedModelFormat) {
*out = *in
if in.Version != nil {
in, out := &in.Version, &out.Version
*out = new(string)
**out = **in
}
if in.AutoSelect != nil {
in, out := &in.AutoSelect, &out.AutoSelect
*out = new(bool)
**out = **in
}
if in.Priority != nil {
in, out := &in.Priority, &out.Priority
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportedModelFormat.
func (in *SupportedModelFormat) DeepCopy() *SupportedModelFormat {
if in == nil {
return nil
}
out := new(SupportedModelFormat)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SupportedRuntime) DeepCopyInto(out *SupportedRuntime) {
*out = *in
in.Spec.DeepCopyInto(&out.Spec)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportedRuntime.
func (in *SupportedRuntime) DeepCopy() *SupportedRuntime {
if in == nil {
return nil
}
out := new(SupportedRuntime)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SupportedUriFormat) DeepCopyInto(out *SupportedUriFormat) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportedUriFormat.
func (in *SupportedUriFormat) DeepCopy() *SupportedUriFormat {
if in == nil {
return nil
}
out := new(SupportedUriFormat)
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 *TrainedModel) DeepCopyInto(out *TrainedModel) {
*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 TrainedModel.
func (in *TrainedModel) DeepCopy() *TrainedModel {
if in == nil {
return nil
}
out := new(TrainedModel)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrainedModel) 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 *TrainedModelList) DeepCopyInto(out *TrainedModelList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]TrainedModel, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainedModelList.
func (in *TrainedModelList) DeepCopy() *TrainedModelList {
if in == nil {
return nil
}
out := new(TrainedModelList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *TrainedModelList) 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 *TrainedModelSpec) DeepCopyInto(out *TrainedModelSpec) {
*out = *in
in.Model.DeepCopyInto(&out.Model)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainedModelSpec.
func (in *TrainedModelSpec) DeepCopy() *TrainedModelSpec {
if in == nil {
return nil
}
out := new(TrainedModelSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TrainedModelStatus) DeepCopyInto(out *TrainedModelStatus) {
*out = *in
in.Status.DeepCopyInto(&out.Status)
if in.URL != nil {
in, out := &in.URL, &out.URL
*out = new(apis.URL)
(*in).DeepCopyInto(*out)
}
if in.Address != nil {
in, out := &in.Address, &out.Address
*out = new(duckv1.Addressable)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainedModelStatus.
func (in *TrainedModelStatus) DeepCopy() *TrainedModelStatus {
if in == nil {
return nil
}
out := new(TrainedModelStatus)
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 *WorkerSpec) DeepCopyInto(out *WorkerSpec) {
*out = *in
in.ServingRuntimePodSpec.DeepCopyInto(&out.ServingRuntimePodSpec)
if in.PipelineParallelSize != nil {
in, out := &in.PipelineParallelSize, &out.PipelineParallelSize
*out = new(int)
**out = **in
}
if in.TensorParallelSize != nil {
in, out := &in.TensorParallelSize, &out.TensorParallelSize
*out = new(int)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerSpec.
func (in *WorkerSpec) DeepCopy() *WorkerSpec {
if in == nil {
return nil
}
out := new(WorkerSpec)
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)
}
}
// 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
}