sigs.k8s.io/cluster-api@v1.7.1/internal/runtime/test/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 3 /* 4 Copyright The Kubernetes Authors. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 */ 18 19 // Code generated by controller-gen. DO NOT EDIT. 20 21 package v1alpha1 22 23 import ( 24 "k8s.io/apimachinery/pkg/runtime" 25 ) 26 27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28 func (in *FakeRequest) DeepCopyInto(out *FakeRequest) { 29 *out = *in 30 out.TypeMeta = in.TypeMeta 31 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 32 in.Cluster.DeepCopyInto(&out.Cluster) 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FakeRequest. 36 func (in *FakeRequest) DeepCopy() *FakeRequest { 37 if in == nil { 38 return nil 39 } 40 out := new(FakeRequest) 41 in.DeepCopyInto(out) 42 return out 43 } 44 45 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 46 func (in *FakeRequest) DeepCopyObject() runtime.Object { 47 if c := in.DeepCopy(); c != nil { 48 return c 49 } 50 return nil 51 } 52 53 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 54 func (in *FakeResponse) DeepCopyInto(out *FakeResponse) { 55 *out = *in 56 out.TypeMeta = in.TypeMeta 57 out.CommonResponse = in.CommonResponse 58 } 59 60 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FakeResponse. 61 func (in *FakeResponse) DeepCopy() *FakeResponse { 62 if in == nil { 63 return nil 64 } 65 out := new(FakeResponse) 66 in.DeepCopyInto(out) 67 return out 68 } 69 70 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 71 func (in *FakeResponse) DeepCopyObject() runtime.Object { 72 if c := in.DeepCopy(); c != nil { 73 return c 74 } 75 return nil 76 } 77 78 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 79 func (in *RetryableFakeRequest) DeepCopyInto(out *RetryableFakeRequest) { 80 *out = *in 81 out.TypeMeta = in.TypeMeta 82 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 83 in.Cluster.DeepCopyInto(&out.Cluster) 84 } 85 86 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryableFakeRequest. 87 func (in *RetryableFakeRequest) DeepCopy() *RetryableFakeRequest { 88 if in == nil { 89 return nil 90 } 91 out := new(RetryableFakeRequest) 92 in.DeepCopyInto(out) 93 return out 94 } 95 96 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 97 func (in *RetryableFakeRequest) DeepCopyObject() runtime.Object { 98 if c := in.DeepCopy(); c != nil { 99 return c 100 } 101 return nil 102 } 103 104 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 105 func (in *RetryableFakeResponse) DeepCopyInto(out *RetryableFakeResponse) { 106 *out = *in 107 out.TypeMeta = in.TypeMeta 108 out.CommonResponse = in.CommonResponse 109 out.CommonRetryResponse = in.CommonRetryResponse 110 } 111 112 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryableFakeResponse. 113 func (in *RetryableFakeResponse) DeepCopy() *RetryableFakeResponse { 114 if in == nil { 115 return nil 116 } 117 out := new(RetryableFakeResponse) 118 in.DeepCopyInto(out) 119 return out 120 } 121 122 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 123 func (in *RetryableFakeResponse) DeepCopyObject() runtime.Object { 124 if c := in.DeepCopy(); c != nil { 125 return c 126 } 127 return nil 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *SecondFakeRequest) DeepCopyInto(out *SecondFakeRequest) { 132 *out = *in 133 out.TypeMeta = in.TypeMeta 134 in.CommonRequest.DeepCopyInto(&out.CommonRequest) 135 in.Cluster.DeepCopyInto(&out.Cluster) 136 } 137 138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondFakeRequest. 139 func (in *SecondFakeRequest) DeepCopy() *SecondFakeRequest { 140 if in == nil { 141 return nil 142 } 143 out := new(SecondFakeRequest) 144 in.DeepCopyInto(out) 145 return out 146 } 147 148 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 149 func (in *SecondFakeRequest) DeepCopyObject() runtime.Object { 150 if c := in.DeepCopy(); c != nil { 151 return c 152 } 153 return nil 154 } 155 156 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 157 func (in *SecondFakeResponse) DeepCopyInto(out *SecondFakeResponse) { 158 *out = *in 159 out.TypeMeta = in.TypeMeta 160 out.CommonResponse = in.CommonResponse 161 } 162 163 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondFakeResponse. 164 func (in *SecondFakeResponse) DeepCopy() *SecondFakeResponse { 165 if in == nil { 166 return nil 167 } 168 out := new(SecondFakeResponse) 169 in.DeepCopyInto(out) 170 return out 171 } 172 173 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 174 func (in *SecondFakeResponse) DeepCopyObject() runtime.Object { 175 if c := in.DeepCopy(); c != nil { 176 return c 177 } 178 return nil 179 }