/
interface.go
129 lines (107 loc) · 5.88 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
Copyright AppsCode Inc. and Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "kubedb.dev/apimachinery/client/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// ElasticsearchAutoscalers returns a ElasticsearchAutoscalerInformer.
ElasticsearchAutoscalers() ElasticsearchAutoscalerInformer
// EtcdAutoscalers returns a EtcdAutoscalerInformer.
EtcdAutoscalers() EtcdAutoscalerInformer
// KafkaAutoscalers returns a KafkaAutoscalerInformer.
KafkaAutoscalers() KafkaAutoscalerInformer
// MariaDBAutoscalers returns a MariaDBAutoscalerInformer.
MariaDBAutoscalers() MariaDBAutoscalerInformer
// MemcachedAutoscalers returns a MemcachedAutoscalerInformer.
MemcachedAutoscalers() MemcachedAutoscalerInformer
// MongoDBAutoscalers returns a MongoDBAutoscalerInformer.
MongoDBAutoscalers() MongoDBAutoscalerInformer
// MySQLAutoscalers returns a MySQLAutoscalerInformer.
MySQLAutoscalers() MySQLAutoscalerInformer
// PerconaXtraDBAutoscalers returns a PerconaXtraDBAutoscalerInformer.
PerconaXtraDBAutoscalers() PerconaXtraDBAutoscalerInformer
// PgBouncerAutoscalers returns a PgBouncerAutoscalerInformer.
PgBouncerAutoscalers() PgBouncerAutoscalerInformer
// PostgresAutoscalers returns a PostgresAutoscalerInformer.
PostgresAutoscalers() PostgresAutoscalerInformer
// ProxySQLAutoscalers returns a ProxySQLAutoscalerInformer.
ProxySQLAutoscalers() ProxySQLAutoscalerInformer
// RedisAutoscalers returns a RedisAutoscalerInformer.
RedisAutoscalers() RedisAutoscalerInformer
// RedisSentinelAutoscalers returns a RedisSentinelAutoscalerInformer.
RedisSentinelAutoscalers() RedisSentinelAutoscalerInformer
}
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}
}
// ElasticsearchAutoscalers returns a ElasticsearchAutoscalerInformer.
func (v *version) ElasticsearchAutoscalers() ElasticsearchAutoscalerInformer {
return &elasticsearchAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// EtcdAutoscalers returns a EtcdAutoscalerInformer.
func (v *version) EtcdAutoscalers() EtcdAutoscalerInformer {
return &etcdAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// KafkaAutoscalers returns a KafkaAutoscalerInformer.
func (v *version) KafkaAutoscalers() KafkaAutoscalerInformer {
return &kafkaAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// MariaDBAutoscalers returns a MariaDBAutoscalerInformer.
func (v *version) MariaDBAutoscalers() MariaDBAutoscalerInformer {
return &mariaDBAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// MemcachedAutoscalers returns a MemcachedAutoscalerInformer.
func (v *version) MemcachedAutoscalers() MemcachedAutoscalerInformer {
return &memcachedAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// MongoDBAutoscalers returns a MongoDBAutoscalerInformer.
func (v *version) MongoDBAutoscalers() MongoDBAutoscalerInformer {
return &mongoDBAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// MySQLAutoscalers returns a MySQLAutoscalerInformer.
func (v *version) MySQLAutoscalers() MySQLAutoscalerInformer {
return &mySQLAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// PerconaXtraDBAutoscalers returns a PerconaXtraDBAutoscalerInformer.
func (v *version) PerconaXtraDBAutoscalers() PerconaXtraDBAutoscalerInformer {
return &perconaXtraDBAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// PgBouncerAutoscalers returns a PgBouncerAutoscalerInformer.
func (v *version) PgBouncerAutoscalers() PgBouncerAutoscalerInformer {
return &pgBouncerAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// PostgresAutoscalers returns a PostgresAutoscalerInformer.
func (v *version) PostgresAutoscalers() PostgresAutoscalerInformer {
return &postgresAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// ProxySQLAutoscalers returns a ProxySQLAutoscalerInformer.
func (v *version) ProxySQLAutoscalers() ProxySQLAutoscalerInformer {
return &proxySQLAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// RedisAutoscalers returns a RedisAutoscalerInformer.
func (v *version) RedisAutoscalers() RedisAutoscalerInformer {
return &redisAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// RedisSentinelAutoscalers returns a RedisSentinelAutoscalerInformer.
func (v *version) RedisSentinelAutoscalers() RedisSentinelAutoscalerInformer {
return &redisSentinelAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}