mocks

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogSink

type LogSink struct {
	mock.Mock
}

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) Enabled

func (_m *LogSink) Enabled(level int) bool

Enabled provides a mock function with given fields: level

func (*LogSink) Error

func (_m *LogSink) Error(err error, msg string, keysAndValues ...interface{})

Error provides a mock function with given fields: err, msg, keysAndValues

func (*LogSink) Info

func (_m *LogSink) Info(level int, msg string, keysAndValues ...interface{})

Info provides a mock function with given fields: level, msg, keysAndValues

func (*LogSink) Init

func (_m *LogSink) Init(info logr.RuntimeInfo)

Init provides a mock function with given fields: info

func (*LogSink) WithName

func (_m *LogSink) WithName(name string) logr.LogSink

WithName provides a mock function with given fields: name

func (*LogSink) WithValues

func (_m *LogSink) WithValues(keysAndValues ...interface{}) logr.LogSink

WithValues provides a mock function with given fields: keysAndValues

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL