5
5
appsv1 "k8s.io/client-go/listers/apps/v1"
6
6
corev1 "k8s.io/client-go/listers/core/v1"
7
7
rbacv1 "k8s.io/client-go/listers/rbac/v1"
8
- scheduling "k8s.io/client-go/listers/scheduling/v1"
9
8
aregv1 "k8s.io/kube-aggregator/pkg/client/listers/apiregistration/v1"
10
9
11
10
v1 "github.com/operator-framework/operator-lifecycle-manager/pkg/api/client/listers/operators/v1"
@@ -20,7 +19,6 @@ type OperatorLister interface {
20
19
RbacV1 () RbacV1Lister
21
20
APIRegistrationV1 () APIRegistrationV1Lister
22
21
APIExtensionsV1 () APIExtensionsV1Lister
23
- SchedulingV1 () SchedulingV1Lister
24
22
25
23
OperatorsV1alpha1 () OperatorsV1alpha1Lister
26
24
OperatorsV1 () OperatorsV1Lister
@@ -76,12 +74,6 @@ type APIExtensionsV1Lister interface {
76
74
CustomResourceDefinitionLister () aextv1.CustomResourceDefinitionLister
77
75
}
78
76
79
- //go:generate counterfeiter . SchedulingV1Lister
80
- type SchedulingV1Lister interface {
81
- RegisterPriorityClassLister (lister scheduling.PriorityClassLister )
82
- PriorityClassLister () scheduling.PriorityClassLister
83
- }
84
-
85
77
//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . OperatorsV1alpha1Lister
86
78
type OperatorsV1alpha1Lister interface {
87
79
RegisterClusterServiceVersionLister (namespace string , lister v1alpha1.ClusterServiceVersionLister )
@@ -168,16 +160,6 @@ func newAPIExtensionsV1Lister() *apiExtensionsV1Lister {
168
160
}
169
161
}
170
162
171
- type schedulingV1Lister struct {
172
- priorityClassLister * UnionPriorityClassLister
173
- }
174
-
175
- func newSchedulingV1Lister () * schedulingV1Lister {
176
- return & schedulingV1Lister {
177
- priorityClassLister : & UnionPriorityClassLister {},
178
- }
179
- }
180
-
181
163
type operatorsV1alpha1Lister struct {
182
164
clusterServiceVersionLister * UnionClusterServiceVersionLister
183
165
catalogSourceLister * UnionCatalogSourceLister
@@ -213,7 +195,6 @@ type lister struct {
213
195
rbacV1Lister * rbacV1Lister
214
196
apiRegistrationV1Lister * apiRegistrationV1Lister
215
197
apiExtensionsV1Lister * apiExtensionsV1Lister
216
- schedulingV1Lister * schedulingV1Lister
217
198
operatorsV1alpha1Lister * operatorsV1alpha1Lister
218
199
operatorsV1Lister * operatorsV1Lister
219
200
}
@@ -238,10 +219,6 @@ func (l *lister) APIExtensionsV1() APIExtensionsV1Lister {
238
219
return l .apiExtensionsV1Lister
239
220
}
240
221
241
- func (l * lister ) SchedulingV1 () SchedulingV1Lister {
242
- return l .schedulingV1Lister
243
- }
244
-
245
222
func (l * lister ) OperatorsV1alpha1 () OperatorsV1alpha1Lister {
246
223
return l .operatorsV1alpha1Lister
247
224
}
@@ -258,7 +235,6 @@ func NewLister() OperatorLister {
258
235
rbacV1Lister : newRbacV1Lister (),
259
236
apiRegistrationV1Lister : newAPIRegistrationV1Lister (),
260
237
apiExtensionsV1Lister : newAPIExtensionsV1Lister (),
261
- schedulingV1Lister : newSchedulingV1Lister (),
262
238
operatorsV1alpha1Lister : newOperatorsV1alpha1Lister (),
263
239
operatorsV1Lister : newOperatorsV1Lister (),
264
240
}
0 commit comments