zz_generated.deepcopy.go 3.2 KB

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