1642 lines
48 KiB
Go
1642 lines
48 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 v1alpha1
|
|
|
|
import (
|
|
"k8s.io/api/autoscaling/v2"
|
|
"k8s.io/api/core/v1"
|
|
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
configv1alpha1 "sigs.k8s.io/gateway-api-inference-extension/apix/config/v1alpha1"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Autoscaling) DeepCopyInto(out *Autoscaling) {
|
|
*out = *in
|
|
if in.Behavior != nil {
|
|
in, out := &in.Behavior, &out.Behavior
|
|
*out = new(v2.HorizontalPodAutoscalerBehavior)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Metrics != nil {
|
|
in, out := &in.Metrics, &out.Metrics
|
|
*out = make([]v2.MetricSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.
|
|
func (in *Autoscaling) DeepCopy() *Autoscaling {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Autoscaling)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BaseCRD) DeepCopyInto(out *BaseCRD) {
|
|
*out = *in
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = new(BaseStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseCRD.
|
|
func (in *BaseCRD) DeepCopy() *BaseCRD {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BaseCRD)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BaseStatus) DeepCopyInto(out *BaseStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseStatus.
|
|
func (in *BaseStatus) DeepCopy() *BaseStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BaseStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector.
|
|
func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ConfigMapKeySelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeploymentOverridesSpec) DeepCopyInto(out *DeploymentOverridesSpec) {
|
|
*out = *in
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentOverridesSpec.
|
|
func (in *DeploymentOverridesSpec) DeepCopy() *DeploymentOverridesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeploymentOverridesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
|
|
func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeploymentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeploymentTargetHPAConf) DeepCopyInto(out *DeploymentTargetHPAConf) {
|
|
*out = *in
|
|
if in.CPU != nil {
|
|
in, out := &in.CPU, &out.CPU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.GPU != nil {
|
|
in, out := &in.GPU, &out.GPU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Memory != nil {
|
|
in, out := &in.Memory, &out.Memory
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.QPS != nil {
|
|
in, out := &in.QPS, &out.QPS
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.MinReplicas != nil {
|
|
in, out := &in.MinReplicas, &out.MinReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxReplicas != nil {
|
|
in, out := &in.MaxReplicas, &out.MaxReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTargetHPAConf.
|
|
func (in *DeploymentTargetHPAConf) DeepCopy() *DeploymentTargetHPAConf {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeploymentTargetHPAConf)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoCheckpoint) DeepCopyInto(out *DynamoCheckpoint) {
|
|
*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 DynamoCheckpoint.
|
|
func (in *DynamoCheckpoint) DeepCopy() *DynamoCheckpoint {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpoint)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoCheckpoint) 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 *DynamoCheckpointIdentity) DeepCopyInto(out *DynamoCheckpointIdentity) {
|
|
*out = *in
|
|
if in.ExtraParameters != nil {
|
|
in, out := &in.ExtraParameters, &out.ExtraParameters
|
|
*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 DynamoCheckpointIdentity.
|
|
func (in *DynamoCheckpointIdentity) DeepCopy() *DynamoCheckpointIdentity {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpointIdentity)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoCheckpointJobConfig) DeepCopyInto(out *DynamoCheckpointJobConfig) {
|
|
*out = *in
|
|
in.PodTemplateSpec.DeepCopyInto(&out.PodTemplateSpec)
|
|
if in.ActiveDeadlineSeconds != nil {
|
|
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.BackoffLimit != nil {
|
|
in, out := &in.BackoffLimit, &out.BackoffLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.TTLSecondsAfterFinished != nil {
|
|
in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoCheckpointJobConfig.
|
|
func (in *DynamoCheckpointJobConfig) DeepCopy() *DynamoCheckpointJobConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpointJobConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoCheckpointList) DeepCopyInto(out *DynamoCheckpointList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoCheckpoint, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoCheckpointList.
|
|
func (in *DynamoCheckpointList) DeepCopy() *DynamoCheckpointList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpointList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoCheckpointList) 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 *DynamoCheckpointSpec) DeepCopyInto(out *DynamoCheckpointSpec) {
|
|
*out = *in
|
|
in.Identity.DeepCopyInto(&out.Identity)
|
|
in.Job.DeepCopyInto(&out.Job)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoCheckpointSpec.
|
|
func (in *DynamoCheckpointSpec) DeepCopy() *DynamoCheckpointSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpointSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoCheckpointStatus) DeepCopyInto(out *DynamoCheckpointStatus) {
|
|
*out = *in
|
|
if in.CreatedAt != nil {
|
|
in, out := &in.CreatedAt, &out.CreatedAt
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
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 DynamoCheckpointStatus.
|
|
func (in *DynamoCheckpointStatus) DeepCopy() *DynamoCheckpointStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoCheckpointStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoComponentDeployment) DeepCopyInto(out *DynamoComponentDeployment) {
|
|
*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 DynamoComponentDeployment.
|
|
func (in *DynamoComponentDeployment) DeepCopy() *DynamoComponentDeployment {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoComponentDeployment)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoComponentDeployment) 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 *DynamoComponentDeploymentList) DeepCopyInto(out *DynamoComponentDeploymentList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoComponentDeployment, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoComponentDeploymentList.
|
|
func (in *DynamoComponentDeploymentList) DeepCopy() *DynamoComponentDeploymentList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoComponentDeploymentList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoComponentDeploymentList) 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 *DynamoComponentDeploymentSharedSpec) DeepCopyInto(out *DynamoComponentDeploymentSharedSpec) {
|
|
*out = *in
|
|
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.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.DynamoNamespace != nil {
|
|
in, out := &in.DynamoNamespace, &out.DynamoNamespace
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = new(Resources)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Autoscaling != nil {
|
|
in, out := &in.Autoscaling, &out.Autoscaling
|
|
*out = new(Autoscaling)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Envs != nil {
|
|
in, out := &in.Envs, &out.Envs
|
|
*out = make([]v1.EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EnvFromSecret != nil {
|
|
in, out := &in.EnvFromSecret, &out.EnvFromSecret
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.VolumeMounts != nil {
|
|
in, out := &in.VolumeMounts, &out.VolumeMounts
|
|
*out = make([]VolumeMount, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Ingress != nil {
|
|
in, out := &in.Ingress, &out.Ingress
|
|
*out = new(IngressSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ModelRef != nil {
|
|
in, out := &in.ModelRef, &out.ModelRef
|
|
*out = new(ModelReference)
|
|
**out = **in
|
|
}
|
|
if in.SharedMemory != nil {
|
|
in, out := &in.SharedMemory, &out.SharedMemory
|
|
*out = new(SharedMemorySpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ExtraPodMetadata != nil {
|
|
in, out := &in.ExtraPodMetadata, &out.ExtraPodMetadata
|
|
*out = new(ExtraPodMetadata)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ExtraPodSpec != nil {
|
|
in, out := &in.ExtraPodSpec, &out.ExtraPodSpec
|
|
*out = new(ExtraPodSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.LivenessProbe != nil {
|
|
in, out := &in.LivenessProbe, &out.LivenessProbe
|
|
*out = new(v1.Probe)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ReadinessProbe != nil {
|
|
in, out := &in.ReadinessProbe, &out.ReadinessProbe
|
|
*out = new(v1.Probe)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Multinode != nil {
|
|
in, out := &in.Multinode, &out.Multinode
|
|
*out = new(MultinodeSpec)
|
|
**out = **in
|
|
}
|
|
if in.ScalingAdapter != nil {
|
|
in, out := &in.ScalingAdapter, &out.ScalingAdapter
|
|
*out = new(ScalingAdapter)
|
|
**out = **in
|
|
}
|
|
if in.EPPConfig != nil {
|
|
in, out := &in.EPPConfig, &out.EPPConfig
|
|
*out = new(EPPConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Checkpoint != nil {
|
|
in, out := &in.Checkpoint, &out.Checkpoint
|
|
*out = new(ServiceCheckpointConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoComponentDeploymentSharedSpec.
|
|
func (in *DynamoComponentDeploymentSharedSpec) DeepCopy() *DynamoComponentDeploymentSharedSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoComponentDeploymentSharedSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoComponentDeploymentSpec) DeepCopyInto(out *DynamoComponentDeploymentSpec) {
|
|
*out = *in
|
|
in.DynamoComponentDeploymentSharedSpec.DeepCopyInto(&out.DynamoComponentDeploymentSharedSpec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoComponentDeploymentSpec.
|
|
func (in *DynamoComponentDeploymentSpec) DeepCopy() *DynamoComponentDeploymentSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoComponentDeploymentSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoComponentDeploymentStatus) DeepCopyInto(out *DynamoComponentDeploymentStatus) {
|
|
*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.PodSelector != nil {
|
|
in, out := &in.PodSelector, &out.PodSelector
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Service != nil {
|
|
in, out := &in.Service, &out.Service
|
|
*out = new(ServiceReplicaStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoComponentDeploymentStatus.
|
|
func (in *DynamoComponentDeploymentStatus) DeepCopy() *DynamoComponentDeploymentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoComponentDeploymentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeployment) DeepCopyInto(out *DynamoGraphDeployment) {
|
|
*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 DynamoGraphDeployment.
|
|
func (in *DynamoGraphDeployment) DeepCopy() *DynamoGraphDeployment {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeployment)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeployment) 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 *DynamoGraphDeploymentList) DeepCopyInto(out *DynamoGraphDeploymentList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoGraphDeployment, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentList.
|
|
func (in *DynamoGraphDeploymentList) DeepCopy() *DynamoGraphDeploymentList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeploymentList) 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 *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
|
|
in.ProfilingConfig.DeepCopyInto(&out.ProfilingConfig)
|
|
if in.EnableGPUDiscovery != nil {
|
|
in, out := &in.EnableGPUDiscovery, &out.EnableGPUDiscovery
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DeploymentOverrides != nil {
|
|
in, out := &in.DeploymentOverrides, &out.DeploymentOverrides
|
|
*out = new(DeploymentOverridesSpec)
|
|
(*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.GeneratedDeployment != nil {
|
|
in, out := &in.GeneratedDeployment, &out.GeneratedDeployment
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Deployment != nil {
|
|
in, out := &in.Deployment, &out.Deployment
|
|
*out = new(DeploymentStatus)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// 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 *DynamoGraphDeploymentScalingAdapter) DeepCopyInto(out *DynamoGraphDeploymentScalingAdapter) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentScalingAdapter.
|
|
func (in *DynamoGraphDeploymentScalingAdapter) DeepCopy() *DynamoGraphDeploymentScalingAdapter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentScalingAdapter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeploymentScalingAdapter) 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 *DynamoGraphDeploymentScalingAdapterList) DeepCopyInto(out *DynamoGraphDeploymentScalingAdapterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoGraphDeploymentScalingAdapter, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentScalingAdapterList.
|
|
func (in *DynamoGraphDeploymentScalingAdapterList) DeepCopy() *DynamoGraphDeploymentScalingAdapterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentScalingAdapterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoGraphDeploymentScalingAdapterList) 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 *DynamoGraphDeploymentScalingAdapterSpec) DeepCopyInto(out *DynamoGraphDeploymentScalingAdapterSpec) {
|
|
*out = *in
|
|
out.DGDRef = in.DGDRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentScalingAdapterSpec.
|
|
func (in *DynamoGraphDeploymentScalingAdapterSpec) DeepCopy() *DynamoGraphDeploymentScalingAdapterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentScalingAdapterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentScalingAdapterStatus) DeepCopyInto(out *DynamoGraphDeploymentScalingAdapterStatus) {
|
|
*out = *in
|
|
if in.LastScaleTime != nil {
|
|
in, out := &in.LastScaleTime, &out.LastScaleTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentScalingAdapterStatus.
|
|
func (in *DynamoGraphDeploymentScalingAdapterStatus) DeepCopy() *DynamoGraphDeploymentScalingAdapterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentScalingAdapterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentServiceRef) DeepCopyInto(out *DynamoGraphDeploymentServiceRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentServiceRef.
|
|
func (in *DynamoGraphDeploymentServiceRef) DeepCopy() *DynamoGraphDeploymentServiceRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentServiceRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentSpec) DeepCopyInto(out *DynamoGraphDeploymentSpec) {
|
|
*out = *in
|
|
if in.PVCs != nil {
|
|
in, out := &in.PVCs, &out.PVCs
|
|
*out = make([]PVC, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make(map[string]*DynamoComponentDeploymentSharedSpec, len(*in))
|
|
for key, val := range *in {
|
|
var outVal *DynamoComponentDeploymentSharedSpec
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
inVal := (*in)[key]
|
|
in, out := &inVal, &outVal
|
|
*out = new(DynamoComponentDeploymentSharedSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
if in.Envs != nil {
|
|
in, out := &in.Envs, &out.Envs
|
|
*out = make([]v1.EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Restart != nil {
|
|
in, out := &in.Restart, &out.Restart
|
|
*out = new(Restart)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentSpec.
|
|
func (in *DynamoGraphDeploymentSpec) DeepCopy() *DynamoGraphDeploymentSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoGraphDeploymentStatus) DeepCopyInto(out *DynamoGraphDeploymentStatus) {
|
|
*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.Services != nil {
|
|
in, out := &in.Services, &out.Services
|
|
*out = make(map[string]ServiceReplicaStatus, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
if in.Restart != nil {
|
|
in, out := &in.Restart, &out.Restart
|
|
*out = new(RestartStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Checkpoints != nil {
|
|
in, out := &in.Checkpoints, &out.Checkpoints
|
|
*out = make(map[string]ServiceCheckpointStatus, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(RollingUpdateStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoGraphDeploymentStatus.
|
|
func (in *DynamoGraphDeploymentStatus) DeepCopy() *DynamoGraphDeploymentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoGraphDeploymentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoModel) DeepCopyInto(out *DynamoModel) {
|
|
*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 DynamoModel.
|
|
func (in *DynamoModel) DeepCopy() *DynamoModel {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoModel)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoModel) 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 *DynamoModelList) DeepCopyInto(out *DynamoModelList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DynamoModel, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoModelList.
|
|
func (in *DynamoModelList) DeepCopy() *DynamoModelList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoModelList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DynamoModelList) 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 *DynamoModelSpec) DeepCopyInto(out *DynamoModelSpec) {
|
|
*out = *in
|
|
if in.Source != nil {
|
|
in, out := &in.Source, &out.Source
|
|
*out = new(ModelSource)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoModelSpec.
|
|
func (in *DynamoModelSpec) DeepCopy() *DynamoModelSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoModelSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DynamoModelStatus) DeepCopyInto(out *DynamoModelStatus) {
|
|
*out = *in
|
|
if in.Endpoints != nil {
|
|
in, out := &in.Endpoints, &out.Endpoints
|
|
*out = make([]EndpointInfo, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoModelStatus.
|
|
func (in *DynamoModelStatus) DeepCopy() *DynamoModelStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DynamoModelStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EPPConfig) DeepCopyInto(out *EPPConfig) {
|
|
*out = *in
|
|
if in.ConfigMapRef != nil {
|
|
in, out := &in.ConfigMapRef, &out.ConfigMapRef
|
|
*out = new(v1.ConfigMapKeySelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Config != nil {
|
|
in, out := &in.Config, &out.Config
|
|
*out = new(configv1alpha1.EndpointPickerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EPPConfig.
|
|
func (in *EPPConfig) DeepCopy() *EPPConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EPPConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EndpointInfo) DeepCopyInto(out *EndpointInfo) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointInfo.
|
|
func (in *EndpointInfo) DeepCopy() *EndpointInfo {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EndpointInfo)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExtraPodMetadata) DeepCopyInto(out *ExtraPodMetadata) {
|
|
*out = *in
|
|
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.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*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 ExtraPodMetadata.
|
|
func (in *ExtraPodMetadata) DeepCopy() *ExtraPodMetadata {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExtraPodMetadata)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExtraPodSpec) DeepCopyInto(out *ExtraPodSpec) {
|
|
*out = *in
|
|
if in.PodSpec != nil {
|
|
in, out := &in.PodSpec, &out.PodSpec
|
|
*out = new(v1.PodSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.MainContainer != nil {
|
|
in, out := &in.MainContainer, &out.MainContainer
|
|
*out = new(v1.Container)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraPodSpec.
|
|
func (in *ExtraPodSpec) DeepCopy() *ExtraPodSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExtraPodSpec)
|
|
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.VirtualServiceGateway != nil {
|
|
in, out := &in.VirtualServiceGateway, &out.VirtualServiceGateway
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.HostPrefix != nil {
|
|
in, out := &in.HostPrefix, &out.HostPrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
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.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.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(IngressTLSSpec)
|
|
**out = **in
|
|
}
|
|
if in.HostSuffix != nil {
|
|
in, out := &in.HostSuffix, &out.HostSuffix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IngressControllerClassName != nil {
|
|
in, out := &in.IngressControllerClassName, &out.IngressControllerClassName
|
|
*out = new(string)
|
|
**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 *IngressTLSSpec) DeepCopyInto(out *IngressTLSSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLSSpec.
|
|
func (in *IngressTLSSpec) DeepCopy() *IngressTLSSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IngressTLSSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LabelItemSchema) DeepCopyInto(out *LabelItemSchema) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelItemSchema.
|
|
func (in *LabelItemSchema) DeepCopy() *LabelItemSchema {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LabelItemSchema)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ModelReference) DeepCopyInto(out *ModelReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelReference.
|
|
func (in *ModelReference) DeepCopy() *ModelReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ModelReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ModelSource) DeepCopyInto(out *ModelSource) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSource.
|
|
func (in *ModelSource) DeepCopy() *ModelSource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ModelSource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MultinodeSpec) DeepCopyInto(out *MultinodeSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultinodeSpec.
|
|
func (in *MultinodeSpec) DeepCopy() *MultinodeSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MultinodeSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PVC) DeepCopyInto(out *PVC) {
|
|
*out = *in
|
|
if in.Create != nil {
|
|
in, out := &in.Create, &out.Create
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Name != nil {
|
|
in, out := &in.Name, &out.Name
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
out.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVC.
|
|
func (in *PVC) DeepCopy() *PVC {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PVC)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ProfilingConfigSpec) DeepCopyInto(out *ProfilingConfigSpec) {
|
|
*out = *in
|
|
if in.Config != nil {
|
|
in, out := &in.Config, &out.Config
|
|
*out = new(apiextensionsv1.JSON)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ConfigMapRef != nil {
|
|
in, out := &in.ConfigMapRef, &out.ConfigMapRef
|
|
*out = new(ConfigMapKeySelector)
|
|
**out = **in
|
|
}
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = new(v1.ResourceRequirements)
|
|
(*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.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 ProfilingConfigSpec.
|
|
func (in *ProfilingConfigSpec) DeepCopy() *ProfilingConfigSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProfilingConfigSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceItem) DeepCopyInto(out *ResourceItem) {
|
|
*out = *in
|
|
if in.Custom != nil {
|
|
in, out := &in.Custom, &out.Custom
|
|
*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 ResourceItem.
|
|
func (in *ResourceItem) DeepCopy() *ResourceItem {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceItem)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Resources) DeepCopyInto(out *Resources) {
|
|
*out = *in
|
|
if in.Requests != nil {
|
|
in, out := &in.Requests, &out.Requests
|
|
*out = new(ResourceItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Limits != nil {
|
|
in, out := &in.Limits, &out.Limits
|
|
*out = new(ResourceItem)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Claims != nil {
|
|
in, out := &in.Claims, &out.Claims
|
|
*out = make([]v1.ResourceClaim, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
|
|
func (in *Resources) DeepCopy() *Resources {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Resources)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Restart) DeepCopyInto(out *Restart) {
|
|
*out = *in
|
|
if in.Strategy != nil {
|
|
in, out := &in.Strategy, &out.Strategy
|
|
*out = new(RestartStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restart.
|
|
func (in *Restart) DeepCopy() *Restart {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Restart)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RestartStatus) DeepCopyInto(out *RestartStatus) {
|
|
*out = *in
|
|
if in.InProgress != nil {
|
|
in, out := &in.InProgress, &out.InProgress
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestartStatus.
|
|
func (in *RestartStatus) DeepCopy() *RestartStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestartStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RestartStrategy) DeepCopyInto(out *RestartStrategy) {
|
|
*out = *in
|
|
if in.Order != nil {
|
|
in, out := &in.Order, &out.Order
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestartStrategy.
|
|
func (in *RestartStrategy) DeepCopy() *RestartStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestartStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RollingUpdateStatus) DeepCopyInto(out *RollingUpdateStatus) {
|
|
*out = *in
|
|
if in.StartTime != nil {
|
|
in, out := &in.StartTime, &out.StartTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.EndTime != nil {
|
|
in, out := &in.EndTime, &out.EndTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.UpdatedServices != nil {
|
|
in, out := &in.UpdatedServices, &out.UpdatedServices
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatus.
|
|
func (in *RollingUpdateStatus) DeepCopy() *RollingUpdateStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RollingUpdateStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ScalingAdapter) DeepCopyInto(out *ScalingAdapter) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingAdapter.
|
|
func (in *ScalingAdapter) DeepCopy() *ScalingAdapter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScalingAdapter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceCheckpointConfig) DeepCopyInto(out *ServiceCheckpointConfig) {
|
|
*out = *in
|
|
if in.CheckpointRef != nil {
|
|
in, out := &in.CheckpointRef, &out.CheckpointRef
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Identity != nil {
|
|
in, out := &in.Identity, &out.Identity
|
|
*out = new(DynamoCheckpointIdentity)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCheckpointConfig.
|
|
func (in *ServiceCheckpointConfig) DeepCopy() *ServiceCheckpointConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceCheckpointConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceCheckpointStatus) DeepCopyInto(out *ServiceCheckpointStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCheckpointStatus.
|
|
func (in *ServiceCheckpointStatus) DeepCopy() *ServiceCheckpointStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceCheckpointStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceReplicaStatus) DeepCopyInto(out *ServiceReplicaStatus) {
|
|
*out = *in
|
|
if in.ComponentNames != nil {
|
|
in, out := &in.ComponentNames, &out.ComponentNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ReadyReplicas != nil {
|
|
in, out := &in.ReadyReplicas, &out.ReadyReplicas
|
|
*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 ServiceReplicaStatus.
|
|
func (in *ServiceReplicaStatus) DeepCopy() *ServiceReplicaStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceReplicaStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SharedMemorySpec) DeepCopyInto(out *SharedMemorySpec) {
|
|
*out = *in
|
|
out.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedMemorySpec.
|
|
func (in *SharedMemorySpec) DeepCopy() *SharedMemorySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SharedMemorySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeMount) DeepCopyInto(out *VolumeMount) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.
|
|
func (in *VolumeMount) DeepCopy() *VolumeMount {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeMount)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|