mirror of
https://github.com/singchia/frontier.git
synced 2025-12-24 13:27:50 +08:00
241 lines
6.9 KiB
Go
241 lines
6.9 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
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/core/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 *ControlPlane) DeepCopyInto(out *ControlPlane) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
|
|
func (in *ControlPlane) DeepCopy() *ControlPlane {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControlPlane)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Edgebound) DeepCopyInto(out *Edgebound) {
|
|
*out = *in
|
|
in.TLS.DeepCopyInto(&out.TLS)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Edgebound.
|
|
func (in *Edgebound) DeepCopy() *Edgebound {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Edgebound)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Frontier) DeepCopyInto(out *Frontier) {
|
|
*out = *in
|
|
out.Servicebound = in.Servicebound
|
|
in.Edgebound.DeepCopyInto(&out.Edgebound)
|
|
in.NodeAffinity.DeepCopyInto(&out.NodeAffinity)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Frontier.
|
|
func (in *Frontier) DeepCopy() *Frontier {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Frontier)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FrontierCluster) DeepCopyInto(out *FrontierCluster) {
|
|
*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 FrontierCluster.
|
|
func (in *FrontierCluster) DeepCopy() *FrontierCluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FrontierCluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FrontierCluster) 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 *FrontierClusterList) DeepCopyInto(out *FrontierClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]FrontierCluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontierClusterList.
|
|
func (in *FrontierClusterList) DeepCopy() *FrontierClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FrontierClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FrontierClusterList) 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 *FrontierClusterSpec) DeepCopyInto(out *FrontierClusterSpec) {
|
|
*out = *in
|
|
in.Frontier.DeepCopyInto(&out.Frontier)
|
|
in.Frontlas.DeepCopyInto(&out.Frontlas)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontierClusterSpec.
|
|
func (in *FrontierClusterSpec) DeepCopy() *FrontierClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FrontierClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FrontierClusterStatus) DeepCopyInto(out *FrontierClusterStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontierClusterStatus.
|
|
func (in *FrontierClusterStatus) DeepCopy() *FrontierClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FrontierClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Frontlas) DeepCopyInto(out *Frontlas) {
|
|
*out = *in
|
|
out.ControlPlane = in.ControlPlane
|
|
in.NodeAffinity.DeepCopyInto(&out.NodeAffinity)
|
|
in.Redis.DeepCopyInto(&out.Redis)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Frontlas.
|
|
func (in *Frontlas) DeepCopy() *Frontlas {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Frontlas)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Redis) DeepCopyInto(out *Redis) {
|
|
*out = *in
|
|
if in.Addrs != nil {
|
|
in, out := &in.Addrs, &out.Addrs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis.
|
|
func (in *Redis) DeepCopy() *Redis {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Redis)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Servicebound) DeepCopyInto(out *Servicebound) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Servicebound.
|
|
func (in *Servicebound) DeepCopy() *Servicebound {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Servicebound)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLS) DeepCopyInto(out *TLS) {
|
|
*out = *in
|
|
out.CertificateKeySecret = in.CertificateKeySecret
|
|
if in.CaCertificateSecret != nil {
|
|
in, out := &in.CaCertificateSecret, &out.CaCertificateSecret
|
|
*out = new(v1.LocalObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLS.
|
|
func (in *TLS) DeepCopy() *TLS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|