...
1
2
3
4
5 package mocks
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 gomock "github.com/golang/mock/gomock"
12 )
13
14
15 type MockDisabler struct {
16 ctrl *gomock.Controller
17 recorder *MockDisablerMockRecorder
18 }
19
20
21 type MockDisablerMockRecorder struct {
22 mock *MockDisabler
23 }
24
25
26 func NewMockDisabler(ctrl *gomock.Controller) *MockDisabler {
27 mock := &MockDisabler{ctrl: ctrl}
28 mock.recorder = &MockDisablerMockRecorder{mock}
29 return mock
30 }
31
32
33 func (m *MockDisabler) EXPECT() *MockDisablerMockRecorder {
34 return m.recorder
35 }
36
37
38 func (m *MockDisabler) Disable(arg0 context.Context, arg1 []string) error {
39 m.ctrl.T.Helper()
40 ret := m.ctrl.Call(m, "Disable", arg0, arg1)
41 ret0, _ := ret[0].(error)
42 return ret0
43 }
44
45
46 func (mr *MockDisablerMockRecorder) Disable(arg0, arg1 interface{}) *gomock.Call {
47 mr.mock.ctrl.T.Helper()
48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Disable", reflect.TypeOf((*MockDisabler)(nil).Disable), arg0, arg1)
49 }
50
View as plain text