// Code generated by MockGen. DO NOT EDIT. // Source: github.com/mono83/slf/wd (interfaces: Watchdog) package mock_wd import ( gomock "github.com/golang/mock/gomock" slf "github.com/mono83/slf" wd "github.com/mono83/slf/wd" reflect "reflect" time "time" ) // MockWatchdog is a mock of Watchdog interface type MockWatchdog struct { ctrl *gomock.Controller recorder *MockWatchdogMockRecorder } // MockWatchdogMockRecorder is the mock recorder for MockWatchdog type MockWatchdogMockRecorder struct { mock *MockWatchdog } // NewMockWatchdog creates a new mock instance func NewMockWatchdog(ctrl *gomock.Controller) *MockWatchdog { mock := &MockWatchdog{ctrl: ctrl} mock.recorder = &MockWatchdogMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (_m *MockWatchdog) EXPECT() *MockWatchdogMockRecorder { return _m.recorder } // Alert mocks base method func (_m *MockWatchdog) Alert(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Alert", _s...) } // Alert indicates an expected call of Alert func (_mr *MockWatchdogMockRecorder) Alert(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Alert", reflect.TypeOf((*MockWatchdog)(nil).Alert), _s...) } // Debug mocks base method func (_m *MockWatchdog) Debug(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Debug", _s...) } // Debug indicates an expected call of Debug func (_mr *MockWatchdogMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Debug", reflect.TypeOf((*MockWatchdog)(nil).Debug), _s...) } // Emergency mocks base method func (_m *MockWatchdog) Emergency(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Emergency", _s...) } // Emergency indicates an expected call of Emergency func (_mr *MockWatchdogMockRecorder) Emergency(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Emergency", reflect.TypeOf((*MockWatchdog)(nil).Emergency), _s...) } // Error mocks base method func (_m *MockWatchdog) Error(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Error", _s...) } // Error indicates an expected call of Error func (_mr *MockWatchdogMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Error", reflect.TypeOf((*MockWatchdog)(nil).Error), _s...) } // IncCounter mocks base method func (_m *MockWatchdog) IncCounter(_param0 string, _param1 int64, _param2 ...slf.Param) { _s := []interface{}{_param0, _param1} for _, _x := range _param2 { _s = append(_s, _x) } _m.ctrl.Call(_m, "IncCounter", _s...) } // IncCounter indicates an expected call of IncCounter func (_mr *MockWatchdogMockRecorder) IncCounter(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0, arg1}, arg2...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "IncCounter", reflect.TypeOf((*MockWatchdog)(nil).IncCounter), _s...) } // Info mocks base method func (_m *MockWatchdog) Info(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Info", _s...) } // Info indicates an expected call of Info func (_mr *MockWatchdogMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Info", reflect.TypeOf((*MockWatchdog)(nil).Info), _s...) } // RecordTimer mocks base method func (_m *MockWatchdog) RecordTimer(_param0 string, _param1 time.Duration, _param2 ...slf.Param) { _s := []interface{}{_param0, _param1} for _, _x := range _param2 { _s = append(_s, _x) } _m.ctrl.Call(_m, "RecordTimer", _s...) } // RecordTimer indicates an expected call of RecordTimer func (_mr *MockWatchdogMockRecorder) RecordTimer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0, arg1}, arg2...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RecordTimer", reflect.TypeOf((*MockWatchdog)(nil).RecordTimer), _s...) } // Timer mocks base method func (_m *MockWatchdog) Timer(_param0 string, _param1 ...slf.Param) slf.Timer { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } ret := _m.ctrl.Call(_m, "Timer", _s...) ret0, _ := ret[0].(slf.Timer) return ret0 } // Timer indicates an expected call of Timer func (_mr *MockWatchdogMockRecorder) Timer(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Timer", reflect.TypeOf((*MockWatchdog)(nil).Timer), _s...) } // Trace mocks base method func (_m *MockWatchdog) Trace(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Trace", _s...) } // Trace indicates an expected call of Trace func (_mr *MockWatchdogMockRecorder) Trace(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Trace", reflect.TypeOf((*MockWatchdog)(nil).Trace), _s...) } // UpdateGauge mocks base method func (_m *MockWatchdog) UpdateGauge(_param0 string, _param1 int64, _param2 ...slf.Param) { _s := []interface{}{_param0, _param1} for _, _x := range _param2 { _s = append(_s, _x) } _m.ctrl.Call(_m, "UpdateGauge", _s...) } // UpdateGauge indicates an expected call of UpdateGauge func (_mr *MockWatchdogMockRecorder) UpdateGauge(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0, arg1}, arg2...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "UpdateGauge", reflect.TypeOf((*MockWatchdog)(nil).UpdateGauge), _s...) } // Warning mocks base method func (_m *MockWatchdog) Warning(_param0 string, _param1 ...slf.Param) { _s := []interface{}{_param0} for _, _x := range _param1 { _s = append(_s, _x) } _m.ctrl.Call(_m, "Warning", _s...) } // Warning indicates an expected call of Warning func (_mr *MockWatchdogMockRecorder) Warning(arg0 interface{}, arg1 ...interface{}) *gomock.Call { _s := append([]interface{}{arg0}, arg1...) return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Warning", reflect.TypeOf((*MockWatchdog)(nil).Warning), _s...) } // WithParams mocks base method func (_m *MockWatchdog) WithParams(_param0 ...slf.Param) wd.Watchdog { _s := []interface{}{} for _, _x := range _param0 { _s = append(_s, _x) } ret := _m.ctrl.Call(_m, "WithParams", _s...) ret0, _ := ret[0].(wd.Watchdog) return ret0 } // WithParams indicates an expected call of WithParams func (_mr *MockWatchdogMockRecorder) WithParams(arg0 ...interface{}) *gomock.Call { return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "WithParams", reflect.TypeOf((*MockWatchdog)(nil).WithParams), arg0...) }