-
Notifications
You must be signed in to change notification settings - Fork 472
/
interface.go
85 lines (71 loc) · 3.28 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
79
80
81
82
83
84
85
// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "github.com/gardener/gardener/pkg/client/extensions/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// BackupBuckets returns a BackupBucketInformer.
BackupBuckets() BackupBucketInformer
// BackupEntries returns a BackupEntryInformer.
BackupEntries() BackupEntryInformer
// Clusters returns a ClusterInformer.
Clusters() ClusterInformer
// ControlPlanes returns a ControlPlaneInformer.
ControlPlanes() ControlPlaneInformer
// Extensions returns a ExtensionInformer.
Extensions() ExtensionInformer
// Infrastructures returns a InfrastructureInformer.
Infrastructures() InfrastructureInformer
// Networks returns a NetworkInformer.
Networks() NetworkInformer
// OperatingSystemConfigs returns a OperatingSystemConfigInformer.
OperatingSystemConfigs() OperatingSystemConfigInformer
// Workers returns a WorkerInformer.
Workers() WorkerInformer
}
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}
}
// BackupBuckets returns a BackupBucketInformer.
func (v *version) BackupBuckets() BackupBucketInformer {
return &backupBucketInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// BackupEntries returns a BackupEntryInformer.
func (v *version) BackupEntries() BackupEntryInformer {
return &backupEntryInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Clusters returns a ClusterInformer.
func (v *version) Clusters() ClusterInformer {
return &clusterInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// ControlPlanes returns a ControlPlaneInformer.
func (v *version) ControlPlanes() ControlPlaneInformer {
return &controlPlaneInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// Extensions returns a ExtensionInformer.
func (v *version) Extensions() ExtensionInformer {
return &extensionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// Infrastructures returns a InfrastructureInformer.
func (v *version) Infrastructures() InfrastructureInformer {
return &infrastructureInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// Networks returns a NetworkInformer.
func (v *version) Networks() NetworkInformer {
return &networkInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// OperatingSystemConfigs returns a OperatingSystemConfigInformer.
func (v *version) OperatingSystemConfigs() OperatingSystemConfigInformer {
return &operatingSystemConfigInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// Workers returns a WorkerInformer.
func (v *version) Workers() WorkerInformer {
return &workerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}