1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// Code generated by socialweb-apigen. DO NOT EDIT.
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
var (
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
AddToScheme = SchemeBuilder.AddToScheme
)
const (
EventStreamResource = "eventstreams"
EventSourceResource = "eventsources"
PdsEventSourceResource = "pdseventsources"
RelayEventSourceResource = "relayeventsources"
JetstreamEventSourceResource = "jetstreameventsources"
)
var (
EventStreamGVR = GroupVersion.WithResource(EventStreamResource)
EventSourceGVR = GroupVersion.WithResource(EventSourceResource)
PdsEventSourceGVR = GroupVersion.WithResource(PdsEventSourceResource)
RelayEventSourceGVR = GroupVersion.WithResource(RelayEventSourceResource)
JetstreamEventSourceGVR = GroupVersion.WithResource(JetstreamEventSourceResource)
)
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(
GroupVersion,
&EventStream{},
&EventStreamList{},
&EventSource{},
&EventSourceList{},
&PdsEventSource{},
&PdsEventSourceList{},
&RelayEventSource{},
&RelayEventSourceList{},
&JetstreamEventSource{},
&JetstreamEventSourceList{},
)
metav1.AddToGroupVersion(scheme, GroupVersion)
return nil
}
func (in *EventStream) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *EventStreamList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *EventSource) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *EventSourceList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *PdsEventSource) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *PdsEventSourceList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *RelayEventSource) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *RelayEventSourceList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *JetstreamEventSource) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
func (in *JetstreamEventSourceList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}