439 lines
12 KiB
Go
439 lines
12 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
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.
|
|
*/
|
|
|
|
/*
|
|
Copyright 2024.
|
|
|
|
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 v1beta1
|
|
|
|
import (
|
|
"k8s.io/api/batch/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeploymentInfoStatus) DeepCopyInto(out *DeploymentInfoStatus) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AvailableReplicas != nil {
|
|
in, out := &in.AvailableReplicas, &out.AvailableReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentInfoStatus.
|
|
func (in *DeploymentInfoStatus) DeepCopy() *DeploymentInfoStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeploymentInfoStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentRequest) DeepCopyInto(out *DynamoGraphDeploymentRequest) {
|
|
*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 DynamoGraphDeploymentRequest.
|
|
func (in *DynamoGraphDeploymentRequest) DeepCopy() *DynamoGraphDeploymentRequest {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentRequest)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeploymentRequest) 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 *DynamoGraphDeploymentRequestList) DeepCopyInto(out *DynamoGraphDeploymentRequestList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoGraphDeploymentRequest, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentRequestList.
|
|
func (in *DynamoGraphDeploymentRequestList) DeepCopy() *DynamoGraphDeploymentRequestList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentRequestList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeploymentRequestList) 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 *DynamoGraphDeploymentRequestSpec) DeepCopyInto(out *DynamoGraphDeploymentRequestSpec) {
|
|
*out = *in
|
|
if in.ModelCache != nil {
|
|
in, out := &in.ModelCache, &out.ModelCache
|
|
*out = new(ModelCacheSpec)
|
|
**out = **in
|
|
}
|
|
if in.Hardware != nil {
|
|
in, out := &in.Hardware, &out.Hardware
|
|
*out = new(HardwareSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Workload != nil {
|
|
in, out := &in.Workload, &out.Workload
|
|
*out = new(WorkloadSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.SLA != nil {
|
|
in, out := &in.SLA, &out.SLA
|
|
*out = new(SLASpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Overrides != nil {
|
|
in, out := &in.Overrides, &out.Overrides
|
|
*out = new(OverridesSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Features != nil {
|
|
in, out := &in.Features, &out.Features
|
|
*out = new(FeaturesSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentRequestSpec.
|
|
func (in *DynamoGraphDeploymentRequestSpec) DeepCopy() *DynamoGraphDeploymentRequestSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentRequestSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentRequestStatus) DeepCopyInto(out *DynamoGraphDeploymentRequestStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ProfilingResults != nil {
|
|
in, out := &in.ProfilingResults, &out.ProfilingResults
|
|
*out = new(ProfilingResultsStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DeploymentInfo != nil {
|
|
in, out := &in.DeploymentInfo, &out.DeploymentInfo
|
|
*out = new(DeploymentInfoStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentRequestStatus.
|
|
func (in *DynamoGraphDeploymentRequestStatus) DeepCopy() *DynamoGraphDeploymentRequestStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentRequestStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FeaturesSpec) DeepCopyInto(out *FeaturesSpec) {
|
|
*out = *in
|
|
if in.Planner != nil {
|
|
in, out := &in.Planner, &out.Planner
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Mocker != nil {
|
|
in, out := &in.Mocker, &out.Mocker
|
|
*out = new(MockerSpec)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesSpec.
|
|
func (in *FeaturesSpec) DeepCopy() *FeaturesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FeaturesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HardwareSpec) DeepCopyInto(out *HardwareSpec) {
|
|
*out = *in
|
|
if in.VRAMMB != nil {
|
|
in, out := &in.VRAMMB, &out.VRAMMB
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
if in.TotalGPUs != nil {
|
|
in, out := &in.TotalGPUs, &out.TotalGPUs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.NumGPUsPerNode != nil {
|
|
in, out := &in.NumGPUsPerNode, &out.NumGPUsPerNode
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSpec.
|
|
func (in *HardwareSpec) DeepCopy() *HardwareSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HardwareSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KVRouterSpec) DeepCopyInto(out *KVRouterSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KVRouterSpec.
|
|
func (in *KVRouterSpec) DeepCopy() *KVRouterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KVRouterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MockerSpec) DeepCopyInto(out *MockerSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MockerSpec.
|
|
func (in *MockerSpec) DeepCopy() *MockerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MockerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ModelCacheSpec) DeepCopyInto(out *ModelCacheSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCacheSpec.
|
|
func (in *ModelCacheSpec) DeepCopy() *ModelCacheSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ModelCacheSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OverridesSpec) DeepCopyInto(out *OverridesSpec) {
|
|
*out = *in
|
|
if in.ProfilingJob != nil {
|
|
in, out := &in.ProfilingJob, &out.ProfilingJob
|
|
*out = new(v1.JobSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DGD != nil {
|
|
in, out := &in.DGD, &out.DGD
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesSpec.
|
|
func (in *OverridesSpec) DeepCopy() *OverridesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OverridesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ParetoConfig) DeepCopyInto(out *ParetoConfig) {
|
|
*out = *in
|
|
in.Config.DeepCopyInto(&out.Config)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParetoConfig.
|
|
func (in *ParetoConfig) DeepCopy() *ParetoConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ParetoConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ProfilingResultsStatus) DeepCopyInto(out *ProfilingResultsStatus) {
|
|
*out = *in
|
|
if in.Pareto != nil {
|
|
in, out := &in.Pareto, &out.Pareto
|
|
*out = make([]ParetoConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.SelectedConfig != nil {
|
|
in, out := &in.SelectedConfig, &out.SelectedConfig
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfilingResultsStatus.
|
|
func (in *ProfilingResultsStatus) DeepCopy() *ProfilingResultsStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProfilingResultsStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SLASpec) DeepCopyInto(out *SLASpec) {
|
|
*out = *in
|
|
if in.TTFT != nil {
|
|
in, out := &in.TTFT, &out.TTFT
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
if in.ITL != nil {
|
|
in, out := &in.ITL, &out.ITL
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
if in.E2ELatency != nil {
|
|
in, out := &in.E2ELatency, &out.E2ELatency
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SLASpec.
|
|
func (in *SLASpec) DeepCopy() *SLASpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SLASpec)
|
|
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.ISL != nil {
|
|
in, out := &in.ISL, &out.ISL
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.OSL != nil {
|
|
in, out := &in.OSL, &out.OSL
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Concurrency != nil {
|
|
in, out := &in.Concurrency, &out.Concurrency
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
if in.RequestRate != nil {
|
|
in, out := &in.RequestRate, &out.RequestRate
|
|
*out = new(float64)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// 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
|
|
}
|