//go:build !ignore_autogenerated /* Copyright 2025. 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 ( 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 *InfrastructureSpec) DeepCopyInto(out *InfrastructureSpec) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureSpec. func (in *InfrastructureSpec) DeepCopy() *InfrastructureSpec { if in == nil { return nil } out := new(InfrastructureSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LeaderDownloadSpec) DeepCopyInto(out *LeaderDownloadSpec) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderDownloadSpec. func (in *LeaderDownloadSpec) DeepCopy() *LeaderDownloadSpec { if in == nil { return nil } out := new(LeaderDownloadSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LeaderSpec) DeepCopyInto(out *LeaderSpec) { *out = *in out.Download = in.Download out.Resources = in.Resources } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderSpec. func (in *LeaderSpec) DeepCopy() *LeaderSpec { if in == nil { return nil } out := new(LeaderSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LocustCluster) DeepCopyInto(out *LocustCluster) { *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 LocustCluster. func (in *LocustCluster) DeepCopy() *LocustCluster { if in == nil { return nil } out := new(LocustCluster) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *LocustCluster) 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 *LocustClusterList) DeepCopyInto(out *LocustClusterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]LocustCluster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocustClusterList. func (in *LocustClusterList) DeepCopy() *LocustClusterList { if in == nil { return nil } out := new(LocustClusterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *LocustClusterList) 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 *LocustClusterSpec) DeepCopyInto(out *LocustClusterSpec) { *out = *in out.Leader = in.Leader in.Worker.DeepCopyInto(&out.Worker) out.Metrics = in.Metrics if in.Infrastructure != nil { in, out := &in.Infrastructure, &out.Infrastructure *out = make([]InfrastructureSpec, len(*in)) copy(*out, *in) } if in.Secrets != nil { in, out := &in.Secrets, &out.Secrets *out = make([]SecretsSpec, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocustClusterSpec. func (in *LocustClusterSpec) DeepCopy() *LocustClusterSpec { if in == nil { return nil } out := new(LocustClusterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LocustClusterStatus) DeepCopyInto(out *LocustClusterStatus) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocustClusterStatus. func (in *LocustClusterStatus) DeepCopy() *LocustClusterStatus { if in == nil { return nil } out := new(LocustClusterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MetricsSpec) DeepCopyInto(out *MetricsSpec) { *out = *in out.Mosaic = in.Mosaic } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsSpec. func (in *MetricsSpec) DeepCopy() *MetricsSpec { if in == nil { return nil } out := new(MetricsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MosaicSpec) DeepCopyInto(out *MosaicSpec) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MosaicSpec. func (in *MosaicSpec) DeepCopy() *MosaicSpec { if in == nil { return nil } out := new(MosaicSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResourcesSpec) DeepCopyInto(out *ResourcesSpec) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesSpec. func (in *ResourcesSpec) DeepCopy() *ResourcesSpec { if in == nil { return nil } out := new(ResourcesSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretsKeys) DeepCopyInto(out *SecretsKeys) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsKeys. func (in *SecretsKeys) DeepCopy() *SecretsKeys { if in == nil { return nil } out := new(SecretsKeys) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SecretsSpec) DeepCopyInto(out *SecretsSpec) { *out = *in if in.SecretsKeys != nil { in, out := &in.SecretsKeys, &out.SecretsKeys *out = make([]SecretsKeys, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsSpec. func (in *SecretsSpec) DeepCopy() *SecretsSpec { if in == nil { return nil } out := new(SecretsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *TestsSpecs) DeepCopyInto(out *TestsSpecs) { *out = *in if in.TestSettings != nil { in, out := &in.TestSettings, &out.TestSettings *out = make([]WorkerEnv, len(*in)) copy(*out, *in) } if in.TestCommand != nil { in, out := &in.TestCommand, &out.TestCommand *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestsSpecs. func (in *TestsSpecs) DeepCopy() *TestsSpecs { if in == nil { return nil } out := new(TestsSpecs) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkerEnv) DeepCopyInto(out *WorkerEnv) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerEnv. func (in *WorkerEnv) DeepCopy() *WorkerEnv { if in == nil { return nil } out := new(WorkerEnv) 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 if in.Tests != nil { in, out := &in.Tests, &out.Tests *out = make([]TestsSpecs, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } out.Resources = in.Resources } // 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 }