zz_generated.deepcopy.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //go:build !ignore_autogenerated
  2. // +build !ignore_autogenerated
  3. /*
  4. Copyright The Kubernetes Authors.
  5. Licensed under the Apache License, Version 2.0 (the "License");
  6. you may not use this file except in compliance with the License.
  7. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. // Code generated by deepcopy-gen. DO NOT EDIT.
  16. package labels
  17. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  18. func (in *Requirement) DeepCopyInto(out *Requirement) {
  19. *out = *in
  20. if in.strValues != nil {
  21. in, out := &in.strValues, &out.strValues
  22. *out = make([]string, len(*in))
  23. copy(*out, *in)
  24. }
  25. return
  26. }
  27. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement.
  28. func (in *Requirement) DeepCopy() *Requirement {
  29. if in == nil {
  30. return nil
  31. }
  32. out := new(Requirement)
  33. in.DeepCopyInto(out)
  34. return out
  35. }