178 lines
4.9 KiB
Go
178 lines
4.9 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright The Karmada Authors.
|
|
|
|
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 deepcopy-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 *ClusterAffinity) DeepCopyInto(out *ClusterAffinity) {
|
|
*out = *in
|
|
if in.ClusterNames != nil {
|
|
in, out := &in.ClusterNames, &out.ClusterNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAffinity.
|
|
func (in *ClusterAffinity) DeepCopy() *ClusterAffinity {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterAffinity)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterConditionRequirement) DeepCopyInto(out *ClusterConditionRequirement) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConditionRequirement.
|
|
func (in *ClusterConditionRequirement) DeepCopy() *ClusterConditionRequirement {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterConditionRequirement)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DecisionMatch) DeepCopyInto(out *DecisionMatch) {
|
|
*out = *in
|
|
if in.ClusterConditionMatch != nil {
|
|
in, out := &in.ClusterConditionMatch, &out.ClusterConditionMatch
|
|
*out = new(ClusterConditionRequirement)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecisionMatch.
|
|
func (in *DecisionMatch) DeepCopy() *DecisionMatch {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DecisionMatch)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Remedy) DeepCopyInto(out *Remedy) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Remedy.
|
|
func (in *Remedy) DeepCopy() *Remedy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Remedy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Remedy) 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 *RemedyList) DeepCopyInto(out *RemedyList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Remedy, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemedyList.
|
|
func (in *RemedyList) DeepCopy() *RemedyList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RemedyList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RemedyList) 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 *RemedySpec) DeepCopyInto(out *RemedySpec) {
|
|
*out = *in
|
|
if in.ClusterAffinity != nil {
|
|
in, out := &in.ClusterAffinity, &out.ClusterAffinity
|
|
*out = new(ClusterAffinity)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DecisionMatches != nil {
|
|
in, out := &in.DecisionMatches, &out.DecisionMatches
|
|
*out = make([]DecisionMatch, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Actions != nil {
|
|
in, out := &in.Actions, &out.Actions
|
|
*out = make([]RemedyAction, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemedySpec.
|
|
func (in *RemedySpec) DeepCopy() *RemedySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RemedySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|