...
1
16
17
18
19 package v1alpha1
20
21 import (
22 internalinterfaces "github.com/linkerd/linkerd2/controller/gen/client/informers/externalversions/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 AuthorizationPolicies() AuthorizationPolicyInformer
29
30 HTTPRoutes() HTTPRouteInformer
31
32 MeshTLSAuthentications() MeshTLSAuthenticationInformer
33
34 NetworkAuthentications() NetworkAuthenticationInformer
35 }
36
37 type version struct {
38 factory internalinterfaces.SharedInformerFactory
39 namespace string
40 tweakListOptions internalinterfaces.TweakListOptionsFunc
41 }
42
43
44 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
45 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
46 }
47
48
49 func (v *version) AuthorizationPolicies() AuthorizationPolicyInformer {
50 return &authorizationPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
51 }
52
53
54 func (v *version) HTTPRoutes() HTTPRouteInformer {
55 return &hTTPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
56 }
57
58
59 func (v *version) MeshTLSAuthentications() MeshTLSAuthenticationInformer {
60 return &meshTLSAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
61 }
62
63
64 func (v *version) NetworkAuthentications() NetworkAuthenticationInformer {
65 return &networkAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
66 }
67
View as plain text