...
1
16
17
18
19 package v1alpha2
20
21 import (
22 internalinterfaces "sigs.k8s.io/gateway-api/pkg/client/informers/externalversions/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 BackendTLSPolicies() BackendTLSPolicyInformer
29
30 GRPCRoutes() GRPCRouteInformer
31
32 Gateways() GatewayInformer
33
34 GatewayClasses() GatewayClassInformer
35
36 HTTPRoutes() HTTPRouteInformer
37
38 ReferenceGrants() ReferenceGrantInformer
39
40 TCPRoutes() TCPRouteInformer
41
42 TLSRoutes() TLSRouteInformer
43
44 UDPRoutes() UDPRouteInformer
45 }
46
47 type version struct {
48 factory internalinterfaces.SharedInformerFactory
49 namespace string
50 tweakListOptions internalinterfaces.TweakListOptionsFunc
51 }
52
53
54 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
55 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
56 }
57
58
59 func (v *version) BackendTLSPolicies() BackendTLSPolicyInformer {
60 return &backendTLSPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
61 }
62
63
64 func (v *version) GRPCRoutes() GRPCRouteInformer {
65 return &gRPCRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
66 }
67
68
69 func (v *version) Gateways() GatewayInformer {
70 return &gatewayInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
71 }
72
73
74 func (v *version) GatewayClasses() GatewayClassInformer {
75 return &gatewayClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
76 }
77
78
79 func (v *version) HTTPRoutes() HTTPRouteInformer {
80 return &hTTPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
81 }
82
83
84 func (v *version) ReferenceGrants() ReferenceGrantInformer {
85 return &referenceGrantInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
86 }
87
88
89 func (v *version) TCPRoutes() TCPRouteInformer {
90 return &tCPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
91 }
92
93
94 func (v *version) TLSRoutes() TLSRouteInformer {
95 return &tLSRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
96 }
97
98
99 func (v *version) UDPRoutes() UDPRouteInformer {
100 return &uDPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
101 }
102
View as plain text