mocks

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(msg string, args ...any)

Debug mocks base method.

func (*MockLogger) DebugContext

func (m *MockLogger) DebugContext(ctx context.Context, msg string, args ...any)

DebugContext mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(msg string, args ...any)

Error mocks base method.

func (*MockLogger) ErrorContext

func (m *MockLogger) ErrorContext(ctx context.Context, msg string, args ...any)

ErrorContext mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(msg string, args ...any)

Info mocks base method.

func (*MockLogger) InfoContext

func (m *MockLogger) InfoContext(ctx context.Context, msg string, args ...any)

InfoContext mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(msg string, args ...any)

Warn mocks base method.

func (*MockLogger) WarnContext

func (m *MockLogger) WarnContext(ctx context.Context, msg string, args ...any)

WarnContext mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(msg any, args ...any) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) DebugContext

func (mr *MockLoggerMockRecorder) DebugContext(ctx, msg any, args ...any) *gomock.Call

DebugContext indicates an expected call of DebugContext.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(msg any, args ...any) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) ErrorContext

func (mr *MockLoggerMockRecorder) ErrorContext(ctx, msg any, args ...any) *gomock.Call

ErrorContext indicates an expected call of ErrorContext.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(msg any, args ...any) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) InfoContext

func (mr *MockLoggerMockRecorder) InfoContext(ctx, msg any, args ...any) *gomock.Call

InfoContext indicates an expected call of InfoContext.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(msg any, args ...any) *gomock.Call

Warn indicates an expected call of Warn.

func (*MockLoggerMockRecorder) WarnContext

func (mr *MockLoggerMockRecorder) WarnContext(ctx, msg any, args ...any) *gomock.Call

WarnContext indicates an expected call of WarnContext.

Jump to

Keyboard shortcuts

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