loggermock
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package loggermock is a generated GoMock package.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeMockRequestLogger¶
type MockRequestLogger struct {// contains filtered or unexported fields}
MockRequestLogger is a mock of RequestLogger interface.
funcNewMockRequestLogger¶
func NewMockRequestLogger(ctrl *gomock.Controller) *MockRequestLogger
NewMockRequestLogger creates a new mock instance.
func (*MockRequestLogger)EXPECT¶
func (m *MockRequestLogger) EXPECT() *MockRequestLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestLogger)WithAuthContext¶
func (m *MockRequestLogger) WithAuthContext(actorrbac.Subject)
WithAuthContext mocks base method.
func (*MockRequestLogger)WithFields¶
func (m *MockRequestLogger) WithFields(fields ...slog.Field)
WithFields mocks base method.
typeMockRequestLoggerMockRecorder¶
type MockRequestLoggerMockRecorder struct {// contains filtered or unexported fields}
MockRequestLoggerMockRecorder is the mock recorder for MockRequestLogger.
func (*MockRequestLoggerMockRecorder)WithAuthContext¶
func (mr *MockRequestLoggerMockRecorder) WithAuthContext(actorany) *gomock.Call
WithAuthContext indicates an expected call of WithAuthContext.
func (*MockRequestLoggerMockRecorder)WithFields¶
func (mr *MockRequestLoggerMockRecorder) WithFields(fields ...any) *gomock.Call
WithFields indicates an expected call of WithFields.