...
1
16
17
18
19 package v1alpha1
20
21 import (
22 internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
23 )
24
25
26 type Interface interface {
27
28 CSIStorageCapacities() CSIStorageCapacityInformer
29
30 VolumeAttachments() VolumeAttachmentInformer
31
32 VolumeAttributesClasses() VolumeAttributesClassInformer
33 }
34
35 type version struct {
36 factory internalinterfaces.SharedInformerFactory
37 namespace string
38 tweakListOptions internalinterfaces.TweakListOptionsFunc
39 }
40
41
42 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
43 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
44 }
45
46
47 func (v *version) CSIStorageCapacities() CSIStorageCapacityInformer {
48 return &cSIStorageCapacityInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
49 }
50
51
52 func (v *version) VolumeAttachments() VolumeAttachmentInformer {
53 return &volumeAttachmentInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
54 }
55
56
57 func (v *version) VolumeAttributesClasses() VolumeAttributesClassInformer {
58 return &volumeAttributesClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
59 }
60
View as plain text