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