Documentation ¶
Overview ¶
Package mock_log is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 string)
- func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Fatal(arg0 string)
- func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Flush() error
- func (m *MockLogger) Info(arg0 string)
- func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
- func (m *MockLogger) With(arg0 ...interface{}) log.Logger
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Flush() *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(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 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) Debugf ¶
func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})
Debugf 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) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})
Errorf mocks base method
func (*MockLogger) Fatalf ¶
func (m *MockLogger) Fatalf(arg0 string, arg1 ...interface{})
Fatalf mocks base method
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})
Infof mocks base method
func (*MockLogger) With ¶
func (m *MockLogger) With(arg0 ...interface{}) log.Logger
With mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(arg0 interface{}) *gomock.Call
Fatal indicates an expected call of Fatal
func (*MockLoggerMockRecorder) Fatalf ¶
func (mr *MockLoggerMockRecorder) Fatalf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Fatalf indicates an expected call of Fatalf
func (*MockLoggerMockRecorder) Flush ¶
func (mr *MockLoggerMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Infof indicates an expected call of Infof
func (*MockLoggerMockRecorder) With ¶
func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call
With indicates an expected call of With