Documentation ¶
Index ¶
- type LogSink
- func (_m *LogSink) Enabled(level int) bool
- func (_m *LogSink) Error(err error, msg string, keysAndValues ...interface{})
- func (_m *LogSink) Info(level int, msg string, keysAndValues ...interface{})
- func (_m *LogSink) Init(info logr.RuntimeInfo)
- func (_m *LogSink) WithName(name string) logr.LogSink
- func (_m *LogSink) WithValues(keysAndValues ...interface{}) logr.LogSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogSink ¶
LogSink is an autogenerated mock type for the LogSink type
func NewLogSink ¶
func NewLogSink(t mockConstructorTestingTNewLogSink) *LogSink
NewLogSink creates a new instance of LogSink. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LogSink) Init ¶
func (_m *LogSink) Init(info logr.RuntimeInfo)
Init provides a mock function with given fields: info
func (*LogSink) WithValues ¶
WithValues provides a mock function with given fields: keysAndValues
Click to show internal directories.
Click to hide internal directories.