mock_logr

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_logr is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogSink added in v1.9.0

type MockLogSink struct {
	// contains filtered or unexported fields
}

MockLogSink is a mock of LogSink interface.

func NewMockLogSink added in v1.9.0

func NewMockLogSink(ctrl *gomock.Controller) *MockLogSink

NewMockLogSink creates a new mock instance.

func (*MockLogSink) EXPECT added in v1.9.0

func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogSink) Enabled added in v1.9.0

func (m *MockLogSink) Enabled(arg0 int) bool

Enabled mocks base method.

func (*MockLogSink) Error added in v1.9.0

func (m *MockLogSink) Error(arg0 error, arg1 string, arg2 ...interface{})

Error mocks base method.

func (*MockLogSink) Info added in v1.9.0

func (m *MockLogSink) Info(arg0 int, arg1 string, arg2 ...interface{})

Info mocks base method.

func (*MockLogSink) Init added in v1.9.0

func (m *MockLogSink) Init(arg0 logr.RuntimeInfo)

Init mocks base method.

func (*MockLogSink) WithName added in v1.9.0

func (m *MockLogSink) WithName(arg0 string) logr.LogSink

WithName mocks base method.

func (*MockLogSink) WithValues added in v1.9.0

func (m *MockLogSink) WithValues(arg0 ...interface{}) logr.LogSink

WithValues mocks base method.

type MockLogSinkMockRecorder added in v1.9.0

type MockLogSinkMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogSinkMockRecorder is the mock recorder for MockLogSink.

func (*MockLogSinkMockRecorder) Enabled added in v1.9.0

func (mr *MockLogSinkMockRecorder) Enabled(arg0 interface{}) *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockLogSinkMockRecorder) Error added in v1.9.0

func (mr *MockLogSinkMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLogSinkMockRecorder) Info added in v1.9.0

func (mr *MockLogSinkMockRecorder) Info(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLogSinkMockRecorder) Init added in v1.9.0

func (mr *MockLogSinkMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockLogSinkMockRecorder) WithName added in v1.9.0

func (mr *MockLogSinkMockRecorder) WithName(arg0 interface{}) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockLogSinkMockRecorder) WithValues added in v1.9.0

func (mr *MockLogSinkMockRecorder) WithValues(arg0 ...interface{}) *gomock.Call

WithValues indicates an expected call of WithValues.

Jump to

Keyboard shortcuts

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