-
Notifications
You must be signed in to change notification settings - Fork 56
/
ClientWithResponsesMock.go
497 lines (444 loc) · 25.8 KB
/
ClientWithResponsesMock.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/openshift/backplane-api/pkg/client (interfaces: ClientWithResponsesInterface)
// Package mocks is a generated GoMock package.
package mocks
import (
context "context"
io "io"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
Openapi "github.com/openshift/backplane-api/pkg/client"
)
// MockClientWithResponsesInterface is a mock of ClientWithResponsesInterface interface.
type MockClientWithResponsesInterface struct {
ctrl *gomock.Controller
recorder *MockClientWithResponsesInterfaceMockRecorder
}
// MockClientWithResponsesInterfaceMockRecorder is the mock recorder for MockClientWithResponsesInterface.
type MockClientWithResponsesInterfaceMockRecorder struct {
mock *MockClientWithResponsesInterface
}
// NewMockClientWithResponsesInterface creates a new mock instance.
func NewMockClientWithResponsesInterface(ctrl *gomock.Controller) *MockClientWithResponsesInterface {
mock := &MockClientWithResponsesInterface{ctrl: ctrl}
mock.recorder = &MockClientWithResponsesInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockClientWithResponsesInterface) EXPECT() *MockClientWithResponsesInterfaceMockRecorder {
return m.recorder
}
// CreateJobWithBodyWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) CreateJobWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 ...Openapi.RequestEditorFn) (*Openapi.CreateJobResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3}
for _, a := range arg4 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateJobWithBodyWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.CreateJobResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateJobWithBodyWithResponse indicates an expected call of CreateJobWithBodyWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateJobWithBodyWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateJobWithBodyWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).CreateJobWithBodyWithResponse), varargs...)
}
// CreateJobWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) CreateJobWithResponse(arg0 context.Context, arg1 string, arg2 Openapi.CreateJob, arg3 ...Openapi.RequestEditorFn) (*Openapi.CreateJobResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateJobWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.CreateJobResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateJobWithResponse indicates an expected call of CreateJobWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateJobWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateJobWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).CreateJobWithResponse), varargs...)
}
// CreateTestScriptRunWithBodyWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) CreateTestScriptRunWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 ...Openapi.RequestEditorFn) (*Openapi.CreateTestScriptRunResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3}
for _, a := range arg4 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateTestScriptRunWithBodyWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.CreateTestScriptRunResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateTestScriptRunWithBodyWithResponse indicates an expected call of CreateTestScriptRunWithBodyWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateTestScriptRunWithBodyWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTestScriptRunWithBodyWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).CreateTestScriptRunWithBodyWithResponse), varargs...)
}
// CreateTestScriptRunWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) CreateTestScriptRunWithResponse(arg0 context.Context, arg1 string, arg2 Openapi.CreateTestJob, arg3 ...Openapi.RequestEditorFn) (*Openapi.CreateTestScriptRunResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateTestScriptRunWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.CreateTestScriptRunResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateTestScriptRunWithResponse indicates an expected call of CreateTestScriptRunWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateTestScriptRunWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTestScriptRunWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).CreateTestScriptRunWithResponse), varargs...)
}
// DeleteBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) DeleteBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.DeleteBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.DeleteBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteBackplaneClusterClusterIdWithResponse indicates an expected call of DeleteBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).DeleteBackplaneClusterClusterIdWithResponse), varargs...)
}
// DeleteJobWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) DeleteJobWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...Openapi.RequestEditorFn) (*Openapi.DeleteJobResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteJobWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.DeleteJobResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteJobWithResponse indicates an expected call of DeleteJobWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteJobWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteJobWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).DeleteJobWithResponse), varargs...)
}
// GetAllJobsWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetAllJobsWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.GetAllJobsResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetAllJobsWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetAllJobsResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetAllJobsWithResponse indicates an expected call of GetAllJobsWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetAllJobsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllJobsWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetAllJobsWithResponse), varargs...)
}
// GetAssumeRoleSequenceWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetAssumeRoleSequenceWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.GetAssumeRoleSequenceResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetAssumeRoleSequenceWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetAssumeRoleSequenceResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetAssumeRoleSequenceWithResponse indicates an expected call of GetAssumeRoleSequenceWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetAssumeRoleSequenceWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAssumeRoleSequenceWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetAssumeRoleSequenceWithResponse), varargs...)
}
// GetBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.GetBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetBackplaneClusterClusterIdWithResponse indicates an expected call of GetBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetBackplaneClusterClusterIdWithResponse), varargs...)
}
// GetCloudConsoleWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetCloudConsoleWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.GetCloudConsoleResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetCloudConsoleWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetCloudConsoleResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCloudConsoleWithResponse indicates an expected call of GetCloudConsoleWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetCloudConsoleWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCloudConsoleWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetCloudConsoleWithResponse), varargs...)
}
// GetCloudCredentialsWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetCloudCredentialsWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.GetCloudCredentialsResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetCloudCredentialsWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetCloudCredentialsResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCloudCredentialsWithResponse indicates an expected call of GetCloudCredentialsWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetCloudCredentialsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCloudCredentialsWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetCloudCredentialsWithResponse), varargs...)
}
// GetJobLogsWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetJobLogsWithResponse(arg0 context.Context, arg1, arg2 string, arg3 *Openapi.GetJobLogsParams, arg4 ...Openapi.RequestEditorFn) (*Openapi.GetJobLogsResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3}
for _, a := range arg4 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetJobLogsWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetJobLogsResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetJobLogsWithResponse indicates an expected call of GetJobLogsWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetJobLogsWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetJobLogsWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetJobLogsWithResponse), varargs...)
}
// GetRunWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetRunWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...Openapi.RequestEditorFn) (*Openapi.GetRunResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetRunWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetRunResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetRunWithResponse indicates an expected call of GetRunWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetRunWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRunWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetRunWithResponse), varargs...)
}
// GetScriptsByClusterWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetScriptsByClusterWithResponse(arg0 context.Context, arg1 string, arg2 *Openapi.GetScriptsByClusterParams, arg3 ...Openapi.RequestEditorFn) (*Openapi.GetScriptsByClusterResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetScriptsByClusterWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetScriptsByClusterResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetScriptsByClusterWithResponse indicates an expected call of GetScriptsByClusterWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetScriptsByClusterWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetScriptsByClusterWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetScriptsByClusterWithResponse), varargs...)
}
// GetTestScriptRunLogsWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetTestScriptRunLogsWithResponse(arg0 context.Context, arg1, arg2 string, arg3 *Openapi.GetTestScriptRunLogsParams, arg4 ...Openapi.RequestEditorFn) (*Openapi.GetTestScriptRunLogsResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3}
for _, a := range arg4 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetTestScriptRunLogsWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetTestScriptRunLogsResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetTestScriptRunLogsWithResponse indicates an expected call of GetTestScriptRunLogsWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetTestScriptRunLogsWithResponse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3}, arg4...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTestScriptRunLogsWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetTestScriptRunLogsWithResponse), varargs...)
}
// GetTestScriptRunWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) GetTestScriptRunWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...Openapi.RequestEditorFn) (*Openapi.GetTestScriptRunResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetTestScriptRunWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.GetTestScriptRunResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetTestScriptRunWithResponse indicates an expected call of GetTestScriptRunWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) GetTestScriptRunWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTestScriptRunWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).GetTestScriptRunWithResponse), varargs...)
}
// HeadBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) HeadBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.HeadBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "HeadBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.HeadBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HeadBackplaneClusterClusterIdWithResponse indicates an expected call of HeadBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) HeadBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).HeadBackplaneClusterClusterIdWithResponse), varargs...)
}
// LoginClusterWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) LoginClusterWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.LoginClusterResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "LoginClusterWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.LoginClusterResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// LoginClusterWithResponse indicates an expected call of LoginClusterWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) LoginClusterWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoginClusterWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).LoginClusterWithResponse), varargs...)
}
// OptionsBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) OptionsBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.OptionsBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "OptionsBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.OptionsBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// OptionsBackplaneClusterClusterIdWithResponse indicates an expected call of OptionsBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) OptionsBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OptionsBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).OptionsBackplaneClusterClusterIdWithResponse), varargs...)
}
// PatchBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) PatchBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.PatchBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PatchBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.PatchBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PatchBackplaneClusterClusterIdWithResponse indicates an expected call of PatchBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) PatchBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).PatchBackplaneClusterClusterIdWithResponse), varargs...)
}
// PostBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) PostBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.PostBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PostBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.PostBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PostBackplaneClusterClusterIdWithResponse indicates an expected call of PostBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) PostBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).PostBackplaneClusterClusterIdWithResponse), varargs...)
}
// PutBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) PutBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.PutBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "PutBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.PutBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PutBackplaneClusterClusterIdWithResponse indicates an expected call of PutBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) PutBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).PutBackplaneClusterClusterIdWithResponse), varargs...)
}
// TraceBackplaneClusterClusterIdWithResponse mocks base method.
func (m *MockClientWithResponsesInterface) TraceBackplaneClusterClusterIdWithResponse(arg0 context.Context, arg1 string, arg2 ...Openapi.RequestEditorFn) (*Openapi.TraceBackplaneClusterClusterIdResponse, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "TraceBackplaneClusterClusterIdWithResponse", varargs...)
ret0, _ := ret[0].(*Openapi.TraceBackplaneClusterClusterIdResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// TraceBackplaneClusterClusterIdWithResponse indicates an expected call of TraceBackplaneClusterClusterIdWithResponse.
func (mr *MockClientWithResponsesInterfaceMockRecorder) TraceBackplaneClusterClusterIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TraceBackplaneClusterClusterIdWithResponse", reflect.TypeOf((*MockClientWithResponsesInterface)(nil).TraceBackplaneClusterClusterIdWithResponse), varargs...)
}