mocks

package
v0.0.0-...-5a3acdd Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 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 MockLogWriter

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

MockLogWriter is a mock of LogWriter interface.

func NewMockLogWriter

func NewMockLogWriter(ctrl *gomock.Controller) *MockLogWriter

NewMockLogWriter creates a new mock instance.

func (*MockLogWriter) Close

func (m *MockLogWriter) Close() error

Close mocks base method.

func (*MockLogWriter) EXPECT

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

func (*MockLogWriter) WriteLog

func (m *MockLogWriter) WriteLog(arg0 *params.LogRecord) error

WriteLog mocks base method.

type MockLogWriterCloseCall

type MockLogWriterCloseCall struct {
	*gomock.Call
}

MockLogWriterCloseCall wrap *gomock.Call

func (*MockLogWriterCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockLogWriterCloseCall) DoAndReturn

func (c *MockLogWriterCloseCall) DoAndReturn(f func() error) *MockLogWriterCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLogWriterCloseCall) Return

Return rewrite *gomock.Call.Return

type MockLogWriterMockRecorder

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

MockLogWriterMockRecorder is the mock recorder for MockLogWriter.

func (*MockLogWriterMockRecorder) Close

Close indicates an expected call of Close.

func (*MockLogWriterMockRecorder) WriteLog

WriteLog indicates an expected call of WriteLog.

type MockLogWriterWriteLogCall

type MockLogWriterWriteLogCall struct {
	*gomock.Call
}

MockLogWriterWriteLogCall wrap *gomock.Call

func (*MockLogWriterWriteLogCall) Do

Do rewrite *gomock.Call.Do

func (*MockLogWriterWriteLogCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLogWriterWriteLogCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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