-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.go
57 lines (47 loc) · 2.33 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
// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "github.com/zeiss/typhoon/pkg/client/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// CloudEventsSources returns a CloudEventsSourceInformer.
CloudEventsSources() CloudEventsSourceInformer
// HTTPPollerSources returns a HTTPPollerSourceInformer.
HTTPPollerSources() HTTPPollerSourceInformer
// KafkaSources returns a KafkaSourceInformer.
KafkaSources() KafkaSourceInformer
// OCIMetricsSources returns a OCIMetricsSourceInformer.
OCIMetricsSources() OCIMetricsSourceInformer
// WebhookSources returns a WebhookSourceInformer.
WebhookSources() WebhookSourceInformer
}
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}
}
// CloudEventsSources returns a CloudEventsSourceInformer.
func (v *version) CloudEventsSources() CloudEventsSourceInformer {
return &cloudEventsSourceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// HTTPPollerSources returns a HTTPPollerSourceInformer.
func (v *version) HTTPPollerSources() HTTPPollerSourceInformer {
return &hTTPPollerSourceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// KafkaSources returns a KafkaSourceInformer.
func (v *version) KafkaSources() KafkaSourceInformer {
return &kafkaSourceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// OCIMetricsSources returns a OCIMetricsSourceInformer.
func (v *version) OCIMetricsSources() OCIMetricsSourceInformer {
return &oCIMetricsSourceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// WebhookSources returns a WebhookSourceInformer.
func (v *version) WebhookSources() WebhookSourceInformer {
return &webhookSourceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}