mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
Signed-off-by: Vivek Karunai Kiri Ragavan <[email protected]>
218 lines
6.0 KiB
Go
Generated
218 lines
6.0 KiB
Go
Generated
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Kubernetes Authors.
|
|
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.
|
|
*/
|
|
|
|
package v1alpha2pool
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Extension) DeepCopyInto(out *Extension) {
|
|
*out = *in
|
|
if in.Group != nil {
|
|
in, out := &in.Group, &out.Group
|
|
*out = new(Group)
|
|
**out = **in
|
|
}
|
|
if in.Kind != nil {
|
|
in, out := &in.Kind, &out.Kind
|
|
*out = new(Kind)
|
|
**out = **in
|
|
}
|
|
if in.PortNumber != nil {
|
|
in, out := &in.PortNumber, &out.PortNumber
|
|
*out = new(PortNumber)
|
|
**out = **in
|
|
}
|
|
if in.FailureMode != nil {
|
|
in, out := &in.FailureMode, &out.FailureMode
|
|
*out = new(ExtensionFailureMode)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
|
|
func (in *Extension) DeepCopy() *Extension {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Extension)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InferencePool) DeepCopyInto(out *InferencePool) {
|
|
*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 InferencePool.
|
|
func (in *InferencePool) DeepCopy() *InferencePool {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InferencePool)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *InferencePool) 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 *InferencePoolList) DeepCopyInto(out *InferencePoolList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]InferencePool, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferencePoolList.
|
|
func (in *InferencePoolList) DeepCopy() *InferencePoolList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InferencePoolList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *InferencePoolList) 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 *InferencePoolSpec) DeepCopyInto(out *InferencePoolSpec) {
|
|
*out = *in
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = make(map[LabelKey]LabelValue, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
in.ExtensionRef.DeepCopyInto(&out.ExtensionRef)
|
|
}
|
|
|
|
// 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 *InferencePoolStatus) DeepCopyInto(out *InferencePoolStatus) {
|
|
*out = *in
|
|
if in.Parents != nil {
|
|
in, out := &in.Parents, &out.Parents
|
|
*out = make([]PoolStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferencePoolStatus.
|
|
func (in *InferencePoolStatus) DeepCopy() *InferencePoolStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InferencePoolStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ParentGatewayReference) DeepCopyInto(out *ParentGatewayReference) {
|
|
*out = *in
|
|
if in.Group != nil {
|
|
in, out := &in.Group, &out.Group
|
|
*out = new(Group)
|
|
**out = **in
|
|
}
|
|
if in.Kind != nil {
|
|
in, out := &in.Kind, &out.Kind
|
|
*out = new(Kind)
|
|
**out = **in
|
|
}
|
|
if in.Namespace != nil {
|
|
in, out := &in.Namespace, &out.Namespace
|
|
*out = new(Namespace)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentGatewayReference.
|
|
func (in *ParentGatewayReference) DeepCopy() *ParentGatewayReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ParentGatewayReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PoolStatus) DeepCopyInto(out *PoolStatus) {
|
|
*out = *in
|
|
in.GatewayRef.DeepCopyInto(&out.GatewayRef)
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus.
|
|
func (in *PoolStatus) DeepCopy() *PoolStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PoolStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|