zz_generated.deepcopy.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package runtime
  16. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  17. func (in *RawExtension) DeepCopyInto(out *RawExtension) {
  18. *out = *in
  19. if in.Raw != nil {
  20. in, out := &in.Raw, &out.Raw
  21. *out = make([]byte, len(*in))
  22. copy(*out, *in)
  23. }
  24. if in.Object != nil {
  25. out.Object = in.Object.DeepCopyObject()
  26. }
  27. return
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension.
  30. func (in *RawExtension) DeepCopy() *RawExtension {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(RawExtension)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  39. func (in *Unknown) DeepCopyInto(out *Unknown) {
  40. *out = *in
  41. out.TypeMeta = in.TypeMeta
  42. if in.Raw != nil {
  43. in, out := &in.Raw, &out.Raw
  44. *out = make([]byte, len(*in))
  45. copy(*out, *in)
  46. }
  47. return
  48. }
  49. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown.
  50. func (in *Unknown) DeepCopy() *Unknown {
  51. if in == nil {
  52. return nil
  53. }
  54. out := new(Unknown)
  55. in.DeepCopyInto(out)
  56. return out
  57. }
  58. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object.
  59. func (in *Unknown) DeepCopyObject() Object {
  60. if c := in.DeepCopy(); c != nil {
  61. return c
  62. }
  63. return nil
  64. }