open-cluster-management.io/governance-policy-propagator@v0.13.0/api/v1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 3 // Copyright (c) 2021 Red Hat, Inc. 4 // Copyright Contributors to the Open Cluster Management project 5 6 // Code generated by controller-gen. DO NOT EDIT. 7 8 package v1 9 10 import ( 11 "k8s.io/apimachinery/pkg/runtime" 12 ) 13 14 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 15 func (in *BindingOverrides) DeepCopyInto(out *BindingOverrides) { 16 *out = *in 17 } 18 19 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingOverrides. 20 func (in *BindingOverrides) DeepCopy() *BindingOverrides { 21 if in == nil { 22 return nil 23 } 24 out := new(BindingOverrides) 25 in.DeepCopyInto(out) 26 return out 27 } 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *ComplianceHistory) DeepCopyInto(out *ComplianceHistory) { 31 *out = *in 32 in.LastTimestamp.DeepCopyInto(&out.LastTimestamp) 33 } 34 35 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceHistory. 36 func (in *ComplianceHistory) DeepCopy() *ComplianceHistory { 37 if in == nil { 38 return nil 39 } 40 out := new(ComplianceHistory) 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 *CompliancePerClusterStatus) DeepCopyInto(out *CompliancePerClusterStatus) { 47 *out = *in 48 } 49 50 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompliancePerClusterStatus. 51 func (in *CompliancePerClusterStatus) DeepCopy() *CompliancePerClusterStatus { 52 if in == nil { 53 return nil 54 } 55 out := new(CompliancePerClusterStatus) 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 *DetailsPerTemplate) DeepCopyInto(out *DetailsPerTemplate) { 62 *out = *in 63 in.TemplateMeta.DeepCopyInto(&out.TemplateMeta) 64 if in.History != nil { 65 in, out := &in.History, &out.History 66 *out = make([]ComplianceHistory, len(*in)) 67 for i := range *in { 68 (*in)[i].DeepCopyInto(&(*out)[i]) 69 } 70 } 71 } 72 73 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DetailsPerTemplate. 74 func (in *DetailsPerTemplate) DeepCopy() *DetailsPerTemplate { 75 if in == nil { 76 return nil 77 } 78 out := new(DetailsPerTemplate) 79 in.DeepCopyInto(out) 80 return out 81 } 82 83 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 84 func (in *Placement) DeepCopyInto(out *Placement) { 85 *out = *in 86 if in.Decisions != nil { 87 in, out := &in.Decisions, &out.Decisions 88 *out = make([]PlacementDecision, len(*in)) 89 copy(*out, *in) 90 } 91 } 92 93 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement. 94 func (in *Placement) DeepCopy() *Placement { 95 if in == nil { 96 return nil 97 } 98 out := new(Placement) 99 in.DeepCopyInto(out) 100 return out 101 } 102 103 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 104 func (in *PlacementBinding) DeepCopyInto(out *PlacementBinding) { 105 *out = *in 106 out.TypeMeta = in.TypeMeta 107 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 108 out.BindingOverrides = in.BindingOverrides 109 out.PlacementRef = in.PlacementRef 110 if in.Subjects != nil { 111 in, out := &in.Subjects, &out.Subjects 112 *out = make([]Subject, len(*in)) 113 copy(*out, *in) 114 } 115 out.Status = in.Status 116 } 117 118 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementBinding. 119 func (in *PlacementBinding) DeepCopy() *PlacementBinding { 120 if in == nil { 121 return nil 122 } 123 out := new(PlacementBinding) 124 in.DeepCopyInto(out) 125 return out 126 } 127 128 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 129 func (in *PlacementBinding) DeepCopyObject() runtime.Object { 130 if c := in.DeepCopy(); c != nil { 131 return c 132 } 133 return nil 134 } 135 136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 137 func (in *PlacementBindingList) DeepCopyInto(out *PlacementBindingList) { 138 *out = *in 139 out.TypeMeta = in.TypeMeta 140 in.ListMeta.DeepCopyInto(&out.ListMeta) 141 if in.Items != nil { 142 in, out := &in.Items, &out.Items 143 *out = make([]PlacementBinding, len(*in)) 144 for i := range *in { 145 (*in)[i].DeepCopyInto(&(*out)[i]) 146 } 147 } 148 } 149 150 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementBindingList. 151 func (in *PlacementBindingList) DeepCopy() *PlacementBindingList { 152 if in == nil { 153 return nil 154 } 155 out := new(PlacementBindingList) 156 in.DeepCopyInto(out) 157 return out 158 } 159 160 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 161 func (in *PlacementBindingList) DeepCopyObject() runtime.Object { 162 if c := in.DeepCopy(); c != nil { 163 return c 164 } 165 return nil 166 } 167 168 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 169 func (in *PlacementBindingStatus) DeepCopyInto(out *PlacementBindingStatus) { 170 *out = *in 171 } 172 173 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementBindingStatus. 174 func (in *PlacementBindingStatus) DeepCopy() *PlacementBindingStatus { 175 if in == nil { 176 return nil 177 } 178 out := new(PlacementBindingStatus) 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 *PlacementDecision) DeepCopyInto(out *PlacementDecision) { 185 *out = *in 186 } 187 188 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementDecision. 189 func (in *PlacementDecision) DeepCopy() *PlacementDecision { 190 if in == nil { 191 return nil 192 } 193 out := new(PlacementDecision) 194 in.DeepCopyInto(out) 195 return out 196 } 197 198 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 199 func (in *PlacementSubject) DeepCopyInto(out *PlacementSubject) { 200 *out = *in 201 } 202 203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementSubject. 204 func (in *PlacementSubject) DeepCopy() *PlacementSubject { 205 if in == nil { 206 return nil 207 } 208 out := new(PlacementSubject) 209 in.DeepCopyInto(out) 210 return out 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *Policy) DeepCopyInto(out *Policy) { 215 *out = *in 216 out.TypeMeta = in.TypeMeta 217 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 218 in.Spec.DeepCopyInto(&out.Spec) 219 in.Status.DeepCopyInto(&out.Status) 220 } 221 222 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. 223 func (in *Policy) DeepCopy() *Policy { 224 if in == nil { 225 return nil 226 } 227 out := new(Policy) 228 in.DeepCopyInto(out) 229 return out 230 } 231 232 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 233 func (in *Policy) DeepCopyObject() runtime.Object { 234 if c := in.DeepCopy(); c != nil { 235 return c 236 } 237 return nil 238 } 239 240 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 241 func (in *PolicyDependency) DeepCopyInto(out *PolicyDependency) { 242 *out = *in 243 out.TypeMeta = in.TypeMeta 244 } 245 246 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDependency. 247 func (in *PolicyDependency) DeepCopy() *PolicyDependency { 248 if in == nil { 249 return nil 250 } 251 out := new(PolicyDependency) 252 in.DeepCopyInto(out) 253 return out 254 } 255 256 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 257 func (in *PolicyList) DeepCopyInto(out *PolicyList) { 258 *out = *in 259 out.TypeMeta = in.TypeMeta 260 in.ListMeta.DeepCopyInto(&out.ListMeta) 261 if in.Items != nil { 262 in, out := &in.Items, &out.Items 263 *out = make([]Policy, len(*in)) 264 for i := range *in { 265 (*in)[i].DeepCopyInto(&(*out)[i]) 266 } 267 } 268 } 269 270 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. 271 func (in *PolicyList) DeepCopy() *PolicyList { 272 if in == nil { 273 return nil 274 } 275 out := new(PolicyList) 276 in.DeepCopyInto(out) 277 return out 278 } 279 280 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 281 func (in *PolicyList) DeepCopyObject() runtime.Object { 282 if c := in.DeepCopy(); c != nil { 283 return c 284 } 285 return nil 286 } 287 288 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 289 func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { 290 *out = *in 291 if in.CopyPolicyMetadata != nil { 292 in, out := &in.CopyPolicyMetadata, &out.CopyPolicyMetadata 293 *out = new(bool) 294 **out = **in 295 } 296 if in.PolicyTemplates != nil { 297 in, out := &in.PolicyTemplates, &out.PolicyTemplates 298 *out = make([]*PolicyTemplate, len(*in)) 299 for i := range *in { 300 if (*in)[i] != nil { 301 in, out := &(*in)[i], &(*out)[i] 302 *out = new(PolicyTemplate) 303 (*in).DeepCopyInto(*out) 304 } 305 } 306 } 307 if in.Dependencies != nil { 308 in, out := &in.Dependencies, &out.Dependencies 309 *out = make([]PolicyDependency, len(*in)) 310 copy(*out, *in) 311 } 312 } 313 314 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. 315 func (in *PolicySpec) DeepCopy() *PolicySpec { 316 if in == nil { 317 return nil 318 } 319 out := new(PolicySpec) 320 in.DeepCopyInto(out) 321 return out 322 } 323 324 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 325 func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { 326 *out = *in 327 if in.Placement != nil { 328 in, out := &in.Placement, &out.Placement 329 *out = make([]*Placement, len(*in)) 330 for i := range *in { 331 if (*in)[i] != nil { 332 in, out := &(*in)[i], &(*out)[i] 333 *out = new(Placement) 334 (*in).DeepCopyInto(*out) 335 } 336 } 337 } 338 if in.Status != nil { 339 in, out := &in.Status, &out.Status 340 *out = make([]*CompliancePerClusterStatus, len(*in)) 341 for i := range *in { 342 if (*in)[i] != nil { 343 in, out := &(*in)[i], &(*out)[i] 344 *out = new(CompliancePerClusterStatus) 345 **out = **in 346 } 347 } 348 } 349 if in.Details != nil { 350 in, out := &in.Details, &out.Details 351 *out = make([]*DetailsPerTemplate, len(*in)) 352 for i := range *in { 353 if (*in)[i] != nil { 354 in, out := &(*in)[i], &(*out)[i] 355 *out = new(DetailsPerTemplate) 356 (*in).DeepCopyInto(*out) 357 } 358 } 359 } 360 } 361 362 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. 363 func (in *PolicyStatus) DeepCopy() *PolicyStatus { 364 if in == nil { 365 return nil 366 } 367 out := new(PolicyStatus) 368 in.DeepCopyInto(out) 369 return out 370 } 371 372 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 373 func (in *PolicyTemplate) DeepCopyInto(out *PolicyTemplate) { 374 *out = *in 375 in.ObjectDefinition.DeepCopyInto(&out.ObjectDefinition) 376 if in.ExtraDependencies != nil { 377 in, out := &in.ExtraDependencies, &out.ExtraDependencies 378 *out = make([]PolicyDependency, len(*in)) 379 copy(*out, *in) 380 } 381 } 382 383 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTemplate. 384 func (in *PolicyTemplate) DeepCopy() *PolicyTemplate { 385 if in == nil { 386 return nil 387 } 388 out := new(PolicyTemplate) 389 in.DeepCopyInto(out) 390 return out 391 } 392 393 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 394 func (in *Subject) DeepCopyInto(out *Subject) { 395 *out = *in 396 } 397 398 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. 399 func (in *Subject) DeepCopy() *Subject { 400 if in == nil { 401 return nil 402 } 403 out := new(Subject) 404 in.DeepCopyInto(out) 405 return out 406 }