...
1
2
3
4
19
20
21
22 package v1beta1
23
24 import (
25 v1 "k8s.io/api/core/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in *Event) DeepCopyInto(out *Event) {
31 *out = *in
32 out.TypeMeta = in.TypeMeta
33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
34 in.EventTime.DeepCopyInto(&out.EventTime)
35 if in.Series != nil {
36 in, out := &in.Series, &out.Series
37 *out = new(EventSeries)
38 (*in).DeepCopyInto(*out)
39 }
40 out.Regarding = in.Regarding
41 if in.Related != nil {
42 in, out := &in.Related, &out.Related
43 *out = new(v1.ObjectReference)
44 **out = **in
45 }
46 out.DeprecatedSource = in.DeprecatedSource
47 in.DeprecatedFirstTimestamp.DeepCopyInto(&out.DeprecatedFirstTimestamp)
48 in.DeprecatedLastTimestamp.DeepCopyInto(&out.DeprecatedLastTimestamp)
49 return
50 }
51
52
53 func (in *Event) DeepCopy() *Event {
54 if in == nil {
55 return nil
56 }
57 out := new(Event)
58 in.DeepCopyInto(out)
59 return out
60 }
61
62
63 func (in *Event) DeepCopyObject() runtime.Object {
64 if c := in.DeepCopy(); c != nil {
65 return c
66 }
67 return nil
68 }
69
70
71 func (in *EventList) DeepCopyInto(out *EventList) {
72 *out = *in
73 out.TypeMeta = in.TypeMeta
74 in.ListMeta.DeepCopyInto(&out.ListMeta)
75 if in.Items != nil {
76 in, out := &in.Items, &out.Items
77 *out = make([]Event, len(*in))
78 for i := range *in {
79 (*in)[i].DeepCopyInto(&(*out)[i])
80 }
81 }
82 return
83 }
84
85
86 func (in *EventList) DeepCopy() *EventList {
87 if in == nil {
88 return nil
89 }
90 out := new(EventList)
91 in.DeepCopyInto(out)
92 return out
93 }
94
95
96 func (in *EventList) DeepCopyObject() runtime.Object {
97 if c := in.DeepCopy(); c != nil {
98 return c
99 }
100 return nil
101 }
102
103
104 func (in *EventSeries) DeepCopyInto(out *EventSeries) {
105 *out = *in
106 in.LastObservedTime.DeepCopyInto(&out.LastObservedTime)
107 return
108 }
109
110
111 func (in *EventSeries) DeepCopy() *EventSeries {
112 if in == nil {
113 return nil
114 }
115 out := new(EventSeries)
116 in.DeepCopyInto(out)
117 return out
118 }
119
View as plain text