/
interface.go
78 lines (65 loc) · 2.81 KB
/
interface.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Code generated by informer-gen. DO NOT EDIT.
package v1
import (
internalinterfaces "github.com/kubermatic/kubermatic/api/pkg/crd/client/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// Addons returns a AddonInformer.
Addons() AddonInformer
// AddonConfigs returns a AddonConfigInformer.
AddonConfigs() AddonConfigInformer
// Clusters returns a ClusterInformer.
Clusters() ClusterInformer
// KubermaticSettings returns a KubermaticSettingInformer.
KubermaticSettings() KubermaticSettingInformer
// Projects returns a ProjectInformer.
Projects() ProjectInformer
// Users returns a UserInformer.
Users() UserInformer
// UserProjectBindings returns a UserProjectBindingInformer.
UserProjectBindings() UserProjectBindingInformer
// UserSSHKeys returns a UserSSHKeyInformer.
UserSSHKeys() UserSSHKeyInformer
}
type version struct {
factory internalinterfaces.SharedInformerFactory
namespace string
tweakListOptions internalinterfaces.TweakListOptionsFunc
}
// New returns a new Interface.
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
}
// Addons returns a AddonInformer.
func (v *version) Addons() AddonInformer {
return &addonInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// AddonConfigs returns a AddonConfigInformer.
func (v *version) AddonConfigs() AddonConfigInformer {
return &addonConfigInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Clusters returns a ClusterInformer.
func (v *version) Clusters() ClusterInformer {
return &clusterInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// KubermaticSettings returns a KubermaticSettingInformer.
func (v *version) KubermaticSettings() KubermaticSettingInformer {
return &kubermaticSettingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Projects returns a ProjectInformer.
func (v *version) Projects() ProjectInformer {
return &projectInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Users returns a UserInformer.
func (v *version) Users() UserInformer {
return &userInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// UserProjectBindings returns a UserProjectBindingInformer.
func (v *version) UserProjectBindings() UserProjectBindingInformer {
return &userProjectBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// UserSSHKeys returns a UserSSHKeyInformer.
func (v *version) UserSSHKeys() UserSSHKeyInformer {
return &userSSHKeyInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}