github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/prow/apis/prowjobs/v1/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 /* 4 Copyright 2018 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 deepcopy-gen. DO NOT EDIT. 20 21 package v1 22 23 import ( 24 v1alpha1 "github.com/knative/build/pkg/apis/build/v1alpha1" 25 corev1 "k8s.io/api/core/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *DecorationConfig) DeepCopyInto(out *DecorationConfig) { 31 *out = *in 32 if in.UtilityImages != nil { 33 in, out := &in.UtilityImages, &out.UtilityImages 34 *out = new(UtilityImages) 35 **out = **in 36 } 37 if in.GCSConfiguration != nil { 38 in, out := &in.GCSConfiguration, &out.GCSConfiguration 39 *out = new(GCSConfiguration) 40 **out = **in 41 } 42 if in.SSHKeySecrets != nil { 43 in, out := &in.SSHKeySecrets, &out.SSHKeySecrets 44 *out = make([]string, len(*in)) 45 copy(*out, *in) 46 } 47 return 48 } 49 50 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecorationConfig. 51 func (in *DecorationConfig) DeepCopy() *DecorationConfig { 52 if in == nil { 53 return nil 54 } 55 out := new(DecorationConfig) 56 in.DeepCopyInto(out) 57 return out 58 } 59 60 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 61 func (in *GCSConfiguration) DeepCopyInto(out *GCSConfiguration) { 62 *out = *in 63 return 64 } 65 66 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSConfiguration. 67 func (in *GCSConfiguration) DeepCopy() *GCSConfiguration { 68 if in == nil { 69 return nil 70 } 71 out := new(GCSConfiguration) 72 in.DeepCopyInto(out) 73 return out 74 } 75 76 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 77 func (in *ProwJob) DeepCopyInto(out *ProwJob) { 78 *out = *in 79 out.TypeMeta = in.TypeMeta 80 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 81 in.Spec.DeepCopyInto(&out.Spec) 82 in.Status.DeepCopyInto(&out.Status) 83 return 84 } 85 86 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJob. 87 func (in *ProwJob) DeepCopy() *ProwJob { 88 if in == nil { 89 return nil 90 } 91 out := new(ProwJob) 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 *ProwJob) 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 *ProwJobList) DeepCopyInto(out *ProwJobList) { 106 *out = *in 107 out.TypeMeta = in.TypeMeta 108 out.ListMeta = in.ListMeta 109 if in.Items != nil { 110 in, out := &in.Items, &out.Items 111 *out = make([]ProwJob, len(*in)) 112 for i := range *in { 113 (*in)[i].DeepCopyInto(&(*out)[i]) 114 } 115 } 116 return 117 } 118 119 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobList. 120 func (in *ProwJobList) DeepCopy() *ProwJobList { 121 if in == nil { 122 return nil 123 } 124 out := new(ProwJobList) 125 in.DeepCopyInto(out) 126 return out 127 } 128 129 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 130 func (in *ProwJobList) DeepCopyObject() runtime.Object { 131 if c := in.DeepCopy(); c != nil { 132 return c 133 } 134 return nil 135 } 136 137 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 138 func (in *ProwJobSpec) DeepCopyInto(out *ProwJobSpec) { 139 *out = *in 140 if in.Refs != nil { 141 in, out := &in.Refs, &out.Refs 142 *out = new(Refs) 143 (*in).DeepCopyInto(*out) 144 } 145 if in.ExtraRefs != nil { 146 in, out := &in.ExtraRefs, &out.ExtraRefs 147 *out = make([]*Refs, len(*in)) 148 for i := range *in { 149 if (*in)[i] != nil { 150 in, out := &(*in)[i], &(*out)[i] 151 *out = new(Refs) 152 (*in).DeepCopyInto(*out) 153 } 154 } 155 } 156 if in.PodSpec != nil { 157 in, out := &in.PodSpec, &out.PodSpec 158 *out = new(corev1.PodSpec) 159 (*in).DeepCopyInto(*out) 160 } 161 if in.BuildSpec != nil { 162 in, out := &in.BuildSpec, &out.BuildSpec 163 *out = new(v1alpha1.BuildSpec) 164 (*in).DeepCopyInto(*out) 165 } 166 if in.DecorationConfig != nil { 167 in, out := &in.DecorationConfig, &out.DecorationConfig 168 *out = new(DecorationConfig) 169 (*in).DeepCopyInto(*out) 170 } 171 if in.RunAfterSuccess != nil { 172 in, out := &in.RunAfterSuccess, &out.RunAfterSuccess 173 *out = make([]ProwJobSpec, len(*in)) 174 for i := range *in { 175 (*in)[i].DeepCopyInto(&(*out)[i]) 176 } 177 } 178 return 179 } 180 181 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobSpec. 182 func (in *ProwJobSpec) DeepCopy() *ProwJobSpec { 183 if in == nil { 184 return nil 185 } 186 out := new(ProwJobSpec) 187 in.DeepCopyInto(out) 188 return out 189 } 190 191 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 192 func (in *ProwJobStatus) DeepCopyInto(out *ProwJobStatus) { 193 *out = *in 194 in.StartTime.DeepCopyInto(&out.StartTime) 195 if in.CompletionTime != nil { 196 in, out := &in.CompletionTime, &out.CompletionTime 197 *out = (*in).DeepCopy() 198 } 199 return 200 } 201 202 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobStatus. 203 func (in *ProwJobStatus) DeepCopy() *ProwJobStatus { 204 if in == nil { 205 return nil 206 } 207 out := new(ProwJobStatus) 208 in.DeepCopyInto(out) 209 return out 210 } 211 212 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 213 func (in *Pull) DeepCopyInto(out *Pull) { 214 *out = *in 215 return 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pull. 219 func (in *Pull) DeepCopy() *Pull { 220 if in == nil { 221 return nil 222 } 223 out := new(Pull) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 229 func (in *Refs) DeepCopyInto(out *Refs) { 230 *out = *in 231 if in.Pulls != nil { 232 in, out := &in.Pulls, &out.Pulls 233 *out = make([]Pull, len(*in)) 234 copy(*out, *in) 235 } 236 return 237 } 238 239 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Refs. 240 func (in *Refs) DeepCopy() *Refs { 241 if in == nil { 242 return nil 243 } 244 out := new(Refs) 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 *UtilityImages) DeepCopyInto(out *UtilityImages) { 251 *out = *in 252 return 253 } 254 255 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilityImages. 256 func (in *UtilityImages) DeepCopy() *UtilityImages { 257 if in == nil { 258 return nil 259 } 260 out := new(UtilityImages) 261 in.DeepCopyInto(out) 262 return out 263 }