knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/testing/duck/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 duck 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 *TestBindable) DeepCopyInto(out *TestBindable) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 in.Spec.DeepCopyInto(&out.Spec) 34 in.Status.DeepCopyInto(&out.Status) 35 return 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindable. 39 func (in *TestBindable) DeepCopy() *TestBindable { 40 if in == nil { 41 return nil 42 } 43 out := new(TestBindable) 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 *TestBindable) 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 *TestBindableList) DeepCopyInto(out *TestBindableList) { 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([]TestBindable, 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 TestBindableList. 72 func (in *TestBindableList) DeepCopy() *TestBindableList { 73 if in == nil { 74 return nil 75 } 76 out := new(TestBindableList) 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 *TestBindableList) 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 *TestBindableSpec) DeepCopyInto(out *TestBindableSpec) { 91 *out = *in 92 in.BindingSpec.DeepCopyInto(&out.BindingSpec) 93 return 94 } 95 96 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindableSpec. 97 func (in *TestBindableSpec) DeepCopy() *TestBindableSpec { 98 if in == nil { 99 return nil 100 } 101 out := new(TestBindableSpec) 102 in.DeepCopyInto(out) 103 return out 104 } 105 106 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 107 func (in *TestBindableStatus) DeepCopyInto(out *TestBindableStatus) { 108 *out = *in 109 in.Status.DeepCopyInto(&out.Status) 110 return 111 } 112 113 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBindableStatus. 114 func (in *TestBindableStatus) DeepCopy() *TestBindableStatus { 115 if in == nil { 116 return nil 117 } 118 out := new(TestBindableStatus) 119 in.DeepCopyInto(out) 120 return out 121 }