...
1
16
17
18
19 package v1beta2
20
21 import (
22 internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 FlowSchemas() FlowSchemaInformer
29
30 PriorityLevelConfigurations() PriorityLevelConfigurationInformer
31 }
32
33 type version struct {
34 factory internalinterfaces.SharedInformerFactory
35 namespace string
36 tweakListOptions internalinterfaces.TweakListOptionsFunc
37 }
38
39
40 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
41 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
42 }
43
44
45 func (v *version) FlowSchemas() FlowSchemaInformer {
46 return &flowSchemaInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
47 }
48
49
50 func (v *version) PriorityLevelConfigurations() PriorityLevelConfigurationInformer {
51 return &priorityLevelConfigurationInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
52 }
53
View as plain text