1
2
3
4
5 package kclient
6
7 import (
8 context "context"
9 io "io"
10 reflect "reflect"
11 time "time"
12
13 spec "github.com/go-openapi/spec"
14 gomock "github.com/golang/mock/gomock"
15 v1 "github.com/openshift/api/project/v1"
16 v1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
17 api "github.com/redhat-developer/odo/pkg/api"
18 v1alpha10 "github.com/redhat-developer/service-binding-operator/apis/binding/v1alpha1"
19 v1alpha3 "github.com/redhat-developer/service-binding-operator/apis/spec/v1alpha3"
20 v10 "k8s.io/api/apps/v1"
21 v11 "k8s.io/api/batch/v1"
22 v12 "k8s.io/api/core/v1"
23 v13 "k8s.io/api/networking/v1"
24 meta "k8s.io/apimachinery/pkg/api/meta"
25 v14 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 unstructured "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
27 schema "k8s.io/apimachinery/pkg/runtime/schema"
28 watch "k8s.io/apimachinery/pkg/watch"
29 discovery "k8s.io/client-go/discovery"
30 dynamic "k8s.io/client-go/dynamic"
31 kubernetes "k8s.io/client-go/kubernetes"
32 rest "k8s.io/client-go/rest"
33 clientcmd "k8s.io/client-go/tools/clientcmd"
34 api0 "k8s.io/pod-security-admission/api"
35 )
36
37
38 type MockClientInterface struct {
39 ctrl *gomock.Controller
40 recorder *MockClientInterfaceMockRecorder
41 }
42
43
44 type MockClientInterfaceMockRecorder struct {
45 mock *MockClientInterface
46 }
47
48
49 func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface {
50 mock := &MockClientInterface{ctrl: ctrl}
51 mock.recorder = &MockClientInterfaceMockRecorder{mock}
52 return mock
53 }
54
55
56 func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder {
57 return m.recorder
58 }
59
60
61 func (m *MockClientInterface) ApplyDeployment(deploy v10.Deployment) (*v10.Deployment, error) {
62 m.ctrl.T.Helper()
63 ret := m.ctrl.Call(m, "ApplyDeployment", deploy)
64 ret0, _ := ret[0].(*v10.Deployment)
65 ret1, _ := ret[1].(error)
66 return ret0, ret1
67 }
68
69
70 func (mr *MockClientInterfaceMockRecorder) ApplyDeployment(deploy interface{}) *gomock.Call {
71 mr.mock.ctrl.T.Helper()
72 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyDeployment", reflect.TypeOf((*MockClientInterface)(nil).ApplyDeployment), deploy)
73 }
74
75
76 func (m *MockClientInterface) CreateDeployment(deploy v10.Deployment) (*v10.Deployment, error) {
77 m.ctrl.T.Helper()
78 ret := m.ctrl.Call(m, "CreateDeployment", deploy)
79 ret0, _ := ret[0].(*v10.Deployment)
80 ret1, _ := ret[1].(error)
81 return ret0, ret1
82 }
83
84
85 func (mr *MockClientInterfaceMockRecorder) CreateDeployment(deploy interface{}) *gomock.Call {
86 mr.mock.ctrl.T.Helper()
87 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateDeployment", reflect.TypeOf((*MockClientInterface)(nil).CreateDeployment), deploy)
88 }
89
90
91 func (m *MockClientInterface) CreateJob(job v11.Job, namespace string) (*v11.Job, error) {
92 m.ctrl.T.Helper()
93 ret := m.ctrl.Call(m, "CreateJob", job, namespace)
94 ret0, _ := ret[0].(*v11.Job)
95 ret1, _ := ret[1].(error)
96 return ret0, ret1
97 }
98
99
100 func (mr *MockClientInterfaceMockRecorder) CreateJob(job, namespace interface{}) *gomock.Call {
101 mr.mock.ctrl.T.Helper()
102 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateJob", reflect.TypeOf((*MockClientInterface)(nil).CreateJob), job, namespace)
103 }
104
105
106 func (m *MockClientInterface) CreateNamespace(name string) (*v12.Namespace, error) {
107 m.ctrl.T.Helper()
108 ret := m.ctrl.Call(m, "CreateNamespace", name)
109 ret0, _ := ret[0].(*v12.Namespace)
110 ret1, _ := ret[1].(error)
111 return ret0, ret1
112 }
113
114
115 func (mr *MockClientInterfaceMockRecorder) CreateNamespace(name interface{}) *gomock.Call {
116 mr.mock.ctrl.T.Helper()
117 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNamespace", reflect.TypeOf((*MockClientInterface)(nil).CreateNamespace), name)
118 }
119
120
121 func (m *MockClientInterface) CreateNewProject(projectName string, wait bool) error {
122 m.ctrl.T.Helper()
123 ret := m.ctrl.Call(m, "CreateNewProject", projectName, wait)
124 ret0, _ := ret[0].(error)
125 return ret0
126 }
127
128
129 func (mr *MockClientInterfaceMockRecorder) CreateNewProject(projectName, wait interface{}) *gomock.Call {
130 mr.mock.ctrl.T.Helper()
131 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNewProject", reflect.TypeOf((*MockClientInterface)(nil).CreateNewProject), projectName, wait)
132 }
133
134
135 func (m *MockClientInterface) CreatePVC(pvc v12.PersistentVolumeClaim) (*v12.PersistentVolumeClaim, error) {
136 m.ctrl.T.Helper()
137 ret := m.ctrl.Call(m, "CreatePVC", pvc)
138 ret0, _ := ret[0].(*v12.PersistentVolumeClaim)
139 ret1, _ := ret[1].(error)
140 return ret0, ret1
141 }
142
143
144 func (mr *MockClientInterfaceMockRecorder) CreatePVC(pvc interface{}) *gomock.Call {
145 mr.mock.ctrl.T.Helper()
146 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePVC", reflect.TypeOf((*MockClientInterface)(nil).CreatePVC), pvc)
147 }
148
149
150 func (m *MockClientInterface) CreateSecret(objectMeta v14.ObjectMeta, data map[string]string, ownerReference v14.OwnerReference) error {
151 m.ctrl.T.Helper()
152 ret := m.ctrl.Call(m, "CreateSecret", objectMeta, data, ownerReference)
153 ret0, _ := ret[0].(error)
154 return ret0
155 }
156
157
158 func (mr *MockClientInterfaceMockRecorder) CreateSecret(objectMeta, data, ownerReference interface{}) *gomock.Call {
159 mr.mock.ctrl.T.Helper()
160 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecret", reflect.TypeOf((*MockClientInterface)(nil).CreateSecret), objectMeta, data, ownerReference)
161 }
162
163
164 func (m *MockClientInterface) CreateSecrets(componentName string, commonObjectMeta v14.ObjectMeta, svc *v12.Service, ownerReference v14.OwnerReference) error {
165 m.ctrl.T.Helper()
166 ret := m.ctrl.Call(m, "CreateSecrets", componentName, commonObjectMeta, svc, ownerReference)
167 ret0, _ := ret[0].(error)
168 return ret0
169 }
170
171
172 func (mr *MockClientInterfaceMockRecorder) CreateSecrets(componentName, commonObjectMeta, svc, ownerReference interface{}) *gomock.Call {
173 mr.mock.ctrl.T.Helper()
174 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSecrets", reflect.TypeOf((*MockClientInterface)(nil).CreateSecrets), componentName, commonObjectMeta, svc, ownerReference)
175 }
176
177
178 func (m *MockClientInterface) CreateService(svc v12.Service) (*v12.Service, error) {
179 m.ctrl.T.Helper()
180 ret := m.ctrl.Call(m, "CreateService", svc)
181 ret0, _ := ret[0].(*v12.Service)
182 ret1, _ := ret[1].(error)
183 return ret0, ret1
184 }
185
186
187 func (mr *MockClientInterfaceMockRecorder) CreateService(svc interface{}) *gomock.Call {
188 mr.mock.ctrl.T.Helper()
189 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateService", reflect.TypeOf((*MockClientInterface)(nil).CreateService), svc)
190 }
191
192
193 func (m *MockClientInterface) CreateTLSSecret(tlsCertificate, tlsPrivKey []byte, objectMeta v14.ObjectMeta) (*v12.Secret, error) {
194 m.ctrl.T.Helper()
195 ret := m.ctrl.Call(m, "CreateTLSSecret", tlsCertificate, tlsPrivKey, objectMeta)
196 ret0, _ := ret[0].(*v12.Secret)
197 ret1, _ := ret[1].(error)
198 return ret0, ret1
199 }
200
201
202 func (mr *MockClientInterfaceMockRecorder) CreateTLSSecret(tlsCertificate, tlsPrivKey, objectMeta interface{}) *gomock.Call {
203 mr.mock.ctrl.T.Helper()
204 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTLSSecret", reflect.TypeOf((*MockClientInterface)(nil).CreateTLSSecret), tlsCertificate, tlsPrivKey, objectMeta)
205 }
206
207
208 func (m *MockClientInterface) DeleteDynamicResource(name string, gvr schema.GroupVersionResource, wait bool) error {
209 m.ctrl.T.Helper()
210 ret := m.ctrl.Call(m, "DeleteDynamicResource", name, gvr, wait)
211 ret0, _ := ret[0].(error)
212 return ret0
213 }
214
215
216 func (mr *MockClientInterfaceMockRecorder) DeleteDynamicResource(name, gvr, wait interface{}) *gomock.Call {
217 mr.mock.ctrl.T.Helper()
218 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDynamicResource", reflect.TypeOf((*MockClientInterface)(nil).DeleteDynamicResource), name, gvr, wait)
219 }
220
221
222 func (m *MockClientInterface) DeleteJob(jobName string) error {
223 m.ctrl.T.Helper()
224 ret := m.ctrl.Call(m, "DeleteJob", jobName)
225 ret0, _ := ret[0].(error)
226 return ret0
227 }
228
229
230 func (mr *MockClientInterfaceMockRecorder) DeleteJob(jobName interface{}) *gomock.Call {
231 mr.mock.ctrl.T.Helper()
232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteJob", reflect.TypeOf((*MockClientInterface)(nil).DeleteJob), jobName)
233 }
234
235
236 func (m *MockClientInterface) DeleteNamespace(name string, wait bool) error {
237 m.ctrl.T.Helper()
238 ret := m.ctrl.Call(m, "DeleteNamespace", name, wait)
239 ret0, _ := ret[0].(error)
240 return ret0
241 }
242
243
244 func (mr *MockClientInterfaceMockRecorder) DeleteNamespace(name, wait interface{}) *gomock.Call {
245 mr.mock.ctrl.T.Helper()
246 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNamespace", reflect.TypeOf((*MockClientInterface)(nil).DeleteNamespace), name, wait)
247 }
248
249
250 func (m *MockClientInterface) DeletePVC(pvcName string) error {
251 m.ctrl.T.Helper()
252 ret := m.ctrl.Call(m, "DeletePVC", pvcName)
253 ret0, _ := ret[0].(error)
254 return ret0
255 }
256
257
258 func (mr *MockClientInterfaceMockRecorder) DeletePVC(pvcName interface{}) *gomock.Call {
259 mr.mock.ctrl.T.Helper()
260 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePVC", reflect.TypeOf((*MockClientInterface)(nil).DeletePVC), pvcName)
261 }
262
263
264 func (m *MockClientInterface) DeleteProject(name string, wait bool) error {
265 m.ctrl.T.Helper()
266 ret := m.ctrl.Call(m, "DeleteProject", name, wait)
267 ret0, _ := ret[0].(error)
268 return ret0
269 }
270
271
272 func (mr *MockClientInterfaceMockRecorder) DeleteProject(name, wait interface{}) *gomock.Call {
273 mr.mock.ctrl.T.Helper()
274 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteProject", reflect.TypeOf((*MockClientInterface)(nil).DeleteProject), name, wait)
275 }
276
277
278 func (m *MockClientInterface) DeleteSecret(secretName, namespace string) error {
279 m.ctrl.T.Helper()
280 ret := m.ctrl.Call(m, "DeleteSecret", secretName, namespace)
281 ret0, _ := ret[0].(error)
282 return ret0
283 }
284
285
286 func (mr *MockClientInterfaceMockRecorder) DeleteSecret(secretName, namespace interface{}) *gomock.Call {
287 mr.mock.ctrl.T.Helper()
288 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecret", reflect.TypeOf((*MockClientInterface)(nil).DeleteSecret), secretName, namespace)
289 }
290
291
292 func (m *MockClientInterface) DeleteService(serviceName string) error {
293 m.ctrl.T.Helper()
294 ret := m.ctrl.Call(m, "DeleteService", serviceName)
295 ret0, _ := ret[0].(error)
296 return ret0
297 }
298
299
300 func (mr *MockClientInterfaceMockRecorder) DeleteService(serviceName interface{}) *gomock.Call {
301 mr.mock.ctrl.T.Helper()
302 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteService", reflect.TypeOf((*MockClientInterface)(nil).DeleteService), serviceName)
303 }
304
305
306 func (m *MockClientInterface) DeploymentWatcher(ctx context.Context, selector string) (watch.Interface, error) {
307 m.ctrl.T.Helper()
308 ret := m.ctrl.Call(m, "DeploymentWatcher", ctx, selector)
309 ret0, _ := ret[0].(watch.Interface)
310 ret1, _ := ret[1].(error)
311 return ret0, ret1
312 }
313
314
315 func (mr *MockClientInterfaceMockRecorder) DeploymentWatcher(ctx, selector interface{}) *gomock.Call {
316 mr.mock.ctrl.T.Helper()
317 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeploymentWatcher", reflect.TypeOf((*MockClientInterface)(nil).DeploymentWatcher), ctx, selector)
318 }
319
320
321 func (m *MockClientInterface) ExecCMDInContainer(ctx context.Context, containerName, podName string, cmd []string, stdout, stderr io.Writer, stdin io.Reader, tty bool) error {
322 m.ctrl.T.Helper()
323 ret := m.ctrl.Call(m, "ExecCMDInContainer", ctx, containerName, podName, cmd, stdout, stderr, stdin, tty)
324 ret0, _ := ret[0].(error)
325 return ret0
326 }
327
328
329 func (mr *MockClientInterfaceMockRecorder) ExecCMDInContainer(ctx, containerName, podName, cmd, stdout, stderr, stdin, tty interface{}) *gomock.Call {
330 mr.mock.ctrl.T.Helper()
331 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecCMDInContainer", reflect.TypeOf((*MockClientInterface)(nil).ExecCMDInContainer), ctx, containerName, podName, cmd, stdout, stderr, stdin, tty)
332 }
333
334
335 func (m *MockClientInterface) GeneratePortForwardReq(podName string) *rest.Request {
336 m.ctrl.T.Helper()
337 ret := m.ctrl.Call(m, "GeneratePortForwardReq", podName)
338 ret0, _ := ret[0].(*rest.Request)
339 return ret0
340 }
341
342
343 func (mr *MockClientInterfaceMockRecorder) GeneratePortForwardReq(podName interface{}) *gomock.Call {
344 mr.mock.ctrl.T.Helper()
345 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GeneratePortForwardReq", reflect.TypeOf((*MockClientInterface)(nil).GeneratePortForwardReq), podName)
346 }
347
348
349 func (m *MockClientInterface) GetAllPodsInNamespaceMatchingSelector(selector, ns string) (*v12.PodList, error) {
350 m.ctrl.T.Helper()
351 ret := m.ctrl.Call(m, "GetAllPodsInNamespaceMatchingSelector", selector, ns)
352 ret0, _ := ret[0].(*v12.PodList)
353 ret1, _ := ret[1].(error)
354 return ret0, ret1
355 }
356
357
358 func (mr *MockClientInterfaceMockRecorder) GetAllPodsInNamespaceMatchingSelector(selector, ns interface{}) *gomock.Call {
359 mr.mock.ctrl.T.Helper()
360 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllPodsInNamespaceMatchingSelector", reflect.TypeOf((*MockClientInterface)(nil).GetAllPodsInNamespaceMatchingSelector), selector, ns)
361 }
362
363
364 func (m *MockClientInterface) GetAllResourcesFromSelector(selector, ns string) ([]unstructured.Unstructured, error) {
365 m.ctrl.T.Helper()
366 ret := m.ctrl.Call(m, "GetAllResourcesFromSelector", selector, ns)
367 ret0, _ := ret[0].([]unstructured.Unstructured)
368 ret1, _ := ret[1].(error)
369 return ret0, ret1
370 }
371
372
373 func (mr *MockClientInterfaceMockRecorder) GetAllResourcesFromSelector(selector, ns interface{}) *gomock.Call {
374 mr.mock.ctrl.T.Helper()
375 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllResourcesFromSelector", reflect.TypeOf((*MockClientInterface)(nil).GetAllResourcesFromSelector), selector, ns)
376 }
377
378
379 func (m *MockClientInterface) GetBindableKindStatusRestMapping(bindableKindStatuses []v1alpha10.BindableKindsStatus) ([]*meta.RESTMapping, error) {
380 m.ctrl.T.Helper()
381 ret := m.ctrl.Call(m, "GetBindableKindStatusRestMapping", bindableKindStatuses)
382 ret0, _ := ret[0].([]*meta.RESTMapping)
383 ret1, _ := ret[1].(error)
384 return ret0, ret1
385 }
386
387
388 func (mr *MockClientInterfaceMockRecorder) GetBindableKindStatusRestMapping(bindableKindStatuses interface{}) *gomock.Call {
389 mr.mock.ctrl.T.Helper()
390 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBindableKindStatusRestMapping", reflect.TypeOf((*MockClientInterface)(nil).GetBindableKindStatusRestMapping), bindableKindStatuses)
391 }
392
393
394 func (m *MockClientInterface) GetBindableKinds() (v1alpha10.BindableKinds, error) {
395 m.ctrl.T.Helper()
396 ret := m.ctrl.Call(m, "GetBindableKinds")
397 ret0, _ := ret[0].(v1alpha10.BindableKinds)
398 ret1, _ := ret[1].(error)
399 return ret0, ret1
400 }
401
402
403 func (mr *MockClientInterfaceMockRecorder) GetBindableKinds() *gomock.Call {
404 mr.mock.ctrl.T.Helper()
405 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBindableKinds", reflect.TypeOf((*MockClientInterface)(nil).GetBindableKinds))
406 }
407
408
409 func (m *MockClientInterface) GetBindingServiceBinding(name string) (v1alpha10.ServiceBinding, error) {
410 m.ctrl.T.Helper()
411 ret := m.ctrl.Call(m, "GetBindingServiceBinding", name)
412 ret0, _ := ret[0].(v1alpha10.ServiceBinding)
413 ret1, _ := ret[1].(error)
414 return ret0, ret1
415 }
416
417
418 func (mr *MockClientInterfaceMockRecorder) GetBindingServiceBinding(name interface{}) *gomock.Call {
419 mr.mock.ctrl.T.Helper()
420 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBindingServiceBinding", reflect.TypeOf((*MockClientInterface)(nil).GetBindingServiceBinding), name)
421 }
422
423
424 func (m *MockClientInterface) GetCSVWithCR(name string) (*v1alpha1.ClusterServiceVersion, error) {
425 m.ctrl.T.Helper()
426 ret := m.ctrl.Call(m, "GetCSVWithCR", name)
427 ret0, _ := ret[0].(*v1alpha1.ClusterServiceVersion)
428 ret1, _ := ret[1].(error)
429 return ret0, ret1
430 }
431
432
433 func (mr *MockClientInterfaceMockRecorder) GetCSVWithCR(name interface{}) *gomock.Call {
434 mr.mock.ctrl.T.Helper()
435 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCSVWithCR", reflect.TypeOf((*MockClientInterface)(nil).GetCSVWithCR), name)
436 }
437
438
439 func (m *MockClientInterface) GetClient() kubernetes.Interface {
440 m.ctrl.T.Helper()
441 ret := m.ctrl.Call(m, "GetClient")
442 ret0, _ := ret[0].(kubernetes.Interface)
443 return ret0
444 }
445
446
447 func (mr *MockClientInterfaceMockRecorder) GetClient() *gomock.Call {
448 mr.mock.ctrl.T.Helper()
449 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClient", reflect.TypeOf((*MockClientInterface)(nil).GetClient))
450 }
451
452
453 func (m *MockClientInterface) GetClientConfig() *rest.Config {
454 m.ctrl.T.Helper()
455 ret := m.ctrl.Call(m, "GetClientConfig")
456 ret0, _ := ret[0].(*rest.Config)
457 return ret0
458 }
459
460
461 func (mr *MockClientInterfaceMockRecorder) GetClientConfig() *gomock.Call {
462 mr.mock.ctrl.T.Helper()
463 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetClientConfig", reflect.TypeOf((*MockClientInterface)(nil).GetClientConfig))
464 }
465
466
467 func (m *MockClientInterface) GetConfig() clientcmd.ClientConfig {
468 m.ctrl.T.Helper()
469 ret := m.ctrl.Call(m, "GetConfig")
470 ret0, _ := ret[0].(clientcmd.ClientConfig)
471 return ret0
472 }
473
474
475 func (mr *MockClientInterfaceMockRecorder) GetConfig() *gomock.Call {
476 mr.mock.ctrl.T.Helper()
477 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfig", reflect.TypeOf((*MockClientInterface)(nil).GetConfig))
478 }
479
480
481 func (m *MockClientInterface) GetCurrentNamespace() string {
482 m.ctrl.T.Helper()
483 ret := m.ctrl.Call(m, "GetCurrentNamespace")
484 ret0, _ := ret[0].(string)
485 return ret0
486 }
487
488
489 func (mr *MockClientInterfaceMockRecorder) GetCurrentNamespace() *gomock.Call {
490 mr.mock.ctrl.T.Helper()
491 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentNamespace", reflect.TypeOf((*MockClientInterface)(nil).GetCurrentNamespace))
492 }
493
494
495 func (m *MockClientInterface) GetCurrentNamespacePolicy() (api0.Policy, error) {
496 m.ctrl.T.Helper()
497 ret := m.ctrl.Call(m, "GetCurrentNamespacePolicy")
498 ret0, _ := ret[0].(api0.Policy)
499 ret1, _ := ret[1].(error)
500 return ret0, ret1
501 }
502
503
504 func (mr *MockClientInterfaceMockRecorder) GetCurrentNamespacePolicy() *gomock.Call {
505 mr.mock.ctrl.T.Helper()
506 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentNamespacePolicy", reflect.TypeOf((*MockClientInterface)(nil).GetCurrentNamespacePolicy))
507 }
508
509
510 func (m *MockClientInterface) GetCurrentProjectName() string {
511 m.ctrl.T.Helper()
512 ret := m.ctrl.Call(m, "GetCurrentProjectName")
513 ret0, _ := ret[0].(string)
514 return ret0
515 }
516
517
518 func (mr *MockClientInterfaceMockRecorder) GetCurrentProjectName() *gomock.Call {
519 mr.mock.ctrl.T.Helper()
520 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentProjectName", reflect.TypeOf((*MockClientInterface)(nil).GetCurrentProjectName))
521 }
522
523
524 func (m *MockClientInterface) GetCustomResourcesFromCSV(csv *v1alpha1.ClusterServiceVersion) *[]v1alpha1.CRDDescription {
525 m.ctrl.T.Helper()
526 ret := m.ctrl.Call(m, "GetCustomResourcesFromCSV", csv)
527 ret0, _ := ret[0].(*[]v1alpha1.CRDDescription)
528 return ret0
529 }
530
531
532 func (mr *MockClientInterfaceMockRecorder) GetCustomResourcesFromCSV(csv interface{}) *gomock.Call {
533 mr.mock.ctrl.T.Helper()
534 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomResourcesFromCSV", reflect.TypeOf((*MockClientInterface)(nil).GetCustomResourcesFromCSV), csv)
535 }
536
537
538 func (m *MockClientInterface) GetDeploymentAPIVersion() (schema.GroupVersionKind, error) {
539 m.ctrl.T.Helper()
540 ret := m.ctrl.Call(m, "GetDeploymentAPIVersion")
541 ret0, _ := ret[0].(schema.GroupVersionKind)
542 ret1, _ := ret[1].(error)
543 return ret0, ret1
544 }
545
546
547 func (mr *MockClientInterfaceMockRecorder) GetDeploymentAPIVersion() *gomock.Call {
548 mr.mock.ctrl.T.Helper()
549 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentAPIVersion", reflect.TypeOf((*MockClientInterface)(nil).GetDeploymentAPIVersion))
550 }
551
552
553 func (m *MockClientInterface) GetDeploymentByName(name string) (*v10.Deployment, error) {
554 m.ctrl.T.Helper()
555 ret := m.ctrl.Call(m, "GetDeploymentByName", name)
556 ret0, _ := ret[0].(*v10.Deployment)
557 ret1, _ := ret[1].(error)
558 return ret0, ret1
559 }
560
561
562 func (mr *MockClientInterfaceMockRecorder) GetDeploymentByName(name interface{}) *gomock.Call {
563 mr.mock.ctrl.T.Helper()
564 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentByName", reflect.TypeOf((*MockClientInterface)(nil).GetDeploymentByName), name)
565 }
566
567
568 func (m *MockClientInterface) GetDeploymentFromSelector(selector string) ([]v10.Deployment, error) {
569 m.ctrl.T.Helper()
570 ret := m.ctrl.Call(m, "GetDeploymentFromSelector", selector)
571 ret0, _ := ret[0].([]v10.Deployment)
572 ret1, _ := ret[1].(error)
573 return ret0, ret1
574 }
575
576
577 func (mr *MockClientInterfaceMockRecorder) GetDeploymentFromSelector(selector interface{}) *gomock.Call {
578 mr.mock.ctrl.T.Helper()
579 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeploymentFromSelector", reflect.TypeOf((*MockClientInterface)(nil).GetDeploymentFromSelector), selector)
580 }
581
582
583 func (m *MockClientInterface) GetDynamicClient() dynamic.Interface {
584 m.ctrl.T.Helper()
585 ret := m.ctrl.Call(m, "GetDynamicClient")
586 ret0, _ := ret[0].(dynamic.Interface)
587 return ret0
588 }
589
590
591 func (mr *MockClientInterfaceMockRecorder) GetDynamicClient() *gomock.Call {
592 mr.mock.ctrl.T.Helper()
593 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDynamicClient", reflect.TypeOf((*MockClientInterface)(nil).GetDynamicClient))
594 }
595
596
597 func (m *MockClientInterface) GetDynamicResource(gvr schema.GroupVersionResource, name string) (*unstructured.Unstructured, error) {
598 m.ctrl.T.Helper()
599 ret := m.ctrl.Call(m, "GetDynamicResource", gvr, name)
600 ret0, _ := ret[0].(*unstructured.Unstructured)
601 ret1, _ := ret[1].(error)
602 return ret0, ret1
603 }
604
605
606 func (mr *MockClientInterfaceMockRecorder) GetDynamicResource(gvr, name interface{}) *gomock.Call {
607 mr.mock.ctrl.T.Helper()
608 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDynamicResource", reflect.TypeOf((*MockClientInterface)(nil).GetDynamicResource), gvr, name)
609 }
610
611
612 func (m *MockClientInterface) GetGVKFromGVR(gvr schema.GroupVersionResource) (schema.GroupVersionKind, error) {
613 m.ctrl.T.Helper()
614 ret := m.ctrl.Call(m, "GetGVKFromGVR", gvr)
615 ret0, _ := ret[0].(schema.GroupVersionKind)
616 ret1, _ := ret[1].(error)
617 return ret0, ret1
618 }
619
620
621 func (mr *MockClientInterfaceMockRecorder) GetGVKFromGVR(gvr interface{}) *gomock.Call {
622 mr.mock.ctrl.T.Helper()
623 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGVKFromGVR", reflect.TypeOf((*MockClientInterface)(nil).GetGVKFromGVR), gvr)
624 }
625
626
627 func (m *MockClientInterface) GetGVRFromGVK(gvk schema.GroupVersionKind) (schema.GroupVersionResource, error) {
628 m.ctrl.T.Helper()
629 ret := m.ctrl.Call(m, "GetGVRFromGVK", gvk)
630 ret0, _ := ret[0].(schema.GroupVersionResource)
631 ret1, _ := ret[1].(error)
632 return ret0, ret1
633 }
634
635
636 func (mr *MockClientInterfaceMockRecorder) GetGVRFromGVK(gvk interface{}) *gomock.Call {
637 mr.mock.ctrl.T.Helper()
638 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGVRFromGVK", reflect.TypeOf((*MockClientInterface)(nil).GetGVRFromGVK), gvk)
639 }
640
641
642 func (m *MockClientInterface) GetJobLogs(job *v11.Job, containerName string) (io.ReadCloser, error) {
643 m.ctrl.T.Helper()
644 ret := m.ctrl.Call(m, "GetJobLogs", job, containerName)
645 ret0, _ := ret[0].(io.ReadCloser)
646 ret1, _ := ret[1].(error)
647 return ret0, ret1
648 }
649
650
651 func (mr *MockClientInterfaceMockRecorder) GetJobLogs(job, containerName interface{}) *gomock.Call {
652 mr.mock.ctrl.T.Helper()
653 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetJobLogs", reflect.TypeOf((*MockClientInterface)(nil).GetJobLogs), job, containerName)
654 }
655
656
657 func (m *MockClientInterface) GetNamespace(name string) (*v12.Namespace, error) {
658 m.ctrl.T.Helper()
659 ret := m.ctrl.Call(m, "GetNamespace", name)
660 ret0, _ := ret[0].(*v12.Namespace)
661 ret1, _ := ret[1].(error)
662 return ret0, ret1
663 }
664
665
666 func (mr *MockClientInterfaceMockRecorder) GetNamespace(name interface{}) *gomock.Call {
667 mr.mock.ctrl.T.Helper()
668 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockClientInterface)(nil).GetNamespace), name)
669 }
670
671
672 func (m *MockClientInterface) GetNamespaceNormal(name string) (*v12.Namespace, error) {
673 m.ctrl.T.Helper()
674 ret := m.ctrl.Call(m, "GetNamespaceNormal", name)
675 ret0, _ := ret[0].(*v12.Namespace)
676 ret1, _ := ret[1].(error)
677 return ret0, ret1
678 }
679
680
681 func (mr *MockClientInterfaceMockRecorder) GetNamespaceNormal(name interface{}) *gomock.Call {
682 mr.mock.ctrl.T.Helper()
683 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaceNormal", reflect.TypeOf((*MockClientInterface)(nil).GetNamespaceNormal), name)
684 }
685
686
687 func (m *MockClientInterface) GetNamespaces() ([]string, error) {
688 m.ctrl.T.Helper()
689 ret := m.ctrl.Call(m, "GetNamespaces")
690 ret0, _ := ret[0].([]string)
691 ret1, _ := ret[1].(error)
692 return ret0, ret1
693 }
694
695
696 func (mr *MockClientInterfaceMockRecorder) GetNamespaces() *gomock.Call {
697 mr.mock.ctrl.T.Helper()
698 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaces", reflect.TypeOf((*MockClientInterface)(nil).GetNamespaces))
699 }
700
701
702 func (m *MockClientInterface) GetOCVersion() (string, error) {
703 m.ctrl.T.Helper()
704 ret := m.ctrl.Call(m, "GetOCVersion")
705 ret0, _ := ret[0].(string)
706 ret1, _ := ret[1].(error)
707 return ret0, ret1
708 }
709
710
711 func (mr *MockClientInterfaceMockRecorder) GetOCVersion() *gomock.Call {
712 mr.mock.ctrl.T.Helper()
713 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOCVersion", reflect.TypeOf((*MockClientInterface)(nil).GetOCVersion))
714 }
715
716
717 func (m *MockClientInterface) GetOneDeployment(componentName, appName string, isPartOfComponent bool) (*v10.Deployment, error) {
718 m.ctrl.T.Helper()
719 ret := m.ctrl.Call(m, "GetOneDeployment", componentName, appName, isPartOfComponent)
720 ret0, _ := ret[0].(*v10.Deployment)
721 ret1, _ := ret[1].(error)
722 return ret0, ret1
723 }
724
725
726 func (mr *MockClientInterfaceMockRecorder) GetOneDeployment(componentName, appName, isPartOfComponent interface{}) *gomock.Call {
727 mr.mock.ctrl.T.Helper()
728 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOneDeployment", reflect.TypeOf((*MockClientInterface)(nil).GetOneDeployment), componentName, appName, isPartOfComponent)
729 }
730
731
732 func (m *MockClientInterface) GetOneDeploymentFromSelector(selector string) (*v10.Deployment, error) {
733 m.ctrl.T.Helper()
734 ret := m.ctrl.Call(m, "GetOneDeploymentFromSelector", selector)
735 ret0, _ := ret[0].(*v10.Deployment)
736 ret1, _ := ret[1].(error)
737 return ret0, ret1
738 }
739
740
741 func (mr *MockClientInterfaceMockRecorder) GetOneDeploymentFromSelector(selector interface{}) *gomock.Call {
742 mr.mock.ctrl.T.Helper()
743 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOneDeploymentFromSelector", reflect.TypeOf((*MockClientInterface)(nil).GetOneDeploymentFromSelector), selector)
744 }
745
746
747 func (m *MockClientInterface) GetOneService(componentName, appName string, isPartOfComponent bool) (*v12.Service, error) {
748 m.ctrl.T.Helper()
749 ret := m.ctrl.Call(m, "GetOneService", componentName, appName, isPartOfComponent)
750 ret0, _ := ret[0].(*v12.Service)
751 ret1, _ := ret[1].(error)
752 return ret0, ret1
753 }
754
755
756 func (mr *MockClientInterfaceMockRecorder) GetOneService(componentName, appName, isPartOfComponent interface{}) *gomock.Call {
757 mr.mock.ctrl.T.Helper()
758 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOneService", reflect.TypeOf((*MockClientInterface)(nil).GetOneService), componentName, appName, isPartOfComponent)
759 }
760
761
762 func (m *MockClientInterface) GetOneServiceFromSelector(selector string) (*v12.Service, error) {
763 m.ctrl.T.Helper()
764 ret := m.ctrl.Call(m, "GetOneServiceFromSelector", selector)
765 ret0, _ := ret[0].(*v12.Service)
766 ret1, _ := ret[1].(error)
767 return ret0, ret1
768 }
769
770
771 func (mr *MockClientInterfaceMockRecorder) GetOneServiceFromSelector(selector interface{}) *gomock.Call {
772 mr.mock.ctrl.T.Helper()
773 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOneServiceFromSelector", reflect.TypeOf((*MockClientInterface)(nil).GetOneServiceFromSelector), selector)
774 }
775
776
777 func (m *MockClientInterface) GetOperatorGVRList() ([]meta.RESTMapping, error) {
778 m.ctrl.T.Helper()
779 ret := m.ctrl.Call(m, "GetOperatorGVRList")
780 ret0, _ := ret[0].([]meta.RESTMapping)
781 ret1, _ := ret[1].(error)
782 return ret0, ret1
783 }
784
785
786 func (mr *MockClientInterfaceMockRecorder) GetOperatorGVRList() *gomock.Call {
787 mr.mock.ctrl.T.Helper()
788 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOperatorGVRList", reflect.TypeOf((*MockClientInterface)(nil).GetOperatorGVRList))
789 }
790
791
792 func (m *MockClientInterface) GetPVCFromName(pvcName string) (*v12.PersistentVolumeClaim, error) {
793 m.ctrl.T.Helper()
794 ret := m.ctrl.Call(m, "GetPVCFromName", pvcName)
795 ret0, _ := ret[0].(*v12.PersistentVolumeClaim)
796 ret1, _ := ret[1].(error)
797 return ret0, ret1
798 }
799
800
801 func (mr *MockClientInterfaceMockRecorder) GetPVCFromName(pvcName interface{}) *gomock.Call {
802 mr.mock.ctrl.T.Helper()
803 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPVCFromName", reflect.TypeOf((*MockClientInterface)(nil).GetPVCFromName), pvcName)
804 }
805
806
807 func (m *MockClientInterface) GetPodLogs(podName, containerName string, followLog bool) (io.ReadCloser, error) {
808 m.ctrl.T.Helper()
809 ret := m.ctrl.Call(m, "GetPodLogs", podName, containerName, followLog)
810 ret0, _ := ret[0].(io.ReadCloser)
811 ret1, _ := ret[1].(error)
812 return ret0, ret1
813 }
814
815
816 func (mr *MockClientInterfaceMockRecorder) GetPodLogs(podName, containerName, followLog interface{}) *gomock.Call {
817 mr.mock.ctrl.T.Helper()
818 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodLogs", reflect.TypeOf((*MockClientInterface)(nil).GetPodLogs), podName, containerName, followLog)
819 }
820
821
822 func (m *MockClientInterface) GetPodUsingComponentName(componentName string) (*v12.Pod, error) {
823 m.ctrl.T.Helper()
824 ret := m.ctrl.Call(m, "GetPodUsingComponentName", componentName)
825 ret0, _ := ret[0].(*v12.Pod)
826 ret1, _ := ret[1].(error)
827 return ret0, ret1
828 }
829
830
831 func (mr *MockClientInterfaceMockRecorder) GetPodUsingComponentName(componentName interface{}) *gomock.Call {
832 mr.mock.ctrl.T.Helper()
833 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodUsingComponentName", reflect.TypeOf((*MockClientInterface)(nil).GetPodUsingComponentName), componentName)
834 }
835
836
837 func (m *MockClientInterface) GetPodsMatchingSelector(selector string) (*v12.PodList, error) {
838 m.ctrl.T.Helper()
839 ret := m.ctrl.Call(m, "GetPodsMatchingSelector", selector)
840 ret0, _ := ret[0].(*v12.PodList)
841 ret1, _ := ret[1].(error)
842 return ret0, ret1
843 }
844
845
846 func (mr *MockClientInterfaceMockRecorder) GetPodsMatchingSelector(selector interface{}) *gomock.Call {
847 mr.mock.ctrl.T.Helper()
848 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPodsMatchingSelector", reflect.TypeOf((*MockClientInterface)(nil).GetPodsMatchingSelector), selector)
849 }
850
851
852 func (m *MockClientInterface) GetProject(projectName string) (*v1.Project, error) {
853 m.ctrl.T.Helper()
854 ret := m.ctrl.Call(m, "GetProject", projectName)
855 ret0, _ := ret[0].(*v1.Project)
856 ret1, _ := ret[1].(error)
857 return ret0, ret1
858 }
859
860
861 func (mr *MockClientInterfaceMockRecorder) GetProject(projectName interface{}) *gomock.Call {
862 mr.mock.ctrl.T.Helper()
863 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProject", reflect.TypeOf((*MockClientInterface)(nil).GetProject), projectName)
864 }
865
866
867 func (m *MockClientInterface) GetRegistryList() ([]api.Registry, error) {
868 m.ctrl.T.Helper()
869 ret := m.ctrl.Call(m, "GetRegistryList")
870 ret0, _ := ret[0].([]api.Registry)
871 ret1, _ := ret[1].(error)
872 return ret0, ret1
873 }
874
875
876 func (mr *MockClientInterfaceMockRecorder) GetRegistryList() *gomock.Call {
877 mr.mock.ctrl.T.Helper()
878 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRegistryList", reflect.TypeOf((*MockClientInterface)(nil).GetRegistryList))
879 }
880
881
882 func (m *MockClientInterface) GetResourceSpecDefinition(group, version, kind string) (*spec.Schema, error) {
883 m.ctrl.T.Helper()
884 ret := m.ctrl.Call(m, "GetResourceSpecDefinition", group, version, kind)
885 ret0, _ := ret[0].(*spec.Schema)
886 ret1, _ := ret[1].(error)
887 return ret0, ret1
888 }
889
890
891 func (mr *MockClientInterfaceMockRecorder) GetResourceSpecDefinition(group, version, kind interface{}) *gomock.Call {
892 mr.mock.ctrl.T.Helper()
893 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourceSpecDefinition", reflect.TypeOf((*MockClientInterface)(nil).GetResourceSpecDefinition), group, version, kind)
894 }
895
896
897 func (m *MockClientInterface) GetRestMappingFromGVK(gvk schema.GroupVersionKind) (*meta.RESTMapping, error) {
898 m.ctrl.T.Helper()
899 ret := m.ctrl.Call(m, "GetRestMappingFromGVK", gvk)
900 ret0, _ := ret[0].(*meta.RESTMapping)
901 ret1, _ := ret[1].(error)
902 return ret0, ret1
903 }
904
905
906 func (mr *MockClientInterfaceMockRecorder) GetRestMappingFromGVK(gvk interface{}) *gomock.Call {
907 mr.mock.ctrl.T.Helper()
908 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRestMappingFromGVK", reflect.TypeOf((*MockClientInterface)(nil).GetRestMappingFromGVK), gvk)
909 }
910
911
912 func (m *MockClientInterface) GetRestMappingFromUnstructured(arg0 unstructured.Unstructured) (*meta.RESTMapping, error) {
913 m.ctrl.T.Helper()
914 ret := m.ctrl.Call(m, "GetRestMappingFromUnstructured", arg0)
915 ret0, _ := ret[0].(*meta.RESTMapping)
916 ret1, _ := ret[1].(error)
917 return ret0, ret1
918 }
919
920
921 func (mr *MockClientInterfaceMockRecorder) GetRestMappingFromUnstructured(arg0 interface{}) *gomock.Call {
922 mr.mock.ctrl.T.Helper()
923 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRestMappingFromUnstructured", reflect.TypeOf((*MockClientInterface)(nil).GetRestMappingFromUnstructured), arg0)
924 }
925
926
927 func (m *MockClientInterface) GetRunningPodFromSelector(selector string) (*v12.Pod, error) {
928 m.ctrl.T.Helper()
929 ret := m.ctrl.Call(m, "GetRunningPodFromSelector", selector)
930 ret0, _ := ret[0].(*v12.Pod)
931 ret1, _ := ret[1].(error)
932 return ret0, ret1
933 }
934
935
936 func (mr *MockClientInterfaceMockRecorder) GetRunningPodFromSelector(selector interface{}) *gomock.Call {
937 mr.mock.ctrl.T.Helper()
938 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRunningPodFromSelector", reflect.TypeOf((*MockClientInterface)(nil).GetRunningPodFromSelector), selector)
939 }
940
941
942 func (m *MockClientInterface) GetSecret(name, namespace string) (*v12.Secret, error) {
943 m.ctrl.T.Helper()
944 ret := m.ctrl.Call(m, "GetSecret", name, namespace)
945 ret0, _ := ret[0].(*v12.Secret)
946 ret1, _ := ret[1].(error)
947 return ret0, ret1
948 }
949
950
951 func (mr *MockClientInterfaceMockRecorder) GetSecret(name, namespace interface{}) *gomock.Call {
952 mr.mock.ctrl.T.Helper()
953 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSecret", reflect.TypeOf((*MockClientInterface)(nil).GetSecret), name, namespace)
954 }
955
956
957 func (m *MockClientInterface) GetServerVersion(timeout time.Duration) (*ServerInfo, error) {
958 m.ctrl.T.Helper()
959 ret := m.ctrl.Call(m, "GetServerVersion", timeout)
960 ret0, _ := ret[0].(*ServerInfo)
961 ret1, _ := ret[1].(error)
962 return ret0, ret1
963 }
964
965
966 func (mr *MockClientInterfaceMockRecorder) GetServerVersion(timeout interface{}) *gomock.Call {
967 mr.mock.ctrl.T.Helper()
968 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServerVersion", reflect.TypeOf((*MockClientInterface)(nil).GetServerVersion), timeout)
969 }
970
971
972 func (m *MockClientInterface) GetSpecServiceBinding(name string) (v1alpha3.ServiceBinding, error) {
973 m.ctrl.T.Helper()
974 ret := m.ctrl.Call(m, "GetSpecServiceBinding", name)
975 ret0, _ := ret[0].(v1alpha3.ServiceBinding)
976 ret1, _ := ret[1].(error)
977 return ret0, ret1
978 }
979
980
981 func (mr *MockClientInterfaceMockRecorder) GetSpecServiceBinding(name interface{}) *gomock.Call {
982 mr.mock.ctrl.T.Helper()
983 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSpecServiceBinding", reflect.TypeOf((*MockClientInterface)(nil).GetSpecServiceBinding), name)
984 }
985
986
987 func (m *MockClientInterface) GetWorkloadKinds() ([]string, []schema.GroupVersionKind, error) {
988 m.ctrl.T.Helper()
989 ret := m.ctrl.Call(m, "GetWorkloadKinds")
990 ret0, _ := ret[0].([]string)
991 ret1, _ := ret[1].([]schema.GroupVersionKind)
992 ret2, _ := ret[2].(error)
993 return ret0, ret1, ret2
994 }
995
996
997 func (mr *MockClientInterfaceMockRecorder) GetWorkloadKinds() *gomock.Call {
998 mr.mock.ctrl.T.Helper()
999 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetWorkloadKinds", reflect.TypeOf((*MockClientInterface)(nil).GetWorkloadKinds))
1000 }
1001
1002
1003 func (m *MockClientInterface) IsCSVSupported() (bool, error) {
1004 m.ctrl.T.Helper()
1005 ret := m.ctrl.Call(m, "IsCSVSupported")
1006 ret0, _ := ret[0].(bool)
1007 ret1, _ := ret[1].(error)
1008 return ret0, ret1
1009 }
1010
1011
1012 func (mr *MockClientInterfaceMockRecorder) IsCSVSupported() *gomock.Call {
1013 mr.mock.ctrl.T.Helper()
1014 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsCSVSupported", reflect.TypeOf((*MockClientInterface)(nil).IsCSVSupported))
1015 }
1016
1017
1018 func (m *MockClientInterface) IsDeploymentExtensionsV1Beta1() (bool, error) {
1019 m.ctrl.T.Helper()
1020 ret := m.ctrl.Call(m, "IsDeploymentExtensionsV1Beta1")
1021 ret0, _ := ret[0].(bool)
1022 ret1, _ := ret[1].(error)
1023 return ret0, ret1
1024 }
1025
1026
1027 func (mr *MockClientInterfaceMockRecorder) IsDeploymentExtensionsV1Beta1() *gomock.Call {
1028 mr.mock.ctrl.T.Helper()
1029 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDeploymentExtensionsV1Beta1", reflect.TypeOf((*MockClientInterface)(nil).IsDeploymentExtensionsV1Beta1))
1030 }
1031
1032
1033 func (m *MockClientInterface) IsPodNameMatchingSelector(ctx context.Context, podname, selector string) (bool, error) {
1034 m.ctrl.T.Helper()
1035 ret := m.ctrl.Call(m, "IsPodNameMatchingSelector", ctx, podname, selector)
1036 ret0, _ := ret[0].(bool)
1037 ret1, _ := ret[1].(error)
1038 return ret0, ret1
1039 }
1040
1041
1042 func (mr *MockClientInterfaceMockRecorder) IsPodNameMatchingSelector(ctx, podname, selector interface{}) *gomock.Call {
1043 mr.mock.ctrl.T.Helper()
1044 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsPodNameMatchingSelector", reflect.TypeOf((*MockClientInterface)(nil).IsPodNameMatchingSelector), ctx, podname, selector)
1045 }
1046
1047
1048 func (m *MockClientInterface) IsProjectSupported() (bool, error) {
1049 m.ctrl.T.Helper()
1050 ret := m.ctrl.Call(m, "IsProjectSupported")
1051 ret0, _ := ret[0].(bool)
1052 ret1, _ := ret[1].(error)
1053 return ret0, ret1
1054 }
1055
1056
1057 func (mr *MockClientInterfaceMockRecorder) IsProjectSupported() *gomock.Call {
1058 mr.mock.ctrl.T.Helper()
1059 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsProjectSupported", reflect.TypeOf((*MockClientInterface)(nil).IsProjectSupported))
1060 }
1061
1062
1063 func (m *MockClientInterface) IsResourceSupported(apiGroup, apiVersion, resourceName string) (bool, error) {
1064 m.ctrl.T.Helper()
1065 ret := m.ctrl.Call(m, "IsResourceSupported", apiGroup, apiVersion, resourceName)
1066 ret0, _ := ret[0].(bool)
1067 ret1, _ := ret[1].(error)
1068 return ret0, ret1
1069 }
1070
1071
1072 func (mr *MockClientInterfaceMockRecorder) IsResourceSupported(apiGroup, apiVersion, resourceName interface{}) *gomock.Call {
1073 mr.mock.ctrl.T.Helper()
1074 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsResourceSupported", reflect.TypeOf((*MockClientInterface)(nil).IsResourceSupported), apiGroup, apiVersion, resourceName)
1075 }
1076
1077
1078 func (m *MockClientInterface) IsSSASupported() bool {
1079 m.ctrl.T.Helper()
1080 ret := m.ctrl.Call(m, "IsSSASupported")
1081 ret0, _ := ret[0].(bool)
1082 return ret0
1083 }
1084
1085
1086 func (mr *MockClientInterfaceMockRecorder) IsSSASupported() *gomock.Call {
1087 mr.mock.ctrl.T.Helper()
1088 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSSASupported", reflect.TypeOf((*MockClientInterface)(nil).IsSSASupported))
1089 }
1090
1091
1092 func (m *MockClientInterface) IsServiceBindingSupported() (bool, error) {
1093 m.ctrl.T.Helper()
1094 ret := m.ctrl.Call(m, "IsServiceBindingSupported")
1095 ret0, _ := ret[0].(bool)
1096 ret1, _ := ret[1].(error)
1097 return ret0, ret1
1098 }
1099
1100
1101 func (mr *MockClientInterfaceMockRecorder) IsServiceBindingSupported() *gomock.Call {
1102 mr.mock.ctrl.T.Helper()
1103 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsServiceBindingSupported", reflect.TypeOf((*MockClientInterface)(nil).IsServiceBindingSupported))
1104 }
1105
1106
1107 func (m *MockClientInterface) ListClusterServiceVersions() (*v1alpha1.ClusterServiceVersionList, error) {
1108 m.ctrl.T.Helper()
1109 ret := m.ctrl.Call(m, "ListClusterServiceVersions")
1110 ret0, _ := ret[0].(*v1alpha1.ClusterServiceVersionList)
1111 ret1, _ := ret[1].(error)
1112 return ret0, ret1
1113 }
1114
1115
1116 func (mr *MockClientInterfaceMockRecorder) ListClusterServiceVersions() *gomock.Call {
1117 mr.mock.ctrl.T.Helper()
1118 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListClusterServiceVersions", reflect.TypeOf((*MockClientInterface)(nil).ListClusterServiceVersions))
1119 }
1120
1121
1122 func (m *MockClientInterface) ListConfigMaps(labelSelector string) ([]v12.ConfigMap, error) {
1123 m.ctrl.T.Helper()
1124 ret := m.ctrl.Call(m, "ListConfigMaps", labelSelector)
1125 ret0, _ := ret[0].([]v12.ConfigMap)
1126 ret1, _ := ret[1].(error)
1127 return ret0, ret1
1128 }
1129
1130
1131 func (mr *MockClientInterfaceMockRecorder) ListConfigMaps(labelSelector interface{}) *gomock.Call {
1132 mr.mock.ctrl.T.Helper()
1133 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListConfigMaps", reflect.TypeOf((*MockClientInterface)(nil).ListConfigMaps), labelSelector)
1134 }
1135
1136
1137 func (m *MockClientInterface) ListDynamicResources(namespace string, gvr schema.GroupVersionResource, selector string) (*unstructured.UnstructuredList, error) {
1138 m.ctrl.T.Helper()
1139 ret := m.ctrl.Call(m, "ListDynamicResources", namespace, gvr, selector)
1140 ret0, _ := ret[0].(*unstructured.UnstructuredList)
1141 ret1, _ := ret[1].(error)
1142 return ret0, ret1
1143 }
1144
1145
1146 func (mr *MockClientInterfaceMockRecorder) ListDynamicResources(namespace, gvr, selector interface{}) *gomock.Call {
1147 mr.mock.ctrl.T.Helper()
1148 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDynamicResources", reflect.TypeOf((*MockClientInterface)(nil).ListDynamicResources), namespace, gvr, selector)
1149 }
1150
1151
1152 func (m *MockClientInterface) ListIngresses(namespace, selector string) (*v13.IngressList, error) {
1153 m.ctrl.T.Helper()
1154 ret := m.ctrl.Call(m, "ListIngresses", namespace, selector)
1155 ret0, _ := ret[0].(*v13.IngressList)
1156 ret1, _ := ret[1].(error)
1157 return ret0, ret1
1158 }
1159
1160
1161 func (mr *MockClientInterfaceMockRecorder) ListIngresses(namespace, selector interface{}) *gomock.Call {
1162 mr.mock.ctrl.T.Helper()
1163 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListIngresses", reflect.TypeOf((*MockClientInterface)(nil).ListIngresses), namespace, selector)
1164 }
1165
1166
1167 func (m *MockClientInterface) ListJobs(selector string) (*v11.JobList, error) {
1168 m.ctrl.T.Helper()
1169 ret := m.ctrl.Call(m, "ListJobs", selector)
1170 ret0, _ := ret[0].(*v11.JobList)
1171 ret1, _ := ret[1].(error)
1172 return ret0, ret1
1173 }
1174
1175
1176 func (mr *MockClientInterfaceMockRecorder) ListJobs(selector interface{}) *gomock.Call {
1177 mr.mock.ctrl.T.Helper()
1178 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListJobs", reflect.TypeOf((*MockClientInterface)(nil).ListJobs), selector)
1179 }
1180
1181
1182 func (m *MockClientInterface) ListPVCNames(selector string) ([]string, error) {
1183 m.ctrl.T.Helper()
1184 ret := m.ctrl.Call(m, "ListPVCNames", selector)
1185 ret0, _ := ret[0].([]string)
1186 ret1, _ := ret[1].(error)
1187 return ret0, ret1
1188 }
1189
1190
1191 func (mr *MockClientInterfaceMockRecorder) ListPVCNames(selector interface{}) *gomock.Call {
1192 mr.mock.ctrl.T.Helper()
1193 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPVCNames", reflect.TypeOf((*MockClientInterface)(nil).ListPVCNames), selector)
1194 }
1195
1196
1197 func (m *MockClientInterface) ListPVCs(selector string) ([]v12.PersistentVolumeClaim, error) {
1198 m.ctrl.T.Helper()
1199 ret := m.ctrl.Call(m, "ListPVCs", selector)
1200 ret0, _ := ret[0].([]v12.PersistentVolumeClaim)
1201 ret1, _ := ret[1].(error)
1202 return ret0, ret1
1203 }
1204
1205
1206 func (mr *MockClientInterfaceMockRecorder) ListPVCs(selector interface{}) *gomock.Call {
1207 mr.mock.ctrl.T.Helper()
1208 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPVCs", reflect.TypeOf((*MockClientInterface)(nil).ListPVCs), selector)
1209 }
1210
1211
1212 func (m *MockClientInterface) ListProjectNames() ([]string, error) {
1213 m.ctrl.T.Helper()
1214 ret := m.ctrl.Call(m, "ListProjectNames")
1215 ret0, _ := ret[0].([]string)
1216 ret1, _ := ret[1].(error)
1217 return ret0, ret1
1218 }
1219
1220
1221 func (mr *MockClientInterfaceMockRecorder) ListProjectNames() *gomock.Call {
1222 mr.mock.ctrl.T.Helper()
1223 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListProjectNames", reflect.TypeOf((*MockClientInterface)(nil).ListProjectNames))
1224 }
1225
1226
1227 func (m *MockClientInterface) ListSecrets(labelSelector string) ([]v12.Secret, error) {
1228 m.ctrl.T.Helper()
1229 ret := m.ctrl.Call(m, "ListSecrets", labelSelector)
1230 ret0, _ := ret[0].([]v12.Secret)
1231 ret1, _ := ret[1].(error)
1232 return ret0, ret1
1233 }
1234
1235
1236 func (mr *MockClientInterfaceMockRecorder) ListSecrets(labelSelector interface{}) *gomock.Call {
1237 mr.mock.ctrl.T.Helper()
1238 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSecrets", reflect.TypeOf((*MockClientInterface)(nil).ListSecrets), labelSelector)
1239 }
1240
1241
1242 func (m *MockClientInterface) ListServiceBindingsFromAllGroups() ([]v1alpha3.ServiceBinding, []v1alpha10.ServiceBinding, error) {
1243 m.ctrl.T.Helper()
1244 ret := m.ctrl.Call(m, "ListServiceBindingsFromAllGroups")
1245 ret0, _ := ret[0].([]v1alpha3.ServiceBinding)
1246 ret1, _ := ret[1].([]v1alpha10.ServiceBinding)
1247 ret2, _ := ret[2].(error)
1248 return ret0, ret1, ret2
1249 }
1250
1251
1252 func (mr *MockClientInterfaceMockRecorder) ListServiceBindingsFromAllGroups() *gomock.Call {
1253 mr.mock.ctrl.T.Helper()
1254 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceBindingsFromAllGroups", reflect.TypeOf((*MockClientInterface)(nil).ListServiceBindingsFromAllGroups))
1255 }
1256
1257
1258 func (m *MockClientInterface) ListServices(selector string) ([]v12.Service, error) {
1259 m.ctrl.T.Helper()
1260 ret := m.ctrl.Call(m, "ListServices", selector)
1261 ret0, _ := ret[0].([]v12.Service)
1262 ret1, _ := ret[1].(error)
1263 return ret0, ret1
1264 }
1265
1266
1267 func (mr *MockClientInterfaceMockRecorder) ListServices(selector interface{}) *gomock.Call {
1268 mr.mock.ctrl.T.Helper()
1269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServices", reflect.TypeOf((*MockClientInterface)(nil).ListServices), selector)
1270 }
1271
1272
1273 func (m *MockClientInterface) NewServiceBindingServiceObject(serviceNs string, unstructuredService unstructured.Unstructured, bindingName string) (v1alpha10.Service, error) {
1274 m.ctrl.T.Helper()
1275 ret := m.ctrl.Call(m, "NewServiceBindingServiceObject", serviceNs, unstructuredService, bindingName)
1276 ret0, _ := ret[0].(v1alpha10.Service)
1277 ret1, _ := ret[1].(error)
1278 return ret0, ret1
1279 }
1280
1281
1282 func (mr *MockClientInterfaceMockRecorder) NewServiceBindingServiceObject(serviceNs, unstructuredService, bindingName interface{}) *gomock.Call {
1283 mr.mock.ctrl.T.Helper()
1284 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewServiceBindingServiceObject", reflect.TypeOf((*MockClientInterface)(nil).NewServiceBindingServiceObject), serviceNs, unstructuredService, bindingName)
1285 }
1286
1287
1288 func (m *MockClientInterface) PatchDynamicResource(exampleCustomResource unstructured.Unstructured) (bool, error) {
1289 m.ctrl.T.Helper()
1290 ret := m.ctrl.Call(m, "PatchDynamicResource", exampleCustomResource)
1291 ret0, _ := ret[0].(bool)
1292 ret1, _ := ret[1].(error)
1293 return ret0, ret1
1294 }
1295
1296
1297 func (mr *MockClientInterfaceMockRecorder) PatchDynamicResource(exampleCustomResource interface{}) *gomock.Call {
1298 mr.mock.ctrl.T.Helper()
1299 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchDynamicResource", reflect.TypeOf((*MockClientInterface)(nil).PatchDynamicResource), exampleCustomResource)
1300 }
1301
1302
1303 func (m *MockClientInterface) PodWarningEventWatcher(ctx context.Context) (watch.Interface, bool, error) {
1304 m.ctrl.T.Helper()
1305 ret := m.ctrl.Call(m, "PodWarningEventWatcher", ctx)
1306 ret0, _ := ret[0].(watch.Interface)
1307 ret1, _ := ret[1].(bool)
1308 ret2, _ := ret[2].(error)
1309 return ret0, ret1, ret2
1310 }
1311
1312
1313 func (mr *MockClientInterfaceMockRecorder) PodWarningEventWatcher(ctx interface{}) *gomock.Call {
1314 mr.mock.ctrl.T.Helper()
1315 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodWarningEventWatcher", reflect.TypeOf((*MockClientInterface)(nil).PodWarningEventWatcher), ctx)
1316 }
1317
1318
1319 func (m *MockClientInterface) PodWatcher(ctx context.Context, selector string) (watch.Interface, error) {
1320 m.ctrl.T.Helper()
1321 ret := m.ctrl.Call(m, "PodWatcher", ctx, selector)
1322 ret0, _ := ret[0].(watch.Interface)
1323 ret1, _ := ret[1].(error)
1324 return ret0, ret1
1325 }
1326
1327
1328 func (mr *MockClientInterfaceMockRecorder) PodWatcher(ctx, selector interface{}) *gomock.Call {
1329 mr.mock.ctrl.T.Helper()
1330 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PodWatcher", reflect.TypeOf((*MockClientInterface)(nil).PodWatcher), ctx, selector)
1331 }
1332
1333
1334 func (m *MockClientInterface) Refresh() (bool, error) {
1335 m.ctrl.T.Helper()
1336 ret := m.ctrl.Call(m, "Refresh")
1337 ret0, _ := ret[0].(bool)
1338 ret1, _ := ret[1].(error)
1339 return ret0, ret1
1340 }
1341
1342
1343 func (mr *MockClientInterfaceMockRecorder) Refresh() *gomock.Call {
1344 mr.mock.ctrl.T.Helper()
1345 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Refresh", reflect.TypeOf((*MockClientInterface)(nil).Refresh))
1346 }
1347
1348
1349 func (m *MockClientInterface) RunLogout(stdout io.Writer) error {
1350 m.ctrl.T.Helper()
1351 ret := m.ctrl.Call(m, "RunLogout", stdout)
1352 ret0, _ := ret[0].(error)
1353 return ret0
1354 }
1355
1356
1357 func (mr *MockClientInterfaceMockRecorder) RunLogout(stdout interface{}) *gomock.Call {
1358 mr.mock.ctrl.T.Helper()
1359 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RunLogout", reflect.TypeOf((*MockClientInterface)(nil).RunLogout), stdout)
1360 }
1361
1362
1363 func (m *MockClientInterface) SetCurrentNamespace(namespace string) error {
1364 m.ctrl.T.Helper()
1365 ret := m.ctrl.Call(m, "SetCurrentNamespace", namespace)
1366 ret0, _ := ret[0].(error)
1367 return ret0
1368 }
1369
1370
1371 func (mr *MockClientInterfaceMockRecorder) SetCurrentNamespace(namespace interface{}) *gomock.Call {
1372 mr.mock.ctrl.T.Helper()
1373 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCurrentNamespace", reflect.TypeOf((*MockClientInterface)(nil).SetCurrentNamespace), namespace)
1374 }
1375
1376
1377 func (m *MockClientInterface) SetDiscoveryInterface(client discovery.DiscoveryInterface) {
1378 m.ctrl.T.Helper()
1379 m.ctrl.Call(m, "SetDiscoveryInterface", client)
1380 }
1381
1382
1383 func (mr *MockClientInterfaceMockRecorder) SetDiscoveryInterface(client interface{}) *gomock.Call {
1384 mr.mock.ctrl.T.Helper()
1385 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDiscoveryInterface", reflect.TypeOf((*MockClientInterface)(nil).SetDiscoveryInterface), client)
1386 }
1387
1388
1389 func (m *MockClientInterface) SetNamespace(ns string) {
1390 m.ctrl.T.Helper()
1391 m.ctrl.Call(m, "SetNamespace", ns)
1392 }
1393
1394
1395 func (mr *MockClientInterfaceMockRecorder) SetNamespace(ns interface{}) *gomock.Call {
1396 mr.mock.ctrl.T.Helper()
1397 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNamespace", reflect.TypeOf((*MockClientInterface)(nil).SetNamespace), ns)
1398 }
1399
1400
1401 func (m *MockClientInterface) SetupPortForwarding(pod *v12.Pod, portPairs []string, out, errOut io.Writer, stopChan chan struct{}, address string) error {
1402 m.ctrl.T.Helper()
1403 ret := m.ctrl.Call(m, "SetupPortForwarding", pod, portPairs, out, errOut, stopChan, address)
1404 ret0, _ := ret[0].(error)
1405 return ret0
1406 }
1407
1408
1409 func (mr *MockClientInterfaceMockRecorder) SetupPortForwarding(pod, portPairs, out, errOut, stopChan, address interface{}) *gomock.Call {
1410 mr.mock.ctrl.T.Helper()
1411 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetupPortForwarding", reflect.TypeOf((*MockClientInterface)(nil).SetupPortForwarding), pod, portPairs, out, errOut, stopChan, address)
1412 }
1413
1414
1415 func (m *MockClientInterface) TryWithBlockOwnerDeletion(ownerReference v14.OwnerReference, exec func(v14.OwnerReference) error) error {
1416 m.ctrl.T.Helper()
1417 ret := m.ctrl.Call(m, "TryWithBlockOwnerDeletion", ownerReference, exec)
1418 ret0, _ := ret[0].(error)
1419 return ret0
1420 }
1421
1422
1423 func (mr *MockClientInterfaceMockRecorder) TryWithBlockOwnerDeletion(ownerReference, exec interface{}) *gomock.Call {
1424 mr.mock.ctrl.T.Helper()
1425 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryWithBlockOwnerDeletion", reflect.TypeOf((*MockClientInterface)(nil).TryWithBlockOwnerDeletion), ownerReference, exec)
1426 }
1427
1428
1429 func (m *MockClientInterface) UpdateDeployment(deploy v10.Deployment) (*v10.Deployment, error) {
1430 m.ctrl.T.Helper()
1431 ret := m.ctrl.Call(m, "UpdateDeployment", deploy)
1432 ret0, _ := ret[0].(*v10.Deployment)
1433 ret1, _ := ret[1].(error)
1434 return ret0, ret1
1435 }
1436
1437
1438 func (mr *MockClientInterfaceMockRecorder) UpdateDeployment(deploy interface{}) *gomock.Call {
1439 mr.mock.ctrl.T.Helper()
1440 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDeployment", reflect.TypeOf((*MockClientInterface)(nil).UpdateDeployment), deploy)
1441 }
1442
1443
1444 func (m *MockClientInterface) UpdateDynamicResource(gvr schema.GroupVersionResource, name string, u *unstructured.Unstructured) error {
1445 m.ctrl.T.Helper()
1446 ret := m.ctrl.Call(m, "UpdateDynamicResource", gvr, name, u)
1447 ret0, _ := ret[0].(error)
1448 return ret0
1449 }
1450
1451
1452 func (mr *MockClientInterfaceMockRecorder) UpdateDynamicResource(gvr, name, u interface{}) *gomock.Call {
1453 mr.mock.ctrl.T.Helper()
1454 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDynamicResource", reflect.TypeOf((*MockClientInterface)(nil).UpdateDynamicResource), gvr, name, u)
1455 }
1456
1457
1458 func (m *MockClientInterface) UpdatePVCLabels(pvc *v12.PersistentVolumeClaim, labels map[string]string) error {
1459 m.ctrl.T.Helper()
1460 ret := m.ctrl.Call(m, "UpdatePVCLabels", pvc, labels)
1461 ret0, _ := ret[0].(error)
1462 return ret0
1463 }
1464
1465
1466 func (mr *MockClientInterfaceMockRecorder) UpdatePVCLabels(pvc, labels interface{}) *gomock.Call {
1467 mr.mock.ctrl.T.Helper()
1468 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdatePVCLabels", reflect.TypeOf((*MockClientInterface)(nil).UpdatePVCLabels), pvc, labels)
1469 }
1470
1471
1472 func (m *MockClientInterface) UpdateSecret(secret *v12.Secret, namespace string) (*v12.Secret, error) {
1473 m.ctrl.T.Helper()
1474 ret := m.ctrl.Call(m, "UpdateSecret", secret, namespace)
1475 ret0, _ := ret[0].(*v12.Secret)
1476 ret1, _ := ret[1].(error)
1477 return ret0, ret1
1478 }
1479
1480
1481 func (mr *MockClientInterfaceMockRecorder) UpdateSecret(secret, namespace interface{}) *gomock.Call {
1482 mr.mock.ctrl.T.Helper()
1483 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSecret", reflect.TypeOf((*MockClientInterface)(nil).UpdateSecret), secret, namespace)
1484 }
1485
1486
1487 func (m *MockClientInterface) UpdateService(svc v12.Service) (*v12.Service, error) {
1488 m.ctrl.T.Helper()
1489 ret := m.ctrl.Call(m, "UpdateService", svc)
1490 ret0, _ := ret[0].(*v12.Service)
1491 ret1, _ := ret[1].(error)
1492 return ret0, ret1
1493 }
1494
1495
1496 func (mr *MockClientInterfaceMockRecorder) UpdateService(svc interface{}) *gomock.Call {
1497 mr.mock.ctrl.T.Helper()
1498 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateService", reflect.TypeOf((*MockClientInterface)(nil).UpdateService), svc)
1499 }
1500
1501
1502 func (m *MockClientInterface) UpdateStorageOwnerReference(pvc *v12.PersistentVolumeClaim, ownerReference ...v14.OwnerReference) error {
1503 m.ctrl.T.Helper()
1504 varargs := []interface{}{pvc}
1505 for _, a := range ownerReference {
1506 varargs = append(varargs, a)
1507 }
1508 ret := m.ctrl.Call(m, "UpdateStorageOwnerReference", varargs...)
1509 ret0, _ := ret[0].(error)
1510 return ret0
1511 }
1512
1513
1514 func (mr *MockClientInterfaceMockRecorder) UpdateStorageOwnerReference(pvc interface{}, ownerReference ...interface{}) *gomock.Call {
1515 mr.mock.ctrl.T.Helper()
1516 varargs := append([]interface{}{pvc}, ownerReference...)
1517 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStorageOwnerReference", reflect.TypeOf((*MockClientInterface)(nil).UpdateStorageOwnerReference), varargs...)
1518 }
1519
1520
1521 func (m *MockClientInterface) WaitAndGetSecret(name, namespace string) (*v12.Secret, error) {
1522 m.ctrl.T.Helper()
1523 ret := m.ctrl.Call(m, "WaitAndGetSecret", name, namespace)
1524 ret0, _ := ret[0].(*v12.Secret)
1525 ret1, _ := ret[1].(error)
1526 return ret0, ret1
1527 }
1528
1529
1530 func (mr *MockClientInterfaceMockRecorder) WaitAndGetSecret(name, namespace interface{}) *gomock.Call {
1531 mr.mock.ctrl.T.Helper()
1532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitAndGetSecret", reflect.TypeOf((*MockClientInterface)(nil).WaitAndGetSecret), name, namespace)
1533 }
1534
1535
1536 func (m *MockClientInterface) WaitForJobToComplete(job *v11.Job) (*v11.Job, error) {
1537 m.ctrl.T.Helper()
1538 ret := m.ctrl.Call(m, "WaitForJobToComplete", job)
1539 ret0, _ := ret[0].(*v11.Job)
1540 ret1, _ := ret[1].(error)
1541 return ret0, ret1
1542 }
1543
1544
1545 func (mr *MockClientInterfaceMockRecorder) WaitForJobToComplete(job interface{}) *gomock.Call {
1546 mr.mock.ctrl.T.Helper()
1547 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForJobToComplete", reflect.TypeOf((*MockClientInterface)(nil).WaitForJobToComplete), job)
1548 }
1549
1550
1551 func (m *MockClientInterface) WaitForServiceAccountInNamespace(namespace, serviceAccountName string) error {
1552 m.ctrl.T.Helper()
1553 ret := m.ctrl.Call(m, "WaitForServiceAccountInNamespace", namespace, serviceAccountName)
1554 ret0, _ := ret[0].(error)
1555 return ret0
1556 }
1557
1558
1559 func (mr *MockClientInterfaceMockRecorder) WaitForServiceAccountInNamespace(namespace, serviceAccountName interface{}) *gomock.Call {
1560 mr.mock.ctrl.T.Helper()
1561 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitForServiceAccountInNamespace", reflect.TypeOf((*MockClientInterface)(nil).WaitForServiceAccountInNamespace), namespace, serviceAccountName)
1562 }
1563
View as plain text