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