...
1
16
17
18
19 package v2beta2
20
21 import (
22 internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 HorizontalPodAutoscalers() HorizontalPodAutoscalerInformer
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) HorizontalPodAutoscalers() HorizontalPodAutoscalerInformer {
44 return &horizontalPodAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
45 }
46
View as plain text