zz_generated.deepcopy.go 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 v1beta1
  17. import (
  18. v1 "k8s.io/api/core/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *Event) DeepCopyInto(out *Event) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.EventTime.DeepCopyInto(&out.EventTime)
  27. if in.Series != nil {
  28. in, out := &in.Series, &out.Series
  29. *out = new(EventSeries)
  30. (*in).DeepCopyInto(*out)
  31. }
  32. out.Regarding = in.Regarding
  33. if in.Related != nil {
  34. in, out := &in.Related, &out.Related
  35. *out = new(v1.ObjectReference)
  36. **out = **in
  37. }
  38. out.DeprecatedSource = in.DeprecatedSource
  39. in.DeprecatedFirstTimestamp.DeepCopyInto(&out.DeprecatedFirstTimestamp)
  40. in.DeprecatedLastTimestamp.DeepCopyInto(&out.DeprecatedLastTimestamp)
  41. return
  42. }
  43. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
  44. func (in *Event) DeepCopy() *Event {
  45. if in == nil {
  46. return nil
  47. }
  48. out := new(Event)
  49. in.DeepCopyInto(out)
  50. return out
  51. }
  52. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  53. func (in *Event) DeepCopyObject() runtime.Object {
  54. if c := in.DeepCopy(); c != nil {
  55. return c
  56. }
  57. return nil
  58. }
  59. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  60. func (in *EventList) DeepCopyInto(out *EventList) {
  61. *out = *in
  62. out.TypeMeta = in.TypeMeta
  63. in.ListMeta.DeepCopyInto(&out.ListMeta)
  64. if in.Items != nil {
  65. in, out := &in.Items, &out.Items
  66. *out = make([]Event, len(*in))
  67. for i := range *in {
  68. (*in)[i].DeepCopyInto(&(*out)[i])
  69. }
  70. }
  71. return
  72. }
  73. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
  74. func (in *EventList) DeepCopy() *EventList {
  75. if in == nil {
  76. return nil
  77. }
  78. out := new(EventList)
  79. in.DeepCopyInto(out)
  80. return out
  81. }
  82. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  83. func (in *EventList) DeepCopyObject() runtime.Object {
  84. if c := in.DeepCopy(); c != nil {
  85. return c
  86. }
  87. return nil
  88. }
  89. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  90. func (in *EventSeries) DeepCopyInto(out *EventSeries) {
  91. *out = *in
  92. in.LastObservedTime.DeepCopyInto(&out.LastObservedTime)
  93. return
  94. }
  95. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries.
  96. func (in *EventSeries) DeepCopy() *EventSeries {
  97. if in == nil {
  98. return nil
  99. }
  100. out := new(EventSeries)
  101. in.DeepCopyInto(out)
  102. return out
  103. }