knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/apis/duck/v1beta1/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 v1beta1 23 24 import ( 25 v1 "k8s.io/api/core/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 apis "knative.dev/pkg/apis" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *AddressStatus) DeepCopyInto(out *AddressStatus) { 32 *out = *in 33 if in.Address != nil { 34 in, out := &in.Address, &out.Address 35 *out = new(Addressable) 36 (*in).DeepCopyInto(*out) 37 } 38 if in.Addresses != nil { 39 in, out := &in.Addresses, &out.Addresses 40 *out = make([]Addressable, len(*in)) 41 for i := range *in { 42 (*in)[i].DeepCopyInto(&(*out)[i]) 43 } 44 } 45 return 46 } 47 48 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressStatus. 49 func (in *AddressStatus) DeepCopy() *AddressStatus { 50 if in == nil { 51 return nil 52 } 53 out := new(AddressStatus) 54 in.DeepCopyInto(out) 55 return out 56 } 57 58 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 59 func (in *Addressable) DeepCopyInto(out *Addressable) { 60 *out = *in 61 if in.Name != nil { 62 in, out := &in.Name, &out.Name 63 *out = new(string) 64 **out = **in 65 } 66 if in.URL != nil { 67 in, out := &in.URL, &out.URL 68 *out = new(apis.URL) 69 (*in).DeepCopyInto(*out) 70 } 71 if in.CACerts != nil { 72 in, out := &in.CACerts, &out.CACerts 73 *out = new(string) 74 **out = **in 75 } 76 return 77 } 78 79 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addressable. 80 func (in *Addressable) DeepCopy() *Addressable { 81 if in == nil { 82 return nil 83 } 84 out := new(Addressable) 85 in.DeepCopyInto(out) 86 return out 87 } 88 89 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 90 func (in *AddressableType) DeepCopyInto(out *AddressableType) { 91 *out = *in 92 out.TypeMeta = in.TypeMeta 93 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 94 in.Status.DeepCopyInto(&out.Status) 95 return 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressableType. 99 func (in *AddressableType) DeepCopy() *AddressableType { 100 if in == nil { 101 return nil 102 } 103 out := new(AddressableType) 104 in.DeepCopyInto(out) 105 return out 106 } 107 108 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 109 func (in *AddressableType) DeepCopyObject() runtime.Object { 110 if c := in.DeepCopy(); c != nil { 111 return c 112 } 113 return nil 114 } 115 116 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 117 func (in *AddressableTypeList) DeepCopyInto(out *AddressableTypeList) { 118 *out = *in 119 out.TypeMeta = in.TypeMeta 120 in.ListMeta.DeepCopyInto(&out.ListMeta) 121 if in.Items != nil { 122 in, out := &in.Items, &out.Items 123 *out = make([]AddressableType, len(*in)) 124 for i := range *in { 125 (*in)[i].DeepCopyInto(&(*out)[i]) 126 } 127 } 128 return 129 } 130 131 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressableTypeList. 132 func (in *AddressableTypeList) DeepCopy() *AddressableTypeList { 133 if in == nil { 134 return nil 135 } 136 out := new(AddressableTypeList) 137 in.DeepCopyInto(out) 138 return out 139 } 140 141 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 142 func (in *AddressableTypeList) DeepCopyObject() runtime.Object { 143 if c := in.DeepCopy(); c != nil { 144 return c 145 } 146 return nil 147 } 148 149 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 150 func (in *Binding) DeepCopyInto(out *Binding) { 151 *out = *in 152 out.TypeMeta = in.TypeMeta 153 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 154 in.Spec.DeepCopyInto(&out.Spec) 155 return 156 } 157 158 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. 159 func (in *Binding) DeepCopy() *Binding { 160 if in == nil { 161 return nil 162 } 163 out := new(Binding) 164 in.DeepCopyInto(out) 165 return out 166 } 167 168 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 169 func (in *Binding) DeepCopyObject() runtime.Object { 170 if c := in.DeepCopy(); c != nil { 171 return c 172 } 173 return nil 174 } 175 176 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 177 func (in *BindingList) DeepCopyInto(out *BindingList) { 178 *out = *in 179 out.TypeMeta = in.TypeMeta 180 in.ListMeta.DeepCopyInto(&out.ListMeta) 181 if in.Items != nil { 182 in, out := &in.Items, &out.Items 183 *out = make([]Binding, len(*in)) 184 for i := range *in { 185 (*in)[i].DeepCopyInto(&(*out)[i]) 186 } 187 } 188 return 189 } 190 191 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingList. 192 func (in *BindingList) DeepCopy() *BindingList { 193 if in == nil { 194 return nil 195 } 196 out := new(BindingList) 197 in.DeepCopyInto(out) 198 return out 199 } 200 201 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 202 func (in *BindingList) DeepCopyObject() runtime.Object { 203 if c := in.DeepCopy(); c != nil { 204 return c 205 } 206 return nil 207 } 208 209 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 210 func (in *BindingSpec) DeepCopyInto(out *BindingSpec) { 211 *out = *in 212 in.Subject.DeepCopyInto(&out.Subject) 213 return 214 } 215 216 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingSpec. 217 func (in *BindingSpec) DeepCopy() *BindingSpec { 218 if in == nil { 219 return nil 220 } 221 out := new(BindingSpec) 222 in.DeepCopyInto(out) 223 return out 224 } 225 226 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 227 func (in *CloudEventOverrides) DeepCopyInto(out *CloudEventOverrides) { 228 *out = *in 229 if in.Extensions != nil { 230 in, out := &in.Extensions, &out.Extensions 231 *out = make(map[string]string, len(*in)) 232 for key, val := range *in { 233 (*out)[key] = val 234 } 235 } 236 return 237 } 238 239 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudEventOverrides. 240 func (in *CloudEventOverrides) DeepCopy() *CloudEventOverrides { 241 if in == nil { 242 return nil 243 } 244 out := new(CloudEventOverrides) 245 in.DeepCopyInto(out) 246 return out 247 } 248 249 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 250 func (in Conditions) DeepCopyInto(out *Conditions) { 251 { 252 in := &in 253 *out = make(Conditions, len(*in)) 254 for i := range *in { 255 (*in)[i].DeepCopyInto(&(*out)[i]) 256 } 257 return 258 } 259 } 260 261 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 262 func (in Conditions) DeepCopy() Conditions { 263 if in == nil { 264 return nil 265 } 266 out := new(Conditions) 267 in.DeepCopyInto(out) 268 return *out 269 } 270 271 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 272 func (in *Destination) DeepCopyInto(out *Destination) { 273 *out = *in 274 if in.Ref != nil { 275 in, out := &in.Ref, &out.Ref 276 *out = new(v1.ObjectReference) 277 **out = **in 278 } 279 if in.URI != nil { 280 in, out := &in.URI, &out.URI 281 *out = new(apis.URL) 282 (*in).DeepCopyInto(*out) 283 } 284 if in.CACerts != nil { 285 in, out := &in.CACerts, &out.CACerts 286 *out = new(string) 287 **out = **in 288 } 289 return 290 } 291 292 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination. 293 func (in *Destination) DeepCopy() *Destination { 294 if in == nil { 295 return nil 296 } 297 out := new(Destination) 298 in.DeepCopyInto(out) 299 return out 300 } 301 302 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 303 func (in *KResource) DeepCopyInto(out *KResource) { 304 *out = *in 305 out.TypeMeta = in.TypeMeta 306 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 307 in.Status.DeepCopyInto(&out.Status) 308 return 309 } 310 311 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KResource. 312 func (in *KResource) DeepCopy() *KResource { 313 if in == nil { 314 return nil 315 } 316 out := new(KResource) 317 in.DeepCopyInto(out) 318 return out 319 } 320 321 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 322 func (in *KResource) DeepCopyObject() runtime.Object { 323 if c := in.DeepCopy(); c != nil { 324 return c 325 } 326 return nil 327 } 328 329 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 330 func (in *KResourceList) DeepCopyInto(out *KResourceList) { 331 *out = *in 332 out.TypeMeta = in.TypeMeta 333 in.ListMeta.DeepCopyInto(&out.ListMeta) 334 if in.Items != nil { 335 in, out := &in.Items, &out.Items 336 *out = make([]KResource, len(*in)) 337 for i := range *in { 338 (*in)[i].DeepCopyInto(&(*out)[i]) 339 } 340 } 341 return 342 } 343 344 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KResourceList. 345 func (in *KResourceList) DeepCopy() *KResourceList { 346 if in == nil { 347 return nil 348 } 349 out := new(KResourceList) 350 in.DeepCopyInto(out) 351 return out 352 } 353 354 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 355 func (in *KResourceList) DeepCopyObject() runtime.Object { 356 if c := in.DeepCopy(); c != nil { 357 return c 358 } 359 return nil 360 } 361 362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 363 func (in *Source) DeepCopyInto(out *Source) { 364 *out = *in 365 out.TypeMeta = in.TypeMeta 366 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 367 in.Spec.DeepCopyInto(&out.Spec) 368 in.Status.DeepCopyInto(&out.Status) 369 return 370 } 371 372 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source. 373 func (in *Source) DeepCopy() *Source { 374 if in == nil { 375 return nil 376 } 377 out := new(Source) 378 in.DeepCopyInto(out) 379 return out 380 } 381 382 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 383 func (in *Source) DeepCopyObject() runtime.Object { 384 if c := in.DeepCopy(); c != nil { 385 return c 386 } 387 return nil 388 } 389 390 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 391 func (in *SourceList) DeepCopyInto(out *SourceList) { 392 *out = *in 393 out.TypeMeta = in.TypeMeta 394 in.ListMeta.DeepCopyInto(&out.ListMeta) 395 if in.Items != nil { 396 in, out := &in.Items, &out.Items 397 *out = make([]Source, len(*in)) 398 for i := range *in { 399 (*in)[i].DeepCopyInto(&(*out)[i]) 400 } 401 } 402 return 403 } 404 405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceList. 406 func (in *SourceList) DeepCopy() *SourceList { 407 if in == nil { 408 return nil 409 } 410 out := new(SourceList) 411 in.DeepCopyInto(out) 412 return out 413 } 414 415 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 416 func (in *SourceList) DeepCopyObject() runtime.Object { 417 if c := in.DeepCopy(); c != nil { 418 return c 419 } 420 return nil 421 } 422 423 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 424 func (in *SourceSpec) DeepCopyInto(out *SourceSpec) { 425 *out = *in 426 in.Sink.DeepCopyInto(&out.Sink) 427 if in.CloudEventOverrides != nil { 428 in, out := &in.CloudEventOverrides, &out.CloudEventOverrides 429 *out = new(CloudEventOverrides) 430 (*in).DeepCopyInto(*out) 431 } 432 return 433 } 434 435 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec. 436 func (in *SourceSpec) DeepCopy() *SourceSpec { 437 if in == nil { 438 return nil 439 } 440 out := new(SourceSpec) 441 in.DeepCopyInto(out) 442 return out 443 } 444 445 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 446 func (in *SourceStatus) DeepCopyInto(out *SourceStatus) { 447 *out = *in 448 in.Status.DeepCopyInto(&out.Status) 449 if in.SinkURI != nil { 450 in, out := &in.SinkURI, &out.SinkURI 451 *out = new(apis.URL) 452 (*in).DeepCopyInto(*out) 453 } 454 return 455 } 456 457 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStatus. 458 func (in *SourceStatus) DeepCopy() *SourceStatus { 459 if in == nil { 460 return nil 461 } 462 out := new(SourceStatus) 463 in.DeepCopyInto(out) 464 return out 465 } 466 467 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 468 func (in *Status) DeepCopyInto(out *Status) { 469 *out = *in 470 if in.Conditions != nil { 471 in, out := &in.Conditions, &out.Conditions 472 *out = make(Conditions, len(*in)) 473 for i := range *in { 474 (*in)[i].DeepCopyInto(&(*out)[i]) 475 } 476 } 477 if in.Annotations != nil { 478 in, out := &in.Annotations, &out.Annotations 479 *out = make(map[string]string, len(*in)) 480 for key, val := range *in { 481 (*out)[key] = val 482 } 483 } 484 return 485 } 486 487 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. 488 func (in *Status) DeepCopy() *Status { 489 if in == nil { 490 return nil 491 } 492 out := new(Status) 493 in.DeepCopyInto(out) 494 return out 495 }