Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLogger
- func (m *MockLogger) Debugf(arg0 string, arg1 ...any)
- func (m *MockLogger) Debugx(arg0 string, arg1 ...any)
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 error, arg1 string)
- func (m *MockLogger) Errorf(arg0 string, arg1 ...any)
- func (m *MockLogger) Errorx(arg0 string, arg1 ...any)
- func (m *MockLogger) FatalErr(arg0 error)
- func (m *MockLogger) Fatalf(arg0 string, arg1 ...any)
- func (m *MockLogger) Fatalx(arg0 string, arg1 ...any)
- func (m *MockLogger) Flush() error
- func (m *MockLogger) Infof(arg0 string, arg1 ...any)
- func (m *MockLogger) Infox(arg0 string, arg1 ...any)
- func (m *MockLogger) LogMode() io.LogMode
- func (m *MockLogger) Noticef(arg0 string, arg1 ...any)
- func (m *MockLogger) Noticex(arg0 string, arg1 ...any)
- func (m *MockLogger) PlainTextDebug(arg0 string)
- func (m *MockLogger) PlainTextError(arg0 string)
- func (m *MockLogger) PlainTextInfo(arg0 string)
- func (m *MockLogger) PlainTextNotice(arg0 string)
- func (m *MockLogger) PlainTextSuccess(arg0 string)
- func (m *MockLogger) PlainTextWarn(arg0 string)
- func (m *MockLogger) Print(arg0 string)
- func (m *MockLogger) Println(arg0 string)
- func (m *MockLogger) SetLevel(arg0 int)
- func (m *MockLogger) SetMode(arg0 io.LogMode)
- func (m *MockLogger) Warnf(arg0 string, arg1 ...any)
- func (m *MockLogger) Warnx(arg0 string, arg1 ...any)
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debugf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugx(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0, arg1 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorx(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) FatalErr(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalx(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Flush() *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infox(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) LogMode() *gomock.Call
- func (mr *MockLoggerMockRecorder) Noticef(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Noticex(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextDebug(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextError(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextInfo(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextNotice(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextSuccess(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) PlainTextWarn(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Print(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Println(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetLevel(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetMode(arg0 any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnx(arg0 any, arg1 ...any) *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 ...any)
Debugf mocks base method.
func (*MockLogger) Debugx ¶
func (m *MockLogger) Debugx(arg0 string, arg1 ...any)
Debugx 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 error, arg1 string)
Error mocks base method.
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(arg0 string, arg1 ...any)
Errorf mocks base method.
func (*MockLogger) Errorx ¶
func (m *MockLogger) Errorx(arg0 string, arg1 ...any)
Errorx mocks base method.
func (*MockLogger) Fatalf ¶
func (m *MockLogger) Fatalf(arg0 string, arg1 ...any)
Fatalf mocks base method.
func (*MockLogger) Fatalx ¶
func (m *MockLogger) Fatalx(arg0 string, arg1 ...any)
Fatalx mocks base method.
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(arg0 string, arg1 ...any)
Infof mocks base method.
func (*MockLogger) Infox ¶
func (m *MockLogger) Infox(arg0 string, arg1 ...any)
Infox mocks base method.
func (*MockLogger) LogMode ¶ added in v0.0.9
func (m *MockLogger) LogMode() io.LogMode
LogMode mocks base method.
func (*MockLogger) Noticef ¶ added in v0.0.24
func (m *MockLogger) Noticef(arg0 string, arg1 ...any)
Noticef mocks base method.
func (*MockLogger) Noticex ¶ added in v0.0.24
func (m *MockLogger) Noticex(arg0 string, arg1 ...any)
Noticex mocks base method.
func (*MockLogger) PlainTextDebug ¶ added in v0.0.9
func (m *MockLogger) PlainTextDebug(arg0 string)
PlainTextDebug mocks base method.
func (*MockLogger) PlainTextError ¶ added in v0.0.9
func (m *MockLogger) PlainTextError(arg0 string)
PlainTextError mocks base method.
func (*MockLogger) PlainTextInfo ¶
func (m *MockLogger) PlainTextInfo(arg0 string)
PlainTextInfo mocks base method.
func (*MockLogger) PlainTextNotice ¶ added in v0.0.24
func (m *MockLogger) PlainTextNotice(arg0 string)
PlainTextNotice mocks base method.
func (*MockLogger) PlainTextSuccess ¶
func (m *MockLogger) PlainTextSuccess(arg0 string)
PlainTextSuccess mocks base method.
func (*MockLogger) PlainTextWarn ¶ added in v0.0.9
func (m *MockLogger) PlainTextWarn(arg0 string)
PlainTextWarn mocks base method.
func (*MockLogger) Print ¶ added in v0.0.11
func (m *MockLogger) Print(arg0 string)
Print mocks base method.
func (*MockLogger) SetMode ¶ added in v0.0.9
func (m *MockLogger) SetMode(arg0 io.LogMode)
SetMode mocks base method.
func (*MockLogger) Warnf ¶
func (m *MockLogger) Warnf(arg0 string, arg1 ...any)
Warnf mocks base method.
func (*MockLogger) Warnx ¶
func (m *MockLogger) Warnx(arg0 string, arg1 ...any)
Warnx 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 any, arg1 ...any) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Debugx ¶
func (mr *MockLoggerMockRecorder) Debugx(arg0 any, arg1 ...any) *gomock.Call
Debugx indicates an expected call of Debugx.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0, arg1 any) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Errorx ¶
func (mr *MockLoggerMockRecorder) Errorx(arg0 any, arg1 ...any) *gomock.Call
Errorx indicates an expected call of Errorx.
func (*MockLoggerMockRecorder) FatalErr ¶
func (mr *MockLoggerMockRecorder) FatalErr(arg0 any) *gomock.Call
FatalErr indicates an expected call of FatalErr.
func (*MockLoggerMockRecorder) Fatalf ¶
func (mr *MockLoggerMockRecorder) Fatalf(arg0 any, arg1 ...any) *gomock.Call
Fatalf indicates an expected call of Fatalf.
func (*MockLoggerMockRecorder) Fatalx ¶
func (mr *MockLoggerMockRecorder) Fatalx(arg0 any, arg1 ...any) *gomock.Call
Fatalx indicates an expected call of Fatalx.
func (*MockLoggerMockRecorder) Flush ¶
func (mr *MockLoggerMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
Infof indicates an expected call of Infof.
func (*MockLoggerMockRecorder) Infox ¶
func (mr *MockLoggerMockRecorder) Infox(arg0 any, arg1 ...any) *gomock.Call
Infox indicates an expected call of Infox.
func (*MockLoggerMockRecorder) LogMode ¶ added in v0.0.9
func (mr *MockLoggerMockRecorder) LogMode() *gomock.Call
LogMode indicates an expected call of LogMode.
func (*MockLoggerMockRecorder) Noticef ¶ added in v0.0.24
func (mr *MockLoggerMockRecorder) Noticef(arg0 any, arg1 ...any) *gomock.Call
Noticef indicates an expected call of Noticef.
func (*MockLoggerMockRecorder) Noticex ¶ added in v0.0.24
func (mr *MockLoggerMockRecorder) Noticex(arg0 any, arg1 ...any) *gomock.Call
Noticex indicates an expected call of Noticex.
func (*MockLoggerMockRecorder) PlainTextDebug ¶ added in v0.0.9
func (mr *MockLoggerMockRecorder) PlainTextDebug(arg0 any) *gomock.Call
PlainTextDebug indicates an expected call of PlainTextDebug.
func (*MockLoggerMockRecorder) PlainTextError ¶ added in v0.0.9
func (mr *MockLoggerMockRecorder) PlainTextError(arg0 any) *gomock.Call
PlainTextError indicates an expected call of PlainTextError.
func (*MockLoggerMockRecorder) PlainTextInfo ¶
func (mr *MockLoggerMockRecorder) PlainTextInfo(arg0 any) *gomock.Call
PlainTextInfo indicates an expected call of PlainTextInfo.
func (*MockLoggerMockRecorder) PlainTextNotice ¶ added in v0.0.24
func (mr *MockLoggerMockRecorder) PlainTextNotice(arg0 any) *gomock.Call
PlainTextNotice indicates an expected call of PlainTextNotice.
func (*MockLoggerMockRecorder) PlainTextSuccess ¶
func (mr *MockLoggerMockRecorder) PlainTextSuccess(arg0 any) *gomock.Call
PlainTextSuccess indicates an expected call of PlainTextSuccess.
func (*MockLoggerMockRecorder) PlainTextWarn ¶ added in v0.0.9
func (mr *MockLoggerMockRecorder) PlainTextWarn(arg0 any) *gomock.Call
PlainTextWarn indicates an expected call of PlainTextWarn.
func (*MockLoggerMockRecorder) Print ¶ added in v0.0.11
func (mr *MockLoggerMockRecorder) Print(arg0 any) *gomock.Call
Print indicates an expected call of Print.
func (*MockLoggerMockRecorder) Println ¶
func (mr *MockLoggerMockRecorder) Println(arg0 any) *gomock.Call
Println indicates an expected call of Println.
func (*MockLoggerMockRecorder) SetLevel ¶
func (mr *MockLoggerMockRecorder) SetLevel(arg0 any) *gomock.Call
SetLevel indicates an expected call of SetLevel.
func (*MockLoggerMockRecorder) SetMode ¶ added in v0.0.9
func (mr *MockLoggerMockRecorder) SetMode(arg0 any) *gomock.Call
SetMode indicates an expected call of SetMode.