Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Debug(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) Fatal(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) Info(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) Panic(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) Warn(msg string, keysAndValues ...interface{}) log.Logger
- func (m *MockLogger) With(args ...interface{}) log.Logger
- func (m *MockLogger) WithComponent(component string) log.Logger
- func (m *MockLogger) WithError(err error) log.Logger
- func (m *MockLogger) Write(p []byte) (int, error)
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) With(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) WithComponent(component interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) WithError(err interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Write(p 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, keysAndValues ...interface{}) log.Logger
Debug mock 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, keysAndValues ...interface{}) log.Logger
Error mock base method
func (*MockLogger) Fatal ¶
func (m *MockLogger) Fatal(msg string, keysAndValues ...interface{}) log.Logger
Fatal mock base method
func (*MockLogger) Info ¶
func (m *MockLogger) Info(msg string, keysAndValues ...interface{}) log.Logger
Info mock base method
func (*MockLogger) Panic ¶
func (m *MockLogger) Panic(msg string, keysAndValues ...interface{}) log.Logger
Panic mock base method
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(msg string, keysAndValues ...interface{}) log.Logger
Warn mock base method
func (*MockLogger) With ¶
func (m *MockLogger) With(args ...interface{}) log.Logger
With mock base method
func (*MockLogger) WithComponent ¶
func (m *MockLogger) WithComponent(component string) log.Logger
WithComponent mock 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{}, keysAndValues ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Panic indicates an expected call of Panic
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Warn indicates an expected call of Warn
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(args ...interface{}) *gomock.Call
With indicates an expected call of With
func (*MockLoggerMockRecorder) WithComponent ¶
func (mr *MockLoggerMockRecorder) WithComponent(component interface{}) *gomock.Call
WithComponent indicates an expected call of WithComponent
func (*MockLoggerMockRecorder) WithError ¶
func (mr *MockLoggerMockRecorder) WithError(err interface{}) *gomock.Call
WithError indicates an expected call of WithError
func (*MockLoggerMockRecorder) Write ¶
func (mr *MockLoggerMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write