github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/externalapis/preflight/v1beta2/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright (C) 2022-2023 ApeCloud Co., Ltd 6 7 This file is part of KubeBlocks project 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 // Code generated by controller-gen. DO NOT EDIT. 24 25 package v1beta2 26 27 import ( 28 troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2" 29 "k8s.io/api/core/v1" 30 runtime "k8s.io/apimachinery/pkg/runtime" 31 ) 32 33 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 34 func (in *ClusterAccessAnalyze) DeepCopyInto(out *ClusterAccessAnalyze) { 35 *out = *in 36 in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta) 37 if in.Outcomes != nil { 38 in, out := &in.Outcomes, &out.Outcomes 39 *out = make([]*troubleshootv1beta2.Outcome, len(*in)) 40 for i := range *in { 41 if (*in)[i] != nil { 42 in, out := &(*in)[i], &(*out)[i] 43 *out = new(troubleshootv1beta2.Outcome) 44 (*in).DeepCopyInto(*out) 45 } 46 } 47 } 48 } 49 50 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessAnalyze. 51 func (in *ClusterAccessAnalyze) DeepCopy() *ClusterAccessAnalyze { 52 if in == nil { 53 return nil 54 } 55 out := new(ClusterAccessAnalyze) 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 *ClusterRegion) DeepCopyInto(out *ClusterRegion) { 62 *out = *in 63 in.HostCollectorMeta.DeepCopyInto(&out.HostCollectorMeta) 64 } 65 66 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegion. 67 func (in *ClusterRegion) DeepCopy() *ClusterRegion { 68 if in == nil { 69 return nil 70 } 71 out := new(ClusterRegion) 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 *ClusterRegionAnalyze) DeepCopyInto(out *ClusterRegionAnalyze) { 78 *out = *in 79 in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta) 80 if in.Outcomes != nil { 81 in, out := &in.Outcomes, &out.Outcomes 82 *out = make([]*troubleshootv1beta2.Outcome, len(*in)) 83 for i := range *in { 84 if (*in)[i] != nil { 85 in, out := &(*in)[i], &(*out)[i] 86 *out = new(troubleshootv1beta2.Outcome) 87 (*in).DeepCopyInto(*out) 88 } 89 } 90 } 91 if in.RegionNames != nil { 92 in, out := &in.RegionNames, &out.RegionNames 93 *out = make([]string, len(*in)) 94 copy(*out, *in) 95 } 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegionAnalyze. 99 func (in *ClusterRegionAnalyze) DeepCopy() *ClusterRegionAnalyze { 100 if in == nil { 101 return nil 102 } 103 out := new(ClusterRegionAnalyze) 104 in.DeepCopyInto(out) 105 return out 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *ExtendAnalyze) DeepCopyInto(out *ExtendAnalyze) { 110 *out = *in 111 if in.ClusterAccess != nil { 112 in, out := &in.ClusterAccess, &out.ClusterAccess 113 *out = new(ClusterAccessAnalyze) 114 (*in).DeepCopyInto(*out) 115 } 116 if in.StorageClass != nil { 117 in, out := &in.StorageClass, &out.StorageClass 118 *out = new(KBStorageClassAnalyze) 119 (*in).DeepCopyInto(*out) 120 } 121 if in.Taint != nil { 122 in, out := &in.Taint, &out.Taint 123 *out = new(KBTaintAnalyze) 124 (*in).DeepCopyInto(*out) 125 } 126 } 127 128 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendAnalyze. 129 func (in *ExtendAnalyze) DeepCopy() *ExtendAnalyze { 130 if in == nil { 131 return nil 132 } 133 out := new(ExtendAnalyze) 134 in.DeepCopyInto(out) 135 return out 136 } 137 138 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 139 func (in *ExtendCollect) DeepCopyInto(out *ExtendCollect) { 140 *out = *in 141 } 142 143 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendCollect. 144 func (in *ExtendCollect) DeepCopy() *ExtendCollect { 145 if in == nil { 146 return nil 147 } 148 out := new(ExtendCollect) 149 in.DeepCopyInto(out) 150 return out 151 } 152 153 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 154 func (in *ExtendHostAnalyze) DeepCopyInto(out *ExtendHostAnalyze) { 155 *out = *in 156 if in.HostUtility != nil { 157 in, out := &in.HostUtility, &out.HostUtility 158 *out = new(HostUtilityAnalyze) 159 (*in).DeepCopyInto(*out) 160 } 161 if in.ClusterRegion != nil { 162 in, out := &in.ClusterRegion, &out.ClusterRegion 163 *out = new(ClusterRegionAnalyze) 164 (*in).DeepCopyInto(*out) 165 } 166 } 167 168 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendHostAnalyze. 169 func (in *ExtendHostAnalyze) DeepCopy() *ExtendHostAnalyze { 170 if in == nil { 171 return nil 172 } 173 out := new(ExtendHostAnalyze) 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 *ExtendHostCollect) DeepCopyInto(out *ExtendHostCollect) { 180 *out = *in 181 if in.HostUtility != nil { 182 in, out := &in.HostUtility, &out.HostUtility 183 *out = new(HostUtility) 184 (*in).DeepCopyInto(*out) 185 } 186 if in.ClusterRegion != nil { 187 in, out := &in.ClusterRegion, &out.ClusterRegion 188 *out = new(ClusterRegion) 189 (*in).DeepCopyInto(*out) 190 } 191 } 192 193 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendHostCollect. 194 func (in *ExtendHostCollect) DeepCopy() *ExtendHostCollect { 195 if in == nil { 196 return nil 197 } 198 out := new(ExtendHostCollect) 199 in.DeepCopyInto(out) 200 return out 201 } 202 203 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 204 func (in *HostPreflight) DeepCopyInto(out *HostPreflight) { 205 *out = *in 206 out.TypeMeta = in.TypeMeta 207 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 208 in.Spec.DeepCopyInto(&out.Spec) 209 out.Status = in.Status 210 } 211 212 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPreflight. 213 func (in *HostPreflight) DeepCopy() *HostPreflight { 214 if in == nil { 215 return nil 216 } 217 out := new(HostPreflight) 218 in.DeepCopyInto(out) 219 return out 220 } 221 222 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 223 func (in *HostPreflight) DeepCopyObject() runtime.Object { 224 if c := in.DeepCopy(); c != nil { 225 return c 226 } 227 return nil 228 } 229 230 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 231 func (in *HostPreflightList) DeepCopyInto(out *HostPreflightList) { 232 *out = *in 233 out.TypeMeta = in.TypeMeta 234 in.ListMeta.DeepCopyInto(&out.ListMeta) 235 if in.Items != nil { 236 in, out := &in.Items, &out.Items 237 *out = make([]HostPreflight, len(*in)) 238 for i := range *in { 239 (*in)[i].DeepCopyInto(&(*out)[i]) 240 } 241 } 242 } 243 244 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPreflightList. 245 func (in *HostPreflightList) DeepCopy() *HostPreflightList { 246 if in == nil { 247 return nil 248 } 249 out := new(HostPreflightList) 250 in.DeepCopyInto(out) 251 return out 252 } 253 254 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 255 func (in *HostPreflightList) DeepCopyObject() runtime.Object { 256 if c := in.DeepCopy(); c != nil { 257 return c 258 } 259 return nil 260 } 261 262 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 263 func (in *HostPreflightSpec) DeepCopyInto(out *HostPreflightSpec) { 264 *out = *in 265 in.HostPreflightSpec.DeepCopyInto(&out.HostPreflightSpec) 266 if in.ExtendCollectors != nil { 267 in, out := &in.ExtendCollectors, &out.ExtendCollectors 268 *out = make([]*ExtendHostCollect, len(*in)) 269 for i := range *in { 270 if (*in)[i] != nil { 271 in, out := &(*in)[i], &(*out)[i] 272 *out = new(ExtendHostCollect) 273 (*in).DeepCopyInto(*out) 274 } 275 } 276 } 277 if in.ExtendAnalyzers != nil { 278 in, out := &in.ExtendAnalyzers, &out.ExtendAnalyzers 279 *out = make([]*ExtendHostAnalyze, len(*in)) 280 for i := range *in { 281 if (*in)[i] != nil { 282 in, out := &(*in)[i], &(*out)[i] 283 *out = new(ExtendHostAnalyze) 284 (*in).DeepCopyInto(*out) 285 } 286 } 287 } 288 } 289 290 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPreflightSpec. 291 func (in *HostPreflightSpec) DeepCopy() *HostPreflightSpec { 292 if in == nil { 293 return nil 294 } 295 out := new(HostPreflightSpec) 296 in.DeepCopyInto(out) 297 return out 298 } 299 300 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 301 func (in *HostPreflightStatus) DeepCopyInto(out *HostPreflightStatus) { 302 *out = *in 303 out.HostPreflightStatus = in.HostPreflightStatus 304 } 305 306 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPreflightStatus. 307 func (in *HostPreflightStatus) DeepCopy() *HostPreflightStatus { 308 if in == nil { 309 return nil 310 } 311 out := new(HostPreflightStatus) 312 in.DeepCopyInto(out) 313 return out 314 } 315 316 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 317 func (in *HostUtility) DeepCopyInto(out *HostUtility) { 318 *out = *in 319 in.HostCollectorMeta.DeepCopyInto(&out.HostCollectorMeta) 320 } 321 322 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostUtility. 323 func (in *HostUtility) DeepCopy() *HostUtility { 324 if in == nil { 325 return nil 326 } 327 out := new(HostUtility) 328 in.DeepCopyInto(out) 329 return out 330 } 331 332 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 333 func (in *HostUtilityAnalyze) DeepCopyInto(out *HostUtilityAnalyze) { 334 *out = *in 335 in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta) 336 if in.Outcomes != nil { 337 in, out := &in.Outcomes, &out.Outcomes 338 *out = make([]*troubleshootv1beta2.Outcome, len(*in)) 339 for i := range *in { 340 if (*in)[i] != nil { 341 in, out := &(*in)[i], &(*out)[i] 342 *out = new(troubleshootv1beta2.Outcome) 343 (*in).DeepCopyInto(*out) 344 } 345 } 346 } 347 } 348 349 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostUtilityAnalyze. 350 func (in *HostUtilityAnalyze) DeepCopy() *HostUtilityAnalyze { 351 if in == nil { 352 return nil 353 } 354 out := new(HostUtilityAnalyze) 355 in.DeepCopyInto(out) 356 return out 357 } 358 359 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 360 func (in *KBStorageClassAnalyze) DeepCopyInto(out *KBStorageClassAnalyze) { 361 *out = *in 362 in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta) 363 if in.Outcomes != nil { 364 in, out := &in.Outcomes, &out.Outcomes 365 *out = make([]*troubleshootv1beta2.Outcome, len(*in)) 366 for i := range *in { 367 if (*in)[i] != nil { 368 in, out := &(*in)[i], &(*out)[i] 369 *out = new(troubleshootv1beta2.Outcome) 370 (*in).DeepCopyInto(*out) 371 } 372 } 373 } 374 } 375 376 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KBStorageClassAnalyze. 377 func (in *KBStorageClassAnalyze) DeepCopy() *KBStorageClassAnalyze { 378 if in == nil { 379 return nil 380 } 381 out := new(KBStorageClassAnalyze) 382 in.DeepCopyInto(out) 383 return out 384 } 385 386 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 387 func (in *KBTaintAnalyze) DeepCopyInto(out *KBTaintAnalyze) { 388 *out = *in 389 in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta) 390 if in.Outcomes != nil { 391 in, out := &in.Outcomes, &out.Outcomes 392 *out = make([]*troubleshootv1beta2.Outcome, len(*in)) 393 for i := range *in { 394 if (*in)[i] != nil { 395 in, out := &(*in)[i], &(*out)[i] 396 *out = new(troubleshootv1beta2.Outcome) 397 (*in).DeepCopyInto(*out) 398 } 399 } 400 } 401 if in.TolerationsMap != nil { 402 in, out := &in.TolerationsMap, &out.TolerationsMap 403 *out = make(map[string][]v1.Toleration, len(*in)) 404 for key, val := range *in { 405 var outVal []v1.Toleration 406 if val == nil { 407 (*out)[key] = nil 408 } else { 409 in, out := &val, &outVal 410 *out = make([]v1.Toleration, len(*in)) 411 for i := range *in { 412 (*in)[i].DeepCopyInto(&(*out)[i]) 413 } 414 } 415 (*out)[key] = outVal 416 } 417 } 418 } 419 420 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KBTaintAnalyze. 421 func (in *KBTaintAnalyze) DeepCopy() *KBTaintAnalyze { 422 if in == nil { 423 return nil 424 } 425 out := new(KBTaintAnalyze) 426 in.DeepCopyInto(out) 427 return out 428 } 429 430 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 431 func (in *Preflight) DeepCopyInto(out *Preflight) { 432 *out = *in 433 out.TypeMeta = in.TypeMeta 434 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 435 in.Spec.DeepCopyInto(&out.Spec) 436 out.Status = in.Status 437 } 438 439 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preflight. 440 func (in *Preflight) DeepCopy() *Preflight { 441 if in == nil { 442 return nil 443 } 444 out := new(Preflight) 445 in.DeepCopyInto(out) 446 return out 447 } 448 449 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 450 func (in *Preflight) DeepCopyObject() runtime.Object { 451 if c := in.DeepCopy(); c != nil { 452 return c 453 } 454 return nil 455 } 456 457 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 458 func (in *PreflightList) DeepCopyInto(out *PreflightList) { 459 *out = *in 460 out.TypeMeta = in.TypeMeta 461 in.ListMeta.DeepCopyInto(&out.ListMeta) 462 if in.Items != nil { 463 in, out := &in.Items, &out.Items 464 *out = make([]Preflight, len(*in)) 465 for i := range *in { 466 (*in)[i].DeepCopyInto(&(*out)[i]) 467 } 468 } 469 } 470 471 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightList. 472 func (in *PreflightList) DeepCopy() *PreflightList { 473 if in == nil { 474 return nil 475 } 476 out := new(PreflightList) 477 in.DeepCopyInto(out) 478 return out 479 } 480 481 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 482 func (in *PreflightList) DeepCopyObject() runtime.Object { 483 if c := in.DeepCopy(); c != nil { 484 return c 485 } 486 return nil 487 } 488 489 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 490 func (in *PreflightSpec) DeepCopyInto(out *PreflightSpec) { 491 *out = *in 492 in.PreflightSpec.DeepCopyInto(&out.PreflightSpec) 493 if in.ExtendCollectors != nil { 494 in, out := &in.ExtendCollectors, &out.ExtendCollectors 495 *out = make([]*ExtendCollect, len(*in)) 496 for i := range *in { 497 if (*in)[i] != nil { 498 in, out := &(*in)[i], &(*out)[i] 499 *out = new(ExtendCollect) 500 **out = **in 501 } 502 } 503 } 504 if in.ExtendAnalyzers != nil { 505 in, out := &in.ExtendAnalyzers, &out.ExtendAnalyzers 506 *out = make([]*ExtendAnalyze, len(*in)) 507 for i := range *in { 508 if (*in)[i] != nil { 509 in, out := &(*in)[i], &(*out)[i] 510 *out = new(ExtendAnalyze) 511 (*in).DeepCopyInto(*out) 512 } 513 } 514 } 515 } 516 517 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightSpec. 518 func (in *PreflightSpec) DeepCopy() *PreflightSpec { 519 if in == nil { 520 return nil 521 } 522 out := new(PreflightSpec) 523 in.DeepCopyInto(out) 524 return out 525 } 526 527 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 528 func (in *PreflightStatus) DeepCopyInto(out *PreflightStatus) { 529 *out = *in 530 out.PreflightStatus = in.PreflightStatus 531 } 532 533 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreflightStatus. 534 func (in *PreflightStatus) DeepCopy() *PreflightStatus { 535 if in == nil { 536 return nil 537 } 538 out := new(PreflightStatus) 539 in.DeepCopyInto(out) 540 return out 541 }