Documentation ¶
Overview ¶
Package mock_logr is a generated GoMock package.
Index ¶
- type MockLogSink
- func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder
- func (m *MockLogSink) Enabled(arg0 int) bool
- func (m *MockLogSink) Error(arg0 error, arg1 string, arg2 ...any)
- func (m *MockLogSink) Info(arg0 int, arg1 string, arg2 ...any)
- func (m *MockLogSink) Init(arg0 logr.RuntimeInfo)
- func (m *MockLogSink) WithName(arg0 string) logr.LogSink
- func (m *MockLogSink) WithValues(arg0 ...any) logr.LogSink
- type MockLogSinkMockRecorder
- func (mr *MockLogSinkMockRecorder) Enabled(arg0 any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Error(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Info(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) WithName(arg0 any) *gomock.Call
- func (mr *MockLogSinkMockRecorder) WithValues(arg0 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLogSink ¶ added in v1.3.0
type MockLogSink struct {
// contains filtered or unexported fields
}
MockLogSink is a mock of LogSink interface.
func NewMockLogSink ¶ added in v1.3.0
func NewMockLogSink(ctrl *gomock.Controller) *MockLogSink
NewMockLogSink creates a new mock instance.
func (*MockLogSink) EXPECT ¶ added in v1.3.0
func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogSink) Enabled ¶ added in v1.3.0
func (m *MockLogSink) Enabled(arg0 int) bool
Enabled mocks base method.
func (*MockLogSink) Error ¶ added in v1.3.0
func (m *MockLogSink) Error(arg0 error, arg1 string, arg2 ...any)
Error mocks base method.
func (*MockLogSink) Info ¶ added in v1.3.0
func (m *MockLogSink) Info(arg0 int, arg1 string, arg2 ...any)
Info mocks base method.
func (*MockLogSink) Init ¶ added in v1.3.0
func (m *MockLogSink) Init(arg0 logr.RuntimeInfo)
Init mocks base method.
func (*MockLogSink) WithName ¶ added in v1.3.0
func (m *MockLogSink) WithName(arg0 string) logr.LogSink
WithName mocks base method.
func (*MockLogSink) WithValues ¶ added in v1.3.0
func (m *MockLogSink) WithValues(arg0 ...any) logr.LogSink
WithValues mocks base method.
type MockLogSinkMockRecorder ¶ added in v1.3.0
type MockLogSinkMockRecorder struct {
// contains filtered or unexported fields
}
MockLogSinkMockRecorder is the mock recorder for MockLogSink.
func (*MockLogSinkMockRecorder) Enabled ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) Enabled(arg0 any) *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockLogSinkMockRecorder) Error ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) Error(arg0, arg1 any, arg2 ...any) *gomock.Call
Error indicates an expected call of Error.
func (*MockLogSinkMockRecorder) Info ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) Info(arg0, arg1 any, arg2 ...any) *gomock.Call
Info indicates an expected call of Info.
func (*MockLogSinkMockRecorder) Init ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockLogSinkMockRecorder) WithName ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) WithName(arg0 any) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockLogSinkMockRecorder) WithValues ¶ added in v1.3.0
func (mr *MockLogSinkMockRecorder) WithValues(arg0 ...any) *gomock.Call
WithValues indicates an expected call of WithValues.