/
mock_transition.go
466 lines (399 loc) · 20.7 KB
/
mock_transition.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
// Code generated by MockGen. DO NOT EDIT.
// Source: transition.go
// Package host is a generated GoMock package.
package host
import (
reflect "reflect"
time "time"
stateswitch "github.com/filanov/stateswitch"
gomock "github.com/golang/mock/gomock"
)
// MockTransitionHandler is a mock of TransitionHandler interface.
type MockTransitionHandler struct {
ctrl *gomock.Controller
recorder *MockTransitionHandlerMockRecorder
}
// MockTransitionHandlerMockRecorder is the mock recorder for MockTransitionHandler.
type MockTransitionHandlerMockRecorder struct {
mock *MockTransitionHandler
}
// NewMockTransitionHandler creates a new mock instance.
func NewMockTransitionHandler(ctrl *gomock.Controller) *MockTransitionHandler {
mock := &MockTransitionHandler{ctrl: ctrl}
mock.recorder = &MockTransitionHandlerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockTransitionHandler) EXPECT() *MockTransitionHandlerMockRecorder {
return m.recorder
}
// HasClusterError mocks base method.
func (m *MockTransitionHandler) HasClusterError(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasClusterError", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HasClusterError indicates an expected call of HasClusterError.
func (mr *MockTransitionHandlerMockRecorder) HasClusterError(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasClusterError", reflect.TypeOf((*MockTransitionHandler)(nil).HasClusterError), sw, args)
}
// HasInstallationInProgressTimedOut mocks base method.
func (m *MockTransitionHandler) HasInstallationInProgressTimedOut(sw stateswitch.StateSwitch, arg1 stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasInstallationInProgressTimedOut", sw, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HasInstallationInProgressTimedOut indicates an expected call of HasInstallationInProgressTimedOut.
func (mr *MockTransitionHandlerMockRecorder) HasInstallationInProgressTimedOut(sw, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasInstallationInProgressTimedOut", reflect.TypeOf((*MockTransitionHandler)(nil).HasInstallationInProgressTimedOut), sw, arg1)
}
// HasStatusTimedOut mocks base method.
func (m *MockTransitionHandler) HasStatusTimedOut(timeout time.Duration) stateswitch.Condition {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasStatusTimedOut", timeout)
ret0, _ := ret[0].(stateswitch.Condition)
return ret0
}
// HasStatusTimedOut indicates an expected call of HasStatusTimedOut.
func (mr *MockTransitionHandlerMockRecorder) HasStatusTimedOut(timeout interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasStatusTimedOut", reflect.TypeOf((*MockTransitionHandler)(nil).HasStatusTimedOut), timeout)
}
// HostNotResponsiveWhilePreparingInstallation mocks base method.
func (m *MockTransitionHandler) HostNotResponsiveWhilePreparingInstallation(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HostNotResponsiveWhilePreparingInstallation", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HostNotResponsiveWhilePreparingInstallation indicates an expected call of HostNotResponsiveWhilePreparingInstallation.
func (mr *MockTransitionHandlerMockRecorder) HostNotResponsiveWhilePreparingInstallation(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HostNotResponsiveWhilePreparingInstallation", reflect.TypeOf((*MockTransitionHandler)(nil).HostNotResponsiveWhilePreparingInstallation), sw, args)
}
// IsDay2Host mocks base method.
func (m *MockTransitionHandler) IsDay2Host(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsDay2Host", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsDay2Host indicates an expected call of IsDay2Host.
func (mr *MockTransitionHandlerMockRecorder) IsDay2Host(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsDay2Host", reflect.TypeOf((*MockTransitionHandler)(nil).IsDay2Host), sw, args)
}
// IsHostInDone mocks base method.
func (m *MockTransitionHandler) IsHostInDone(sw stateswitch.StateSwitch, arg1 stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsHostInDone", sw, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsHostInDone indicates an expected call of IsHostInDone.
func (mr *MockTransitionHandlerMockRecorder) IsHostInDone(sw, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsHostInDone", reflect.TypeOf((*MockTransitionHandler)(nil).IsHostInDone), sw, arg1)
}
// IsHostInReboot mocks base method.
func (m *MockTransitionHandler) IsHostInReboot(sw stateswitch.StateSwitch, arg1 stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsHostInReboot", sw, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsHostInReboot indicates an expected call of IsHostInReboot.
func (mr *MockTransitionHandlerMockRecorder) IsHostInReboot(sw, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsHostInReboot", reflect.TypeOf((*MockTransitionHandler)(nil).IsHostInReboot), sw, arg1)
}
// IsLogCollectionTimedOut mocks base method.
func (m *MockTransitionHandler) IsLogCollectionTimedOut(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsLogCollectionTimedOut", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsLogCollectionTimedOut indicates an expected call of IsLogCollectionTimedOut.
func (mr *MockTransitionHandlerMockRecorder) IsLogCollectionTimedOut(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsLogCollectionTimedOut", reflect.TypeOf((*MockTransitionHandler)(nil).IsLogCollectionTimedOut), sw, args)
}
// IsPreparingTimedOut mocks base method.
func (m *MockTransitionHandler) IsPreparingTimedOut(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsPreparingTimedOut", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsPreparingTimedOut indicates an expected call of IsPreparingTimedOut.
func (mr *MockTransitionHandlerMockRecorder) IsPreparingTimedOut(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsPreparingTimedOut", reflect.TypeOf((*MockTransitionHandler)(nil).IsPreparingTimedOut), sw, args)
}
// IsUnboundHost mocks base method.
func (m *MockTransitionHandler) IsUnboundHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsUnboundHost", sw, args)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsUnboundHost indicates an expected call of IsUnboundHost.
func (mr *MockTransitionHandlerMockRecorder) IsUnboundHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsUnboundHost", reflect.TypeOf((*MockTransitionHandler)(nil).IsUnboundHost), sw, args)
}
// IsValidRoleForInstallation mocks base method.
func (m *MockTransitionHandler) IsValidRoleForInstallation(sw stateswitch.StateSwitch, arg1 stateswitch.TransitionArgs) (bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IsValidRoleForInstallation", sw, arg1)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IsValidRoleForInstallation indicates an expected call of IsValidRoleForInstallation.
func (mr *MockTransitionHandlerMockRecorder) IsValidRoleForInstallation(sw, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsValidRoleForInstallation", reflect.TypeOf((*MockTransitionHandler)(nil).IsValidRoleForInstallation), sw, arg1)
}
// PostBindHost mocks base method.
func (m *MockTransitionHandler) PostBindHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostBindHost", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostBindHost indicates an expected call of PostBindHost.
func (mr *MockTransitionHandlerMockRecorder) PostBindHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostBindHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostBindHost), sw, args)
}
// PostCancelInstallation mocks base method.
func (m *MockTransitionHandler) PostCancelInstallation(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostCancelInstallation", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostCancelInstallation indicates an expected call of PostCancelInstallation.
func (mr *MockTransitionHandlerMockRecorder) PostCancelInstallation(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostCancelInstallation", reflect.TypeOf((*MockTransitionHandler)(nil).PostCancelInstallation), sw, args)
}
// PostHostInstallationFailed mocks base method.
func (m *MockTransitionHandler) PostHostInstallationFailed(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostHostInstallationFailed", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostHostInstallationFailed indicates an expected call of PostHostInstallationFailed.
func (mr *MockTransitionHandlerMockRecorder) PostHostInstallationFailed(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostHostInstallationFailed", reflect.TypeOf((*MockTransitionHandler)(nil).PostHostInstallationFailed), sw, args)
}
// PostHostMediaDisconnected mocks base method.
func (m *MockTransitionHandler) PostHostMediaDisconnected(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostHostMediaDisconnected", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostHostMediaDisconnected indicates an expected call of PostHostMediaDisconnected.
func (mr *MockTransitionHandlerMockRecorder) PostHostMediaDisconnected(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostHostMediaDisconnected", reflect.TypeOf((*MockTransitionHandler)(nil).PostHostMediaDisconnected), sw, args)
}
// PostHostPreparationTimeout mocks base method.
func (m *MockTransitionHandler) PostHostPreparationTimeout() stateswitch.PostTransition {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostHostPreparationTimeout")
ret0, _ := ret[0].(stateswitch.PostTransition)
return ret0
}
// PostHostPreparationTimeout indicates an expected call of PostHostPreparationTimeout.
func (mr *MockTransitionHandlerMockRecorder) PostHostPreparationTimeout() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostHostPreparationTimeout", reflect.TypeOf((*MockTransitionHandler)(nil).PostHostPreparationTimeout))
}
// PostHostProgress mocks base method.
func (m *MockTransitionHandler) PostHostProgress(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostHostProgress", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostHostProgress indicates an expected call of PostHostProgress.
func (mr *MockTransitionHandlerMockRecorder) PostHostProgress(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostHostProgress", reflect.TypeOf((*MockTransitionHandler)(nil).PostHostProgress), sw, args)
}
// PostInstallHost mocks base method.
func (m *MockTransitionHandler) PostInstallHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostInstallHost", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostInstallHost indicates an expected call of PostInstallHost.
func (mr *MockTransitionHandlerMockRecorder) PostInstallHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostInstallHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostInstallHost), sw, args)
}
// PostPreparingForInstallationHost mocks base method.
func (m *MockTransitionHandler) PostPreparingForInstallationHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostPreparingForInstallationHost", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostPreparingForInstallationHost indicates an expected call of PostPreparingForInstallationHost.
func (mr *MockTransitionHandlerMockRecorder) PostPreparingForInstallationHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostPreparingForInstallationHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostPreparingForInstallationHost), sw, args)
}
// PostReclaim mocks base method.
func (m *MockTransitionHandler) PostReclaim(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostReclaim", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostReclaim indicates an expected call of PostReclaim.
func (mr *MockTransitionHandlerMockRecorder) PostReclaim(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostReclaim", reflect.TypeOf((*MockTransitionHandler)(nil).PostReclaim), sw, args)
}
// PostRefreshHost mocks base method.
func (m *MockTransitionHandler) PostRefreshHost(reason string) stateswitch.PostTransition {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRefreshHost", reason)
ret0, _ := ret[0].(stateswitch.PostTransition)
return ret0
}
// PostRefreshHost indicates an expected call of PostRefreshHost.
func (mr *MockTransitionHandlerMockRecorder) PostRefreshHost(reason interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRefreshHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostRefreshHost), reason)
}
// PostRefreshHostRefreshStageUpdateTime mocks base method.
func (m *MockTransitionHandler) PostRefreshHostRefreshStageUpdateTime(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRefreshHostRefreshStageUpdateTime", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRefreshHostRefreshStageUpdateTime indicates an expected call of PostRefreshHostRefreshStageUpdateTime.
func (mr *MockTransitionHandlerMockRecorder) PostRefreshHostRefreshStageUpdateTime(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRefreshHostRefreshStageUpdateTime", reflect.TypeOf((*MockTransitionHandler)(nil).PostRefreshHostRefreshStageUpdateTime), sw, args)
}
// PostRefreshLogsProgress mocks base method.
func (m *MockTransitionHandler) PostRefreshLogsProgress(progress string) stateswitch.PostTransition {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRefreshLogsProgress", progress)
ret0, _ := ret[0].(stateswitch.PostTransition)
return ret0
}
// PostRefreshLogsProgress indicates an expected call of PostRefreshLogsProgress.
func (mr *MockTransitionHandlerMockRecorder) PostRefreshLogsProgress(progress interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRefreshLogsProgress", reflect.TypeOf((*MockTransitionHandler)(nil).PostRefreshLogsProgress), progress)
}
// PostRefreshReclaimTimeout mocks base method.
func (m *MockTransitionHandler) PostRefreshReclaimTimeout(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRefreshReclaimTimeout", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRefreshReclaimTimeout indicates an expected call of PostRefreshReclaimTimeout.
func (mr *MockTransitionHandlerMockRecorder) PostRefreshReclaimTimeout(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRefreshReclaimTimeout", reflect.TypeOf((*MockTransitionHandler)(nil).PostRefreshReclaimTimeout), sw, args)
}
// PostRegisterAfterInstallation mocks base method.
func (m *MockTransitionHandler) PostRegisterAfterInstallation(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRegisterAfterInstallation", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRegisterAfterInstallation indicates an expected call of PostRegisterAfterInstallation.
func (mr *MockTransitionHandlerMockRecorder) PostRegisterAfterInstallation(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRegisterAfterInstallation", reflect.TypeOf((*MockTransitionHandler)(nil).PostRegisterAfterInstallation), sw, args)
}
// PostRegisterDuringInstallation mocks base method.
func (m *MockTransitionHandler) PostRegisterDuringInstallation(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRegisterDuringInstallation", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRegisterDuringInstallation indicates an expected call of PostRegisterDuringInstallation.
func (mr *MockTransitionHandlerMockRecorder) PostRegisterDuringInstallation(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRegisterDuringInstallation", reflect.TypeOf((*MockTransitionHandler)(nil).PostRegisterDuringInstallation), sw, args)
}
// PostRegisterDuringReboot mocks base method.
func (m *MockTransitionHandler) PostRegisterDuringReboot(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRegisterDuringReboot", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRegisterDuringReboot indicates an expected call of PostRegisterDuringReboot.
func (mr *MockTransitionHandlerMockRecorder) PostRegisterDuringReboot(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRegisterDuringReboot", reflect.TypeOf((*MockTransitionHandler)(nil).PostRegisterDuringReboot), sw, args)
}
// PostRegisterHost mocks base method.
func (m *MockTransitionHandler) PostRegisterHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostRegisterHost", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostRegisterHost indicates an expected call of PostRegisterHost.
func (mr *MockTransitionHandlerMockRecorder) PostRegisterHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostRegisterHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostRegisterHost), sw, args)
}
// PostResettingPendingUserAction mocks base method.
func (m *MockTransitionHandler) PostResettingPendingUserAction(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostResettingPendingUserAction", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostResettingPendingUserAction indicates an expected call of PostResettingPendingUserAction.
func (mr *MockTransitionHandlerMockRecorder) PostResettingPendingUserAction(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostResettingPendingUserAction", reflect.TypeOf((*MockTransitionHandler)(nil).PostResettingPendingUserAction), sw, args)
}
// PostUnbindHost mocks base method.
func (m *MockTransitionHandler) PostUnbindHost(sw stateswitch.StateSwitch, args stateswitch.TransitionArgs) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PostUnbindHost", sw, args)
ret0, _ := ret[0].(error)
return ret0
}
// PostUnbindHost indicates an expected call of PostUnbindHost.
func (mr *MockTransitionHandlerMockRecorder) PostUnbindHost(sw, args interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PostUnbindHost", reflect.TypeOf((*MockTransitionHandler)(nil).PostUnbindHost), sw, args)
}