istio.io/istio@v0.0.0-20240520182934-d79c90f27776/operator/pkg/apis/istio/v1alpha1/zz_generated.deepcopy.go (about) 1 // Copyright Istio Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 //go:build !ignore_autogenerated 16 // +build !ignore_autogenerated 17 18 // Code generated by deepcopy-gen. DO NOT EDIT. 19 20 package v1alpha1 21 22 import ( 23 runtime "k8s.io/apimachinery/pkg/runtime" 24 ) 25 26 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 func (in *IstioOperator) DeepCopyInto(out *IstioOperator) { 28 *out = *in 29 out.TypeMeta = in.TypeMeta 30 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 31 if in.Spec != nil { 32 in.Spec.DeepCopyInto(out.Spec) 33 } 34 if in.Status != nil { 35 in.Status.DeepCopyInto(out.Status) 36 } 37 return 38 } 39 40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioOperator. 41 func (in *IstioOperator) DeepCopy() *IstioOperator { 42 if in == nil { 43 return nil 44 } 45 out := new(IstioOperator) 46 in.DeepCopyInto(out) 47 return out 48 } 49 50 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 51 func (in *IstioOperator) DeepCopyObject() runtime.Object { 52 if c := in.DeepCopy(); c != nil { 53 return c 54 } 55 return nil 56 } 57 58 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 59 func (in *IstioOperatorList) DeepCopyInto(out *IstioOperatorList) { 60 *out = *in 61 out.TypeMeta = in.TypeMeta 62 in.ListMeta.DeepCopyInto(&out.ListMeta) 63 if in.Items != nil { 64 in, out := &in.Items, &out.Items 65 *out = make([]IstioOperator, len(*in)) 66 for i := range *in { 67 (*in)[i].DeepCopyInto(&(*out)[i]) 68 } 69 } 70 return 71 } 72 73 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioOperatorList. 74 func (in *IstioOperatorList) DeepCopy() *IstioOperatorList { 75 if in == nil { 76 return nil 77 } 78 out := new(IstioOperatorList) 79 in.DeepCopyInto(out) 80 return out 81 } 82 83 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 84 func (in *IstioOperatorList) DeepCopyObject() runtime.Object { 85 if c := in.DeepCopy(); c != nil { 86 return c 87 } 88 return nil 89 }