Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Debug(msg string, fields ...zap.Field)
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(msg string, fields ...zap.Field)
- func (m *MockLogger) Fatal(msg string, fields ...zap.Field)
- func (m *MockLogger) Info(msg string, fields ...zap.Field)
- func (m *MockLogger) Named(s string) logging.Logger
- func (m *MockLogger) Panic(msg string, fields ...zap.Field)
- func (m *MockLogger) Sync() error
- func (m *MockLogger) Warn(msg string, fields ...zap.Field)
- func (m *MockLogger) With(fields ...zap.Field) logging.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Named(s interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Sync() *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(msg interface{}, fields ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(fields ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Debug ¶
func (m *MockLogger) Debug(msg string, fields ...zap.Field)
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(msg string, fields ...zap.Field)
Error mocks base method.
func (*MockLogger) Fatal ¶
func (m *MockLogger) Fatal(msg string, fields ...zap.Field)
Fatal mocks base method.
func (*MockLogger) Info ¶
func (m *MockLogger) Info(msg string, fields ...zap.Field)
Info mocks base method.
func (*MockLogger) Named ¶
func (m *MockLogger) Named(s string) logging.Logger
Named mocks base method.
func (*MockLogger) Panic ¶
func (m *MockLogger) Panic(msg string, fields ...zap.Field)
Panic mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(msg interface{}, fields ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(msg interface{}, fields ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(msg interface{}, fields ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(msg interface{}, fields ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Named ¶
func (mr *MockLoggerMockRecorder) Named(s interface{}) *gomock.Call
Named indicates an expected call of Named.
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(msg interface{}, fields ...interface{}) *gomock.Call
Panic indicates an expected call of Panic.
func (*MockLoggerMockRecorder) Sync ¶
func (mr *MockLoggerMockRecorder) Sync() *gomock.Call
Sync indicates an expected call of Sync.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(msg interface{}, fields ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(fields ...interface{}) *gomock.Call
With indicates an expected call of With.