mocks

package
v0.0.0-...-6dcaeb9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-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) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Log

func (m *MockLogger) Log(arg0 []logger.LogRecord) error

Log mocks base method.

type MockLoggerCloser

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

MockLoggerCloser is a mock of LoggerCloser interface.

func NewMockLoggerCloser

func NewMockLoggerCloser(ctrl *gomock.Controller) *MockLoggerCloser

NewMockLoggerCloser creates a new mock instance.

func (*MockLoggerCloser) Close

func (m *MockLoggerCloser) Close() error

Close mocks base method.

func (*MockLoggerCloser) EXPECT

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

func (*MockLoggerCloser) Log

func (m *MockLoggerCloser) Log(arg0 []logger.LogRecord) error

Log mocks base method.

type MockLoggerCloserMockRecorder

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

MockLoggerCloserMockRecorder is the mock recorder for MockLoggerCloser.

func (*MockLoggerCloserMockRecorder) Close

Close indicates an expected call of Close.

func (*MockLoggerCloserMockRecorder) Log

Log indicates an expected call of Log.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Log

func (mr *MockLoggerMockRecorder) Log(arg0 any) *gomock.Call

Log indicates an expected call of Log.

Jump to

Keyboard shortcuts

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