agones.dev/agones@v1.53.0/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright 2024 Google LLC All Rights Reserved. 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 // This code was autogenerated. Do not edit directly. 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package v1 23 24 import ( 25 admissionregistrationv1 "k8s.io/api/admissionregistration/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 *ActivePeriod) DeepCopyInto(out *ActivePeriod) { 31 *out = *in 32 return 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivePeriod. 36 func (in *ActivePeriod) DeepCopy() *ActivePeriod { 37 if in == nil { 38 return nil 39 } 40 out := new(ActivePeriod) 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 *Between) DeepCopyInto(out *Between) { 47 *out = *in 48 in.Start.DeepCopyInto(&out.Start) 49 in.End.DeepCopyInto(&out.End) 50 return 51 } 52 53 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Between. 54 func (in *Between) DeepCopy() *Between { 55 if in == nil { 56 return nil 57 } 58 out := new(Between) 59 in.DeepCopyInto(out) 60 return out 61 } 62 63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 64 func (in *BufferPolicy) DeepCopyInto(out *BufferPolicy) { 65 *out = *in 66 out.BufferSize = in.BufferSize 67 return 68 } 69 70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BufferPolicy. 71 func (in *BufferPolicy) DeepCopy() *BufferPolicy { 72 if in == nil { 73 return nil 74 } 75 out := new(BufferPolicy) 76 in.DeepCopyInto(out) 77 return out 78 } 79 80 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 81 func (in *ChainEntry) DeepCopyInto(out *ChainEntry) { 82 *out = *in 83 in.FleetAutoscalerPolicy.DeepCopyInto(&out.FleetAutoscalerPolicy) 84 return 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChainEntry. 88 func (in *ChainEntry) DeepCopy() *ChainEntry { 89 if in == nil { 90 return nil 91 } 92 out := new(ChainEntry) 93 in.DeepCopyInto(out) 94 return out 95 } 96 97 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 98 func (in ChainPolicy) DeepCopyInto(out *ChainPolicy) { 99 { 100 in := &in 101 *out = make(ChainPolicy, len(*in)) 102 for i := range *in { 103 (*in)[i].DeepCopyInto(&(*out)[i]) 104 } 105 return 106 } 107 } 108 109 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChainPolicy. 110 func (in ChainPolicy) DeepCopy() ChainPolicy { 111 if in == nil { 112 return nil 113 } 114 out := new(ChainPolicy) 115 in.DeepCopyInto(out) 116 return *out 117 } 118 119 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 120 func (in *CounterPolicy) DeepCopyInto(out *CounterPolicy) { 121 *out = *in 122 out.BufferSize = in.BufferSize 123 return 124 } 125 126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CounterPolicy. 127 func (in *CounterPolicy) DeepCopy() *CounterPolicy { 128 if in == nil { 129 return nil 130 } 131 out := new(CounterPolicy) 132 in.DeepCopyInto(out) 133 return out 134 } 135 136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 137 func (in *FixedIntervalSync) DeepCopyInto(out *FixedIntervalSync) { 138 *out = *in 139 return 140 } 141 142 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedIntervalSync. 143 func (in *FixedIntervalSync) DeepCopy() *FixedIntervalSync { 144 if in == nil { 145 return nil 146 } 147 out := new(FixedIntervalSync) 148 in.DeepCopyInto(out) 149 return out 150 } 151 152 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 153 func (in *FleetAutoscaleRequest) DeepCopyInto(out *FleetAutoscaleRequest) { 154 *out = *in 155 in.Status.DeepCopyInto(&out.Status) 156 if in.Labels != nil { 157 in, out := &in.Labels, &out.Labels 158 *out = make(map[string]string, len(*in)) 159 for key, val := range *in { 160 (*out)[key] = val 161 } 162 } 163 if in.Annotations != nil { 164 in, out := &in.Annotations, &out.Annotations 165 *out = make(map[string]string, len(*in)) 166 for key, val := range *in { 167 (*out)[key] = val 168 } 169 } 170 return 171 } 172 173 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscaleRequest. 174 func (in *FleetAutoscaleRequest) DeepCopy() *FleetAutoscaleRequest { 175 if in == nil { 176 return nil 177 } 178 out := new(FleetAutoscaleRequest) 179 in.DeepCopyInto(out) 180 return out 181 } 182 183 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 184 func (in *FleetAutoscaleResponse) DeepCopyInto(out *FleetAutoscaleResponse) { 185 *out = *in 186 return 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscaleResponse. 190 func (in *FleetAutoscaleResponse) DeepCopy() *FleetAutoscaleResponse { 191 if in == nil { 192 return nil 193 } 194 out := new(FleetAutoscaleResponse) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 200 func (in *FleetAutoscaleReview) DeepCopyInto(out *FleetAutoscaleReview) { 201 *out = *in 202 if in.Request != nil { 203 in, out := &in.Request, &out.Request 204 *out = new(FleetAutoscaleRequest) 205 (*in).DeepCopyInto(*out) 206 } 207 if in.Response != nil { 208 in, out := &in.Response, &out.Response 209 *out = new(FleetAutoscaleResponse) 210 **out = **in 211 } 212 return 213 } 214 215 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscaleReview. 216 func (in *FleetAutoscaleReview) DeepCopy() *FleetAutoscaleReview { 217 if in == nil { 218 return nil 219 } 220 out := new(FleetAutoscaleReview) 221 in.DeepCopyInto(out) 222 return out 223 } 224 225 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 226 func (in *FleetAutoscaler) DeepCopyInto(out *FleetAutoscaler) { 227 *out = *in 228 out.TypeMeta = in.TypeMeta 229 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 230 in.Spec.DeepCopyInto(&out.Spec) 231 in.Status.DeepCopyInto(&out.Status) 232 return 233 } 234 235 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscaler. 236 func (in *FleetAutoscaler) DeepCopy() *FleetAutoscaler { 237 if in == nil { 238 return nil 239 } 240 out := new(FleetAutoscaler) 241 in.DeepCopyInto(out) 242 return out 243 } 244 245 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 246 func (in *FleetAutoscaler) DeepCopyObject() runtime.Object { 247 if c := in.DeepCopy(); c != nil { 248 return c 249 } 250 return nil 251 } 252 253 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 254 func (in *FleetAutoscalerList) DeepCopyInto(out *FleetAutoscalerList) { 255 *out = *in 256 out.TypeMeta = in.TypeMeta 257 in.ListMeta.DeepCopyInto(&out.ListMeta) 258 if in.Items != nil { 259 in, out := &in.Items, &out.Items 260 *out = make([]FleetAutoscaler, len(*in)) 261 for i := range *in { 262 (*in)[i].DeepCopyInto(&(*out)[i]) 263 } 264 } 265 return 266 } 267 268 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscalerList. 269 func (in *FleetAutoscalerList) DeepCopy() *FleetAutoscalerList { 270 if in == nil { 271 return nil 272 } 273 out := new(FleetAutoscalerList) 274 in.DeepCopyInto(out) 275 return out 276 } 277 278 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 279 func (in *FleetAutoscalerList) DeepCopyObject() runtime.Object { 280 if c := in.DeepCopy(); c != nil { 281 return c 282 } 283 return nil 284 } 285 286 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 287 func (in *FleetAutoscalerPolicy) DeepCopyInto(out *FleetAutoscalerPolicy) { 288 *out = *in 289 if in.Buffer != nil { 290 in, out := &in.Buffer, &out.Buffer 291 *out = new(BufferPolicy) 292 **out = **in 293 } 294 if in.Webhook != nil { 295 in, out := &in.Webhook, &out.Webhook 296 *out = new(URLConfiguration) 297 (*in).DeepCopyInto(*out) 298 } 299 if in.Counter != nil { 300 in, out := &in.Counter, &out.Counter 301 *out = new(CounterPolicy) 302 **out = **in 303 } 304 if in.List != nil { 305 in, out := &in.List, &out.List 306 *out = new(ListPolicy) 307 **out = **in 308 } 309 if in.Schedule != nil { 310 in, out := &in.Schedule, &out.Schedule 311 *out = new(SchedulePolicy) 312 (*in).DeepCopyInto(*out) 313 } 314 if in.Chain != nil { 315 in, out := &in.Chain, &out.Chain 316 *out = make(ChainPolicy, len(*in)) 317 for i := range *in { 318 (*in)[i].DeepCopyInto(&(*out)[i]) 319 } 320 } 321 if in.Wasm != nil { 322 in, out := &in.Wasm, &out.Wasm 323 *out = new(WasmPolicy) 324 (*in).DeepCopyInto(*out) 325 } 326 return 327 } 328 329 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscalerPolicy. 330 func (in *FleetAutoscalerPolicy) DeepCopy() *FleetAutoscalerPolicy { 331 if in == nil { 332 return nil 333 } 334 out := new(FleetAutoscalerPolicy) 335 in.DeepCopyInto(out) 336 return out 337 } 338 339 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 340 func (in *FleetAutoscalerSpec) DeepCopyInto(out *FleetAutoscalerSpec) { 341 *out = *in 342 in.Policy.DeepCopyInto(&out.Policy) 343 if in.Sync != nil { 344 in, out := &in.Sync, &out.Sync 345 *out = new(FleetAutoscalerSync) 346 **out = **in 347 } 348 return 349 } 350 351 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscalerSpec. 352 func (in *FleetAutoscalerSpec) DeepCopy() *FleetAutoscalerSpec { 353 if in == nil { 354 return nil 355 } 356 out := new(FleetAutoscalerSpec) 357 in.DeepCopyInto(out) 358 return out 359 } 360 361 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 362 func (in *FleetAutoscalerStatus) DeepCopyInto(out *FleetAutoscalerStatus) { 363 *out = *in 364 if in.LastScaleTime != nil { 365 in, out := &in.LastScaleTime, &out.LastScaleTime 366 *out = (*in).DeepCopy() 367 } 368 return 369 } 370 371 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscalerStatus. 372 func (in *FleetAutoscalerStatus) DeepCopy() *FleetAutoscalerStatus { 373 if in == nil { 374 return nil 375 } 376 out := new(FleetAutoscalerStatus) 377 in.DeepCopyInto(out) 378 return out 379 } 380 381 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 382 func (in *FleetAutoscalerSync) DeepCopyInto(out *FleetAutoscalerSync) { 383 *out = *in 384 out.FixedInterval = in.FixedInterval 385 return 386 } 387 388 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetAutoscalerSync. 389 func (in *FleetAutoscalerSync) DeepCopy() *FleetAutoscalerSync { 390 if in == nil { 391 return nil 392 } 393 out := new(FleetAutoscalerSync) 394 in.DeepCopyInto(out) 395 return out 396 } 397 398 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 399 func (in *ListPolicy) DeepCopyInto(out *ListPolicy) { 400 *out = *in 401 out.BufferSize = in.BufferSize 402 return 403 } 404 405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListPolicy. 406 func (in *ListPolicy) DeepCopy() *ListPolicy { 407 if in == nil { 408 return nil 409 } 410 out := new(ListPolicy) 411 in.DeepCopyInto(out) 412 return out 413 } 414 415 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 416 func (in *SchedulePolicy) DeepCopyInto(out *SchedulePolicy) { 417 *out = *in 418 in.Between.DeepCopyInto(&out.Between) 419 out.ActivePeriod = in.ActivePeriod 420 in.Policy.DeepCopyInto(&out.Policy) 421 return 422 } 423 424 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulePolicy. 425 func (in *SchedulePolicy) DeepCopy() *SchedulePolicy { 426 if in == nil { 427 return nil 428 } 429 out := new(SchedulePolicy) 430 in.DeepCopyInto(out) 431 return out 432 } 433 434 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 435 func (in *URLConfiguration) DeepCopyInto(out *URLConfiguration) { 436 *out = *in 437 if in.URL != nil { 438 in, out := &in.URL, &out.URL 439 *out = new(string) 440 **out = **in 441 } 442 if in.Service != nil { 443 in, out := &in.Service, &out.Service 444 *out = new(admissionregistrationv1.ServiceReference) 445 (*in).DeepCopyInto(*out) 446 } 447 if in.CABundle != nil { 448 in, out := &in.CABundle, &out.CABundle 449 *out = make([]byte, len(*in)) 450 copy(*out, *in) 451 } 452 return 453 } 454 455 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLConfiguration. 456 func (in *URLConfiguration) DeepCopy() *URLConfiguration { 457 if in == nil { 458 return nil 459 } 460 out := new(URLConfiguration) 461 in.DeepCopyInto(out) 462 return out 463 } 464 465 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 466 func (in *WasmFrom) DeepCopyInto(out *WasmFrom) { 467 *out = *in 468 if in.URL != nil { 469 in, out := &in.URL, &out.URL 470 *out = new(URLConfiguration) 471 (*in).DeepCopyInto(*out) 472 } 473 return 474 } 475 476 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WasmFrom. 477 func (in *WasmFrom) DeepCopy() *WasmFrom { 478 if in == nil { 479 return nil 480 } 481 out := new(WasmFrom) 482 in.DeepCopyInto(out) 483 return out 484 } 485 486 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 487 func (in *WasmPolicy) DeepCopyInto(out *WasmPolicy) { 488 *out = *in 489 if in.Config != nil { 490 in, out := &in.Config, &out.Config 491 *out = make(map[string]string, len(*in)) 492 for key, val := range *in { 493 (*out)[key] = val 494 } 495 } 496 in.From.DeepCopyInto(&out.From) 497 return 498 } 499 500 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WasmPolicy. 501 func (in *WasmPolicy) DeepCopy() *WasmPolicy { 502 if in == nil { 503 return nil 504 } 505 out := new(WasmPolicy) 506 in.DeepCopyInto(out) 507 return out 508 }