knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/apis/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 apis 23 24 import ( 25 url "net/url" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *Condition) DeepCopyInto(out *Condition) { 30 *out = *in 31 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 32 return 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 36 func (in *Condition) DeepCopy() *Condition { 37 if in == nil { 38 return nil 39 } 40 out := new(Condition) 41 in.DeepCopyInto(out) 42 return out 43 } 44 45 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 46 func (in Conditions) DeepCopyInto(out *Conditions) { 47 { 48 in := &in 49 *out = make(Conditions, len(*in)) 50 for i := range *in { 51 (*in)[i].DeepCopyInto(&(*out)[i]) 52 } 53 return 54 } 55 } 56 57 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions. 58 func (in Conditions) DeepCopy() Conditions { 59 if in == nil { 60 return nil 61 } 62 out := new(Conditions) 63 in.DeepCopyInto(out) 64 return *out 65 } 66 67 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 68 func (in *FieldError) DeepCopyInto(out *FieldError) { 69 *out = *in 70 if in.Paths != nil { 71 in, out := &in.Paths, &out.Paths 72 *out = make([]string, len(*in)) 73 copy(*out, *in) 74 } 75 if in.errors != nil { 76 in, out := &in.errors, &out.errors 77 *out = make([]FieldError, len(*in)) 78 for i := range *in { 79 (*in)[i].DeepCopyInto(&(*out)[i]) 80 } 81 } 82 return 83 } 84 85 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldError. 86 func (in *FieldError) DeepCopy() *FieldError { 87 if in == nil { 88 return nil 89 } 90 out := new(FieldError) 91 in.DeepCopyInto(out) 92 return out 93 } 94 95 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 96 func (in *URL) DeepCopyInto(out *URL) { 97 *out = *in 98 if in.User != nil { 99 in, out := &in.User, &out.User 100 *out = new(url.Userinfo) 101 **out = **in 102 } 103 return 104 } 105 106 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URL. 107 func (in *URL) DeepCopy() *URL { 108 if in == nil { 109 return nil 110 } 111 out := new(URL) 112 in.DeepCopyInto(out) 113 return out 114 } 115 116 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 117 func (in *VolatileTime) DeepCopyInto(out *VolatileTime) { 118 *out = *in 119 in.Inner.DeepCopyInto(&out.Inner) 120 return 121 } 122 123 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolatileTime. 124 func (in *VolatileTime) DeepCopy() *VolatileTime { 125 if in == nil { 126 return nil 127 } 128 out := new(VolatileTime) 129 in.DeepCopyInto(out) 130 return out 131 }