248 lines
6.9 KiB
Go
248 lines
6.9 KiB
Go
|
|
//go:build !ignore_autogenerated
|
||
|
|
|
||
|
|
/*
|
||
|
|
Copyright 2026.
|
||
|
|
|
||
|
|
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 *Cluster) DeepCopyInto(out *Cluster) {
|
||
|
|
*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 Cluster.
|
||
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(Cluster)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
|
func (in *Cluster) 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 *ClusterList) DeepCopyInto(out *ClusterList) {
|
||
|
|
*out = *in
|
||
|
|
out.TypeMeta = in.TypeMeta
|
||
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
|
if in.Items != nil {
|
||
|
|
in, out := &in.Items, &out.Items
|
||
|
|
*out = make([]Cluster, len(*in))
|
||
|
|
for i := range *in {
|
||
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
|
||
|
|
func (in *ClusterList) DeepCopy() *ClusterList {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(ClusterList)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
|
func (in *ClusterList) 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 *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
||
|
|
*out = *in
|
||
|
|
if in.WorkerPools != nil {
|
||
|
|
in, out := &in.WorkerPools, &out.WorkerPools
|
||
|
|
*out = make([]WorkerPoolRequest, len(*in))
|
||
|
|
copy(*out, *in)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
|
||
|
|
func (in *ClusterSpec) DeepCopy() *ClusterSpec {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(ClusterSpec)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
|
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
||
|
|
*out = *in
|
||
|
|
if in.GeneratedAccount != nil {
|
||
|
|
in, out := &in.GeneratedAccount, &out.GeneratedAccount
|
||
|
|
*out = new(HarvesterAccountStatus)
|
||
|
|
(*in).DeepCopyInto(*out)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
|
||
|
|
func (in *ClusterStatus) DeepCopy() *ClusterStatus {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(ClusterStatus)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
|
func (in *HarvesterAccountStatus) DeepCopyInto(out *HarvesterAccountStatus) {
|
||
|
|
*out = *in
|
||
|
|
if in.TokenExpiresAt != nil {
|
||
|
|
in, out := &in.TokenExpiresAt, &out.TokenExpiresAt
|
||
|
|
*out = (*in).DeepCopy()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarvesterAccountStatus.
|
||
|
|
func (in *HarvesterAccountStatus) DeepCopy() *HarvesterAccountStatus {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(HarvesterAccountStatus)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
|
func (in *Infra) DeepCopyInto(out *Infra) {
|
||
|
|
*out = *in
|
||
|
|
out.TypeMeta = in.TypeMeta
|
||
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||
|
|
out.Spec = in.Spec
|
||
|
|
out.Status = in.Status
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Infra.
|
||
|
|
func (in *Infra) DeepCopy() *Infra {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(Infra)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
|
func (in *Infra) 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 *InfraList) DeepCopyInto(out *InfraList) {
|
||
|
|
*out = *in
|
||
|
|
out.TypeMeta = in.TypeMeta
|
||
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
|
if in.Items != nil {
|
||
|
|
in, out := &in.Items, &out.Items
|
||
|
|
*out = make([]Infra, len(*in))
|
||
|
|
for i := range *in {
|
||
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraList.
|
||
|
|
func (in *InfraList) DeepCopy() *InfraList {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(InfraList)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
|
func (in *InfraList) 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 *InfraSpec) DeepCopyInto(out *InfraSpec) {
|
||
|
|
*out = *in
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraSpec.
|
||
|
|
func (in *InfraSpec) DeepCopy() *InfraSpec {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(InfraSpec)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
|
func (in *InfraStatus) DeepCopyInto(out *InfraStatus) {
|
||
|
|
*out = *in
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraStatus.
|
||
|
|
func (in *InfraStatus) DeepCopy() *InfraStatus {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(InfraStatus)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
|
func (in *WorkerPoolRequest) DeepCopyInto(out *WorkerPoolRequest) {
|
||
|
|
*out = *in
|
||
|
|
}
|
||
|
|
|
||
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerPoolRequest.
|
||
|
|
func (in *WorkerPoolRequest) DeepCopy() *WorkerPoolRequest {
|
||
|
|
if in == nil {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
out := new(WorkerPoolRequest)
|
||
|
|
in.DeepCopyInto(out)
|
||
|
|
return out
|
||
|
|
}
|