Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFieldLogger
- func (m *MockFieldLogger) Critical(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Debug(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) EXPECT() *MockFieldLoggerMockRecorder
- func (m *MockFieldLogger) Error(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Fatal(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Info(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Log(arg0 logger.Level, arg1 string, arg2 ...interface{})
- func (m *MockFieldLogger) Notice(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Panic(arg0 string, arg1 ...interface{})
- func (m *MockFieldLogger) Warning(arg0 string, arg1 ...interface{})
- type MockFieldLoggerMockRecorder
- func (mr *MockFieldLoggerMockRecorder) Critical(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Log(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Notice(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFieldLoggerMockRecorder) Warning(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockFormatter
- type MockFormatterMockRecorder
- type MockHook
- type MockHookMockRecorder
- type MockLogger
- func (m *MockLogger) AddHook(arg0 logger.Hook)
- func (m *MockLogger) Critical(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Fatal(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Log(arg0 logger.Level, arg1 string, arg2 ...interface{})
- func (m *MockLogger) Notice(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Panic(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Warning(arg0 string, arg1 ...interface{})
- func (m *MockLogger) With(arg0 ...logger.Field) logger.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) AddHook(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Critical(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Log(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Notice(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warning(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFieldLogger ¶
type MockFieldLogger struct {
// contains filtered or unexported fields
}
MockFieldLogger is a mock of FieldLogger interface
func NewMockFieldLogger ¶
func NewMockFieldLogger(ctrl *gomock.Controller) *MockFieldLogger
NewMockFieldLogger creates a new mock instance
func (*MockFieldLogger) Critical ¶
func (m *MockFieldLogger) Critical(arg0 string, arg1 ...interface{})
Critical mocks base method
func (*MockFieldLogger) Debug ¶
func (m *MockFieldLogger) Debug(arg0 string, arg1 ...interface{})
Debug mocks base method
func (*MockFieldLogger) EXPECT ¶
func (m *MockFieldLogger) EXPECT() *MockFieldLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFieldLogger) Error ¶
func (m *MockFieldLogger) Error(arg0 string, arg1 ...interface{})
Error mocks base method
func (*MockFieldLogger) Fatal ¶
func (m *MockFieldLogger) Fatal(arg0 string, arg1 ...interface{})
Fatal mocks base method
func (*MockFieldLogger) Info ¶
func (m *MockFieldLogger) Info(arg0 string, arg1 ...interface{})
Info mocks base method
func (*MockFieldLogger) Log ¶
func (m *MockFieldLogger) Log(arg0 logger.Level, arg1 string, arg2 ...interface{})
Log mocks base method
func (*MockFieldLogger) Notice ¶
func (m *MockFieldLogger) Notice(arg0 string, arg1 ...interface{})
Notice mocks base method
func (*MockFieldLogger) Panic ¶
func (m *MockFieldLogger) Panic(arg0 string, arg1 ...interface{})
Panic mocks base method
func (*MockFieldLogger) Warning ¶
func (m *MockFieldLogger) Warning(arg0 string, arg1 ...interface{})
Warning mocks base method
type MockFieldLoggerMockRecorder ¶
type MockFieldLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockFieldLoggerMockRecorder is the mock recorder for MockFieldLogger
func (*MockFieldLoggerMockRecorder) Critical ¶
func (mr *MockFieldLoggerMockRecorder) Critical(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Critical indicates an expected call of Critical
func (*MockFieldLoggerMockRecorder) Debug ¶
func (mr *MockFieldLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockFieldLoggerMockRecorder) Error ¶
func (mr *MockFieldLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockFieldLoggerMockRecorder) Fatal ¶
func (mr *MockFieldLoggerMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal
func (*MockFieldLoggerMockRecorder) Info ¶
func (mr *MockFieldLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockFieldLoggerMockRecorder) Log ¶
func (mr *MockFieldLoggerMockRecorder) Log(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Log indicates an expected call of Log
func (*MockFieldLoggerMockRecorder) Notice ¶
func (mr *MockFieldLoggerMockRecorder) Notice(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Notice indicates an expected call of Notice
func (*MockFieldLoggerMockRecorder) Panic ¶
func (mr *MockFieldLoggerMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Panic indicates an expected call of Panic
func (*MockFieldLoggerMockRecorder) Warning ¶
func (mr *MockFieldLoggerMockRecorder) Warning(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warning indicates an expected call of Warning
type MockFormatter ¶
type MockFormatter struct {
// contains filtered or unexported fields
}
MockFormatter is a mock of Formatter interface
func NewMockFormatter ¶
func NewMockFormatter(ctrl *gomock.Controller) *MockFormatter
NewMockFormatter creates a new mock instance
func (*MockFormatter) EXPECT ¶
func (m *MockFormatter) EXPECT() *MockFormatterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFormatterMockRecorder ¶
type MockFormatterMockRecorder struct {
// contains filtered or unexported fields
}
MockFormatterMockRecorder is the mock recorder for MockFormatter
func (*MockFormatterMockRecorder) Format ¶
func (mr *MockFormatterMockRecorder) Format(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Format indicates an expected call of Format
type MockHook ¶
type MockHook struct {
// contains filtered or unexported fields
}
MockHook is a mock of Hook interface
func NewMockHook ¶
func NewMockHook(ctrl *gomock.Controller) *MockHook
NewMockHook creates a new mock instance
func (*MockHook) EXPECT ¶
func (m *MockHook) EXPECT() *MockHookMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockHookMockRecorder ¶
type MockHookMockRecorder struct {
// contains filtered or unexported fields
}
MockHookMockRecorder is the mock recorder for MockHook
func (*MockHookMockRecorder) Fire ¶
func (mr *MockHookMockRecorder) Fire(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fire indicates an expected call of Fire
func (*MockHookMockRecorder) Levels ¶
func (mr *MockHookMockRecorder) Levels() *gomock.Call
Levels indicates an expected call of Levels
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) AddHook ¶
func (m *MockLogger) AddHook(arg0 logger.Hook)
AddHook mocks base method
func (*MockLogger) Critical ¶
func (m *MockLogger) Critical(arg0 string, arg1 ...interface{})
Critical mocks base method
func (*MockLogger) Debug ¶
func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
Debug mocks base method
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Error ¶
func (m *MockLogger) Error(arg0 string, arg1 ...interface{})
Error mocks base method
func (*MockLogger) Fatal ¶
func (m *MockLogger) Fatal(arg0 string, arg1 ...interface{})
Fatal mocks base method
func (*MockLogger) Info ¶
func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
Info mocks base method
func (*MockLogger) Log ¶
func (m *MockLogger) Log(arg0 logger.Level, arg1 string, arg2 ...interface{})
Log mocks base method
func (*MockLogger) Notice ¶
func (m *MockLogger) Notice(arg0 string, arg1 ...interface{})
Notice mocks base method
func (*MockLogger) Panic ¶
func (m *MockLogger) Panic(arg0 string, arg1 ...interface{})
Panic mocks base method
func (*MockLogger) Warning ¶
func (m *MockLogger) Warning(arg0 string, arg1 ...interface{})
Warning mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) AddHook ¶
func (mr *MockLoggerMockRecorder) AddHook(arg0 interface{}) *gomock.Call
AddHook indicates an expected call of AddHook
func (*MockLoggerMockRecorder) Critical ¶
func (mr *MockLoggerMockRecorder) Critical(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Critical indicates an expected call of Critical
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockLoggerMockRecorder) Log ¶
func (mr *MockLoggerMockRecorder) Log(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Log indicates an expected call of Log
func (*MockLoggerMockRecorder) Notice ¶
func (mr *MockLoggerMockRecorder) Notice(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Notice indicates an expected call of Notice
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Panic indicates an expected call of Panic
func (*MockLoggerMockRecorder) Warning ¶
func (mr *MockLoggerMockRecorder) Warning(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warning indicates an expected call of Warning
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With