github.com/nginxinc/kubernetes-ingress@v1.12.5/pkg/apis/configuration/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Code generated by deepcopy-gen. DO NOT EDIT. 5 6 package v1alpha1 7 8 import ( 9 runtime "k8s.io/apimachinery/pkg/runtime" 10 ) 11 12 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 13 func (in *Action) DeepCopyInto(out *Action) { 14 *out = *in 15 return 16 } 17 18 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Action. 19 func (in *Action) DeepCopy() *Action { 20 if in == nil { 21 return nil 22 } 23 out := new(Action) 24 in.DeepCopyInto(out) 25 return out 26 } 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *GlobalConfiguration) DeepCopyInto(out *GlobalConfiguration) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 in.Spec.DeepCopyInto(&out.Spec) 34 return 35 } 36 37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalConfiguration. 38 func (in *GlobalConfiguration) DeepCopy() *GlobalConfiguration { 39 if in == nil { 40 return nil 41 } 42 out := new(GlobalConfiguration) 43 in.DeepCopyInto(out) 44 return out 45 } 46 47 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 48 func (in *GlobalConfiguration) DeepCopyObject() runtime.Object { 49 if c := in.DeepCopy(); c != nil { 50 return c 51 } 52 return nil 53 } 54 55 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 56 func (in *GlobalConfigurationList) DeepCopyInto(out *GlobalConfigurationList) { 57 *out = *in 58 out.TypeMeta = in.TypeMeta 59 in.ListMeta.DeepCopyInto(&out.ListMeta) 60 if in.Items != nil { 61 in, out := &in.Items, &out.Items 62 *out = make([]GlobalConfiguration, len(*in)) 63 for i := range *in { 64 (*in)[i].DeepCopyInto(&(*out)[i]) 65 } 66 } 67 return 68 } 69 70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalConfigurationList. 71 func (in *GlobalConfigurationList) DeepCopy() *GlobalConfigurationList { 72 if in == nil { 73 return nil 74 } 75 out := new(GlobalConfigurationList) 76 in.DeepCopyInto(out) 77 return out 78 } 79 80 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 81 func (in *GlobalConfigurationList) DeepCopyObject() runtime.Object { 82 if c := in.DeepCopy(); c != nil { 83 return c 84 } 85 return nil 86 } 87 88 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 89 func (in *GlobalConfigurationSpec) DeepCopyInto(out *GlobalConfigurationSpec) { 90 *out = *in 91 if in.Listeners != nil { 92 in, out := &in.Listeners, &out.Listeners 93 *out = make([]Listener, len(*in)) 94 copy(*out, *in) 95 } 96 return 97 } 98 99 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalConfigurationSpec. 100 func (in *GlobalConfigurationSpec) DeepCopy() *GlobalConfigurationSpec { 101 if in == nil { 102 return nil 103 } 104 out := new(GlobalConfigurationSpec) 105 in.DeepCopyInto(out) 106 return out 107 } 108 109 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 110 func (in *HealthCheck) DeepCopyInto(out *HealthCheck) { 111 *out = *in 112 if in.Match != nil { 113 in, out := &in.Match, &out.Match 114 *out = new(Match) 115 **out = **in 116 } 117 return 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck. 121 func (in *HealthCheck) DeepCopy() *HealthCheck { 122 if in == nil { 123 return nil 124 } 125 out := new(HealthCheck) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *Listener) DeepCopyInto(out *Listener) { 132 *out = *in 133 return 134 } 135 136 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Listener. 137 func (in *Listener) DeepCopy() *Listener { 138 if in == nil { 139 return nil 140 } 141 out := new(Listener) 142 in.DeepCopyInto(out) 143 return out 144 } 145 146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 147 func (in *Match) DeepCopyInto(out *Match) { 148 *out = *in 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match. 153 func (in *Match) DeepCopy() *Match { 154 if in == nil { 155 return nil 156 } 157 out := new(Match) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *SessionParameters) DeepCopyInto(out *SessionParameters) { 164 *out = *in 165 return 166 } 167 168 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionParameters. 169 func (in *SessionParameters) DeepCopy() *SessionParameters { 170 if in == nil { 171 return nil 172 } 173 out := new(SessionParameters) 174 in.DeepCopyInto(out) 175 return out 176 } 177 178 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 179 func (in *TransportServer) DeepCopyInto(out *TransportServer) { 180 *out = *in 181 out.TypeMeta = in.TypeMeta 182 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 183 in.Spec.DeepCopyInto(&out.Spec) 184 out.Status = in.Status 185 return 186 } 187 188 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServer. 189 func (in *TransportServer) DeepCopy() *TransportServer { 190 if in == nil { 191 return nil 192 } 193 out := new(TransportServer) 194 in.DeepCopyInto(out) 195 return out 196 } 197 198 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 199 func (in *TransportServer) DeepCopyObject() runtime.Object { 200 if c := in.DeepCopy(); c != nil { 201 return c 202 } 203 return nil 204 } 205 206 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 207 func (in *TransportServerList) DeepCopyInto(out *TransportServerList) { 208 *out = *in 209 out.TypeMeta = in.TypeMeta 210 in.ListMeta.DeepCopyInto(&out.ListMeta) 211 if in.Items != nil { 212 in, out := &in.Items, &out.Items 213 *out = make([]TransportServer, len(*in)) 214 for i := range *in { 215 (*in)[i].DeepCopyInto(&(*out)[i]) 216 } 217 } 218 return 219 } 220 221 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServerList. 222 func (in *TransportServerList) DeepCopy() *TransportServerList { 223 if in == nil { 224 return nil 225 } 226 out := new(TransportServerList) 227 in.DeepCopyInto(out) 228 return out 229 } 230 231 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 232 func (in *TransportServerList) DeepCopyObject() runtime.Object { 233 if c := in.DeepCopy(); c != nil { 234 return c 235 } 236 return nil 237 } 238 239 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 240 func (in *TransportServerListener) DeepCopyInto(out *TransportServerListener) { 241 *out = *in 242 return 243 } 244 245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServerListener. 246 func (in *TransportServerListener) DeepCopy() *TransportServerListener { 247 if in == nil { 248 return nil 249 } 250 out := new(TransportServerListener) 251 in.DeepCopyInto(out) 252 return out 253 } 254 255 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 256 func (in *TransportServerSpec) DeepCopyInto(out *TransportServerSpec) { 257 *out = *in 258 out.Listener = in.Listener 259 if in.Upstreams != nil { 260 in, out := &in.Upstreams, &out.Upstreams 261 *out = make([]Upstream, len(*in)) 262 for i := range *in { 263 (*in)[i].DeepCopyInto(&(*out)[i]) 264 } 265 } 266 if in.UpstreamParameters != nil { 267 in, out := &in.UpstreamParameters, &out.UpstreamParameters 268 *out = new(UpstreamParameters) 269 (*in).DeepCopyInto(*out) 270 } 271 if in.SessionParameters != nil { 272 in, out := &in.SessionParameters, &out.SessionParameters 273 *out = new(SessionParameters) 274 **out = **in 275 } 276 if in.Action != nil { 277 in, out := &in.Action, &out.Action 278 *out = new(Action) 279 **out = **in 280 } 281 return 282 } 283 284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServerSpec. 285 func (in *TransportServerSpec) DeepCopy() *TransportServerSpec { 286 if in == nil { 287 return nil 288 } 289 out := new(TransportServerSpec) 290 in.DeepCopyInto(out) 291 return out 292 } 293 294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 295 func (in *TransportServerStatus) DeepCopyInto(out *TransportServerStatus) { 296 *out = *in 297 return 298 } 299 300 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransportServerStatus. 301 func (in *TransportServerStatus) DeepCopy() *TransportServerStatus { 302 if in == nil { 303 return nil 304 } 305 out := new(TransportServerStatus) 306 in.DeepCopyInto(out) 307 return out 308 } 309 310 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 311 func (in *Upstream) DeepCopyInto(out *Upstream) { 312 *out = *in 313 if in.MaxFails != nil { 314 in, out := &in.MaxFails, &out.MaxFails 315 *out = new(int) 316 **out = **in 317 } 318 if in.MaxConns != nil { 319 in, out := &in.MaxConns, &out.MaxConns 320 *out = new(int) 321 **out = **in 322 } 323 if in.HealthCheck != nil { 324 in, out := &in.HealthCheck, &out.HealthCheck 325 *out = new(HealthCheck) 326 (*in).DeepCopyInto(*out) 327 } 328 return 329 } 330 331 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream. 332 func (in *Upstream) DeepCopy() *Upstream { 333 if in == nil { 334 return nil 335 } 336 out := new(Upstream) 337 in.DeepCopyInto(out) 338 return out 339 } 340 341 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 342 func (in *UpstreamParameters) DeepCopyInto(out *UpstreamParameters) { 343 *out = *in 344 if in.UDPRequests != nil { 345 in, out := &in.UDPRequests, &out.UDPRequests 346 *out = new(int) 347 **out = **in 348 } 349 if in.UDPResponses != nil { 350 in, out := &in.UDPResponses, &out.UDPResponses 351 *out = new(int) 352 **out = **in 353 } 354 return 355 } 356 357 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamParameters. 358 func (in *UpstreamParameters) DeepCopy() *UpstreamParameters { 359 if in == nil { 360 return nil 361 } 362 out := new(UpstreamParameters) 363 in.DeepCopyInto(out) 364 return out 365 }