mock_logr

package
v1.13.7 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 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 ...any)

Error mocks base method.

func (*MockLogSink) Info added in v1.9.0

func (m *MockLogSink) Info(arg0 int, arg1 string, arg2 ...any)

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 ...any) 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 any) *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockLogSinkMockRecorder) Error added in v1.9.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.9.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.9.0

func (mr *MockLogSinkMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockLogSinkMockRecorder) WithName added in v1.9.0

func (mr *MockLogSinkMockRecorder) WithName(arg0 any) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockLogSinkMockRecorder) WithValues added in v1.9.0

func (mr *MockLogSinkMockRecorder) WithValues(arg0 ...any) *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