Documentation ¶
Index ¶
- type MockLogger
- func (m *MockLogger) Debug(msg string, keyvals ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(msg string, keyvals ...interface{})
- func (m *MockLogger) Info(msg string, keyvals ...interface{})
- func (m *MockLogger) Init() error
- func (m *MockLogger) Warn(msg string, keyvals ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(msg interface{}, keyvals ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(msg interface{}, keyvals ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(msg interface{}, keyvals ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Init() error
- func (mr *MockLoggerMockRecorder) Warn(msg interface{}, keyvals ...interface{}) *gomock.Call
- type MockWithLogger
- type MockWithLoggerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogger ¶
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, keyvals ...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(msg string, keyvals ...interface{})
Error mocks base method.
func (*MockLogger) Info ¶
func (m *MockLogger) Info(msg string, keyvals ...interface{})
Info mocks base method.
func (*MockLogger) Init ¶
func (m *MockLogger) Init() error
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(msg string, keyvals ...interface{})
Warn 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{}, keyvals ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(msg interface{}, keyvals ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(msg interface{}, keyvals ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Init ¶
func (mr *MockLoggerMockRecorder) Init() error
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(msg interface{}, keyvals ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
type MockWithLogger ¶
type MockWithLogger struct {
// contains filtered or unexported fields
}
MockWithLogger is a mock of WithLogger interface.
func NewMockWithLogger ¶
func NewMockWithLogger(ctrl *gomock.Controller) *MockWithLogger
NewMockWithLogger creates a new mock instance.
func (*MockWithLogger) EXPECT ¶
func (m *MockWithLogger) EXPECT() *MockWithLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWithLogger) With ¶
func (m *MockWithLogger) With(keyvals ...interface{}) logger.Logger
With mocks base method.
type MockWithLoggerMockRecorder ¶
type MockWithLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockWithLoggerMockRecorder is the mock recorder for MockWithLogger.
func (*MockWithLoggerMockRecorder) With ¶
func (mr *MockWithLoggerMockRecorder) With(keyvals ...interface{}) *gomock.Call
With indicates an expected call of With.