This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
mock_backend.go
456 lines (384 loc) · 18.7 KB
/
mock_backend.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/docker/stacks/pkg/interfaces (interfaces: BackendClient)
package mocks
import (
types "github.com/docker/docker/api/types"
events "github.com/docker/docker/api/types/events"
filters "github.com/docker/docker/api/types/filters"
swarm "github.com/docker/docker/api/types/swarm"
interfaces "github.com/docker/stacks/pkg/interfaces"
types0 "github.com/docker/stacks/pkg/types"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
time "time"
)
// MockBackendClient is a mock of BackendClient interface
type MockBackendClient struct {
ctrl *gomock.Controller
recorder *MockBackendClientMockRecorder
}
// MockBackendClientMockRecorder is the mock recorder for MockBackendClient
type MockBackendClientMockRecorder struct {
mock *MockBackendClient
}
// NewMockBackendClient creates a new mock instance
func NewMockBackendClient(ctrl *gomock.Controller) *MockBackendClient {
mock := &MockBackendClient{ctrl: ctrl}
mock.recorder = &MockBackendClientMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (_m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder {
return _m.recorder
}
// CreateConfig mocks base method
func (_m *MockBackendClient) CreateConfig(_param0 swarm.ConfigSpec) (string, error) {
ret := _m.ctrl.Call(_m, "CreateConfig", _param0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateConfig indicates an expected call of CreateConfig
func (_mr *MockBackendClientMockRecorder) CreateConfig(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "CreateConfig", reflect.TypeOf((*MockBackendClient)(nil).CreateConfig), arg0)
}
// CreateNetwork mocks base method
func (_m *MockBackendClient) CreateNetwork(_param0 types.NetworkCreateRequest) (string, error) {
ret := _m.ctrl.Call(_m, "CreateNetwork", _param0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateNetwork indicates an expected call of CreateNetwork
func (_mr *MockBackendClientMockRecorder) CreateNetwork(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "CreateNetwork", reflect.TypeOf((*MockBackendClient)(nil).CreateNetwork), arg0)
}
// CreateSecret mocks base method
func (_m *MockBackendClient) CreateSecret(_param0 swarm.SecretSpec) (string, error) {
ret := _m.ctrl.Call(_m, "CreateSecret", _param0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateSecret indicates an expected call of CreateSecret
func (_mr *MockBackendClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "CreateSecret", reflect.TypeOf((*MockBackendClient)(nil).CreateSecret), arg0)
}
// CreateService mocks base method
func (_m *MockBackendClient) CreateService(_param0 swarm.ServiceSpec, _param1 string, _param2 bool) (*types.ServiceCreateResponse, error) {
ret := _m.ctrl.Call(_m, "CreateService", _param0, _param1, _param2)
ret0, _ := ret[0].(*types.ServiceCreateResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateService indicates an expected call of CreateService
func (_mr *MockBackendClientMockRecorder) CreateService(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "CreateService", reflect.TypeOf((*MockBackendClient)(nil).CreateService), arg0, arg1, arg2)
}
// CreateStack mocks base method
func (_m *MockBackendClient) CreateStack(_param0 types0.StackSpec) (types0.StackCreateResponse, error) {
ret := _m.ctrl.Call(_m, "CreateStack", _param0)
ret0, _ := ret[0].(types0.StackCreateResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateStack indicates an expected call of CreateStack
func (_mr *MockBackendClientMockRecorder) CreateStack(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "CreateStack", reflect.TypeOf((*MockBackendClient)(nil).CreateStack), arg0)
}
// DeleteStack mocks base method
func (_m *MockBackendClient) DeleteStack(_param0 string) error {
ret := _m.ctrl.Call(_m, "DeleteStack", _param0)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteStack indicates an expected call of DeleteStack
func (_mr *MockBackendClientMockRecorder) DeleteStack(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "DeleteStack", reflect.TypeOf((*MockBackendClient)(nil).DeleteStack), arg0)
}
// GetConfig mocks base method
func (_m *MockBackendClient) GetConfig(_param0 string) (swarm.Config, error) {
ret := _m.ctrl.Call(_m, "GetConfig", _param0)
ret0, _ := ret[0].(swarm.Config)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetConfig indicates an expected call of GetConfig
func (_mr *MockBackendClientMockRecorder) GetConfig(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetConfig", reflect.TypeOf((*MockBackendClient)(nil).GetConfig), arg0)
}
// GetConfigs mocks base method
func (_m *MockBackendClient) GetConfigs(_param0 types.ConfigListOptions) ([]swarm.Config, error) {
ret := _m.ctrl.Call(_m, "GetConfigs", _param0)
ret0, _ := ret[0].([]swarm.Config)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetConfigs indicates an expected call of GetConfigs
func (_mr *MockBackendClientMockRecorder) GetConfigs(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetConfigs", reflect.TypeOf((*MockBackendClient)(nil).GetConfigs), arg0)
}
// GetNetwork mocks base method
func (_m *MockBackendClient) GetNetwork(_param0 string) (types.NetworkResource, error) {
ret := _m.ctrl.Call(_m, "GetNetwork", _param0)
ret0, _ := ret[0].(types.NetworkResource)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNetwork indicates an expected call of GetNetwork
func (_mr *MockBackendClientMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetNetwork", reflect.TypeOf((*MockBackendClient)(nil).GetNetwork), arg0)
}
// GetNetworks mocks base method
func (_m *MockBackendClient) GetNetworks(_param0 filters.Args) ([]types.NetworkResource, error) {
ret := _m.ctrl.Call(_m, "GetNetworks", _param0)
ret0, _ := ret[0].([]types.NetworkResource)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNetworks indicates an expected call of GetNetworks
func (_mr *MockBackendClientMockRecorder) GetNetworks(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetNetworks", reflect.TypeOf((*MockBackendClient)(nil).GetNetworks), arg0)
}
// GetNetworksByName mocks base method
func (_m *MockBackendClient) GetNetworksByName(_param0 string) ([]types.NetworkResource, error) {
ret := _m.ctrl.Call(_m, "GetNetworksByName", _param0)
ret0, _ := ret[0].([]types.NetworkResource)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNetworksByName indicates an expected call of GetNetworksByName
func (_mr *MockBackendClientMockRecorder) GetNetworksByName(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetNetworksByName", reflect.TypeOf((*MockBackendClient)(nil).GetNetworksByName), arg0)
}
// GetNode mocks base method
func (_m *MockBackendClient) GetNode(_param0 string) (swarm.Node, error) {
ret := _m.ctrl.Call(_m, "GetNode", _param0)
ret0, _ := ret[0].(swarm.Node)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNode indicates an expected call of GetNode
func (_mr *MockBackendClientMockRecorder) GetNode(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetNode", reflect.TypeOf((*MockBackendClient)(nil).GetNode), arg0)
}
// GetSecret mocks base method
func (_m *MockBackendClient) GetSecret(_param0 string) (swarm.Secret, error) {
ret := _m.ctrl.Call(_m, "GetSecret", _param0)
ret0, _ := ret[0].(swarm.Secret)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetSecret indicates an expected call of GetSecret
func (_mr *MockBackendClientMockRecorder) GetSecret(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetSecret", reflect.TypeOf((*MockBackendClient)(nil).GetSecret), arg0)
}
// GetSecrets mocks base method
func (_m *MockBackendClient) GetSecrets(_param0 types.SecretListOptions) ([]swarm.Secret, error) {
ret := _m.ctrl.Call(_m, "GetSecrets", _param0)
ret0, _ := ret[0].([]swarm.Secret)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetSecrets indicates an expected call of GetSecrets
func (_mr *MockBackendClientMockRecorder) GetSecrets(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetSecrets", reflect.TypeOf((*MockBackendClient)(nil).GetSecrets), arg0)
}
// GetService mocks base method
func (_m *MockBackendClient) GetService(_param0 string, _param1 bool) (swarm.Service, error) {
ret := _m.ctrl.Call(_m, "GetService", _param0, _param1)
ret0, _ := ret[0].(swarm.Service)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetService indicates an expected call of GetService
func (_mr *MockBackendClientMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetService", reflect.TypeOf((*MockBackendClient)(nil).GetService), arg0, arg1)
}
// GetServices mocks base method
func (_m *MockBackendClient) GetServices(_param0 types.ServiceListOptions) ([]swarm.Service, error) {
ret := _m.ctrl.Call(_m, "GetServices", _param0)
ret0, _ := ret[0].([]swarm.Service)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetServices indicates an expected call of GetServices
func (_mr *MockBackendClientMockRecorder) GetServices(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetServices", reflect.TypeOf((*MockBackendClient)(nil).GetServices), arg0)
}
// GetSnapshotStack mocks base method
func (_m *MockBackendClient) GetSnapshotStack(_param0 string) (interfaces.SnapshotStack, error) {
ret := _m.ctrl.Call(_m, "GetSnapshotStack", _param0)
ret0, _ := ret[0].(interfaces.SnapshotStack)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetSnapshotStack indicates an expected call of GetSnapshotStack
func (_mr *MockBackendClientMockRecorder) GetSnapshotStack(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetSnapshotStack", reflect.TypeOf((*MockBackendClient)(nil).GetSnapshotStack), arg0)
}
// GetStack mocks base method
func (_m *MockBackendClient) GetStack(_param0 string) (types0.Stack, error) {
ret := _m.ctrl.Call(_m, "GetStack", _param0)
ret0, _ := ret[0].(types0.Stack)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetStack indicates an expected call of GetStack
func (_mr *MockBackendClientMockRecorder) GetStack(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetStack", reflect.TypeOf((*MockBackendClient)(nil).GetStack), arg0)
}
// GetTask mocks base method
func (_m *MockBackendClient) GetTask(_param0 string) (swarm.Task, error) {
ret := _m.ctrl.Call(_m, "GetTask", _param0)
ret0, _ := ret[0].(swarm.Task)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetTask indicates an expected call of GetTask
func (_mr *MockBackendClientMockRecorder) GetTask(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetTask", reflect.TypeOf((*MockBackendClient)(nil).GetTask), arg0)
}
// GetTasks mocks base method
func (_m *MockBackendClient) GetTasks(_param0 types.TaskListOptions) ([]swarm.Task, error) {
ret := _m.ctrl.Call(_m, "GetTasks", _param0)
ret0, _ := ret[0].([]swarm.Task)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetTasks indicates an expected call of GetTasks
func (_mr *MockBackendClientMockRecorder) GetTasks(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "GetTasks", reflect.TypeOf((*MockBackendClient)(nil).GetTasks), arg0)
}
// Info mocks base method
func (_m *MockBackendClient) Info() swarm.Info {
ret := _m.ctrl.Call(_m, "Info")
ret0, _ := ret[0].(swarm.Info)
return ret0
}
// Info indicates an expected call of Info
func (_mr *MockBackendClientMockRecorder) Info() *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Info", reflect.TypeOf((*MockBackendClient)(nil).Info))
}
// ListStacks mocks base method
func (_m *MockBackendClient) ListStacks() ([]types0.Stack, error) {
ret := _m.ctrl.Call(_m, "ListStacks")
ret0, _ := ret[0].([]types0.Stack)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListStacks indicates an expected call of ListStacks
func (_mr *MockBackendClientMockRecorder) ListStacks() *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "ListStacks", reflect.TypeOf((*MockBackendClient)(nil).ListStacks))
}
// RemoveConfig mocks base method
func (_m *MockBackendClient) RemoveConfig(_param0 string) error {
ret := _m.ctrl.Call(_m, "RemoveConfig", _param0)
ret0, _ := ret[0].(error)
return ret0
}
// RemoveConfig indicates an expected call of RemoveConfig
func (_mr *MockBackendClientMockRecorder) RemoveConfig(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RemoveConfig", reflect.TypeOf((*MockBackendClient)(nil).RemoveConfig), arg0)
}
// RemoveNetwork mocks base method
func (_m *MockBackendClient) RemoveNetwork(_param0 string) error {
ret := _m.ctrl.Call(_m, "RemoveNetwork", _param0)
ret0, _ := ret[0].(error)
return ret0
}
// RemoveNetwork indicates an expected call of RemoveNetwork
func (_mr *MockBackendClientMockRecorder) RemoveNetwork(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RemoveNetwork", reflect.TypeOf((*MockBackendClient)(nil).RemoveNetwork), arg0)
}
// RemoveSecret mocks base method
func (_m *MockBackendClient) RemoveSecret(_param0 string) error {
ret := _m.ctrl.Call(_m, "RemoveSecret", _param0)
ret0, _ := ret[0].(error)
return ret0
}
// RemoveSecret indicates an expected call of RemoveSecret
func (_mr *MockBackendClientMockRecorder) RemoveSecret(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RemoveSecret", reflect.TypeOf((*MockBackendClient)(nil).RemoveSecret), arg0)
}
// RemoveService mocks base method
func (_m *MockBackendClient) RemoveService(_param0 string) error {
ret := _m.ctrl.Call(_m, "RemoveService", _param0)
ret0, _ := ret[0].(error)
return ret0
}
// RemoveService indicates an expected call of RemoveService
func (_mr *MockBackendClientMockRecorder) RemoveService(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RemoveService", reflect.TypeOf((*MockBackendClient)(nil).RemoveService), arg0)
}
// SubscribeToEvents mocks base method
func (_m *MockBackendClient) SubscribeToEvents(_param0 time.Time, _param1 time.Time, _param2 filters.Args) ([]events.Message, chan interface{}) {
ret := _m.ctrl.Call(_m, "SubscribeToEvents", _param0, _param1, _param2)
ret0, _ := ret[0].([]events.Message)
ret1, _ := ret[1].(chan interface{})
return ret0, ret1
}
// SubscribeToEvents indicates an expected call of SubscribeToEvents
func (_mr *MockBackendClientMockRecorder) SubscribeToEvents(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "SubscribeToEvents", reflect.TypeOf((*MockBackendClient)(nil).SubscribeToEvents), arg0, arg1, arg2)
}
// UnsubscribeFromEvents mocks base method
func (_m *MockBackendClient) UnsubscribeFromEvents(_param0 chan interface{}) {
_m.ctrl.Call(_m, "UnsubscribeFromEvents", _param0)
}
// UnsubscribeFromEvents indicates an expected call of UnsubscribeFromEvents
func (_mr *MockBackendClientMockRecorder) UnsubscribeFromEvents(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UnsubscribeFromEvents", reflect.TypeOf((*MockBackendClient)(nil).UnsubscribeFromEvents), arg0)
}
// UpdateConfig mocks base method
func (_m *MockBackendClient) UpdateConfig(_param0 string, _param1 uint64, _param2 swarm.ConfigSpec) error {
ret := _m.ctrl.Call(_m, "UpdateConfig", _param0, _param1, _param2)
ret0, _ := ret[0].(error)
return ret0
}
// UpdateConfig indicates an expected call of UpdateConfig
func (_mr *MockBackendClientMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateConfig", reflect.TypeOf((*MockBackendClient)(nil).UpdateConfig), arg0, arg1, arg2)
}
// UpdateSecret mocks base method
func (_m *MockBackendClient) UpdateSecret(_param0 string, _param1 uint64, _param2 swarm.SecretSpec) error {
ret := _m.ctrl.Call(_m, "UpdateSecret", _param0, _param1, _param2)
ret0, _ := ret[0].(error)
return ret0
}
// UpdateSecret indicates an expected call of UpdateSecret
func (_mr *MockBackendClientMockRecorder) UpdateSecret(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateSecret", reflect.TypeOf((*MockBackendClient)(nil).UpdateSecret), arg0, arg1, arg2)
}
// UpdateService mocks base method
func (_m *MockBackendClient) UpdateService(_param0 string, _param1 uint64, _param2 swarm.ServiceSpec, _param3 types.ServiceUpdateOptions, _param4 bool) (*types.ServiceUpdateResponse, error) {
ret := _m.ctrl.Call(_m, "UpdateService", _param0, _param1, _param2, _param3, _param4)
ret0, _ := ret[0].(*types.ServiceUpdateResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateService indicates an expected call of UpdateService
func (_mr *MockBackendClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateService", reflect.TypeOf((*MockBackendClient)(nil).UpdateService), arg0, arg1, arg2, arg3, arg4)
}
// UpdateSnapshotStack mocks base method
func (_m *MockBackendClient) UpdateSnapshotStack(_param0 string, _param1 interfaces.SnapshotStack, _param2 uint64) (interfaces.SnapshotStack, error) {
ret := _m.ctrl.Call(_m, "UpdateSnapshotStack", _param0, _param1, _param2)
ret0, _ := ret[0].(interfaces.SnapshotStack)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateSnapshotStack indicates an expected call of UpdateSnapshotStack
func (_mr *MockBackendClientMockRecorder) UpdateSnapshotStack(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateSnapshotStack", reflect.TypeOf((*MockBackendClient)(nil).UpdateSnapshotStack), arg0, arg1, arg2)
}
// UpdateStack mocks base method
func (_m *MockBackendClient) UpdateStack(_param0 string, _param1 types0.StackSpec, _param2 uint64) error {
ret := _m.ctrl.Call(_m, "UpdateStack", _param0, _param1, _param2)
ret0, _ := ret[0].(error)
return ret0
}
// UpdateStack indicates an expected call of UpdateStack
func (_mr *MockBackendClientMockRecorder) UpdateStack(arg0, arg1, arg2 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateStack", reflect.TypeOf((*MockBackendClient)(nil).UpdateStack), arg0, arg1, arg2)
}