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