Help us shape the future of Go! Take the 2026 Go Developer Survey

logrsink

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logrsink is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogSink

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

MockLogSink is a mock of LogSink interface.

func NewMockLogSink

func NewMockLogSink(ctrl *gomock.Controller) *MockLogSink

NewMockLogSink creates a new mock instance.

func (*MockLogSink) EXPECT

func (m *MockLogSink) EXPECT() *MockLogSinkMockRecorder

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

func (*MockLogSink) Enabled

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

Enabled mocks base method.

func (*MockLogSink) Error

func (m *MockLogSink) Error(err error, msg string, keysAndValues ...any)

Error mocks base method.

func (*MockLogSink) Info

func (m *MockLogSink) Info(level int, msg string, keysAndValues ...any)

Info mocks base method.

func (*MockLogSink) Init

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

Init mocks base method.

func (*MockLogSink) WithName

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

WithName mocks base method.

func (*MockLogSink) WithValues

func (m *MockLogSink) WithValues(keysAndValues ...any) logr.LogSink

WithValues mocks base method.

type MockLogSinkMockRecorder

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

MockLogSinkMockRecorder is the mock recorder for MockLogSink.

func (*MockLogSinkMockRecorder) Enabled

func (mr *MockLogSinkMockRecorder) Enabled(level any) *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockLogSinkMockRecorder) Error

func (mr *MockLogSinkMockRecorder) Error(err, msg any, keysAndValues ...any) *gomock.Call

Error indicates an expected call of Error.

func (*MockLogSinkMockRecorder) Info

func (mr *MockLogSinkMockRecorder) Info(level, msg any, keysAndValues ...any) *gomock.Call

Info indicates an expected call of Info.

func (*MockLogSinkMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockLogSinkMockRecorder) WithName

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

WithName indicates an expected call of WithName.

func (*MockLogSinkMockRecorder) WithValues

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