...
1
16
17
18
19 package v1beta3
20
21 import (
22 internalinterfaces "github.com/linkerd/linkerd2/controller/gen/client/informers/externalversions/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 HTTPRoutes() HTTPRouteInformer
29 }
30
31 type version struct {
32 factory internalinterfaces.SharedInformerFactory
33 namespace string
34 tweakListOptions internalinterfaces.TweakListOptionsFunc
35 }
36
37
38 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
39 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
40 }
41
42
43 func (v *version) HTTPRoutes() HTTPRouteInformer {
44 return &hTTPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
45 }
46
View as plain text