mock

package
v0.0.0-...-0e6e691 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockILog

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

MockILog is a mock of ILog interface.

func NewMockILog

func NewMockILog(ctrl *gomock.Controller) *MockILog

NewMockILog creates a new mock instance.

func (*MockILog) EXPECT

func (m *MockILog) EXPECT() *MockILogMockRecorder

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

func (*MockILog) Fatal

func (m *MockILog) Fatal(v ...any)

Fatal mocks base method.

func (*MockILog) Fatalf

func (m *MockILog) Fatalf(format string, v ...any)

Fatalf mocks base method.

func (*MockILog) Fatalln

func (m *MockILog) Fatalln(v ...any)

Fatalln mocks base method.

func (*MockILog) Flags

func (m *MockILog) Flags() int

Flags mocks base method.

func (*MockILog) Output

func (m *MockILog) Output(calldepth int, s string) error

Output mocks base method.

func (*MockILog) Panic

func (m *MockILog) Panic(v ...any)

Panic mocks base method.

func (*MockILog) Panicf

func (m *MockILog) Panicf(format string, v ...any)

Panicf mocks base method.

func (*MockILog) Panicln

func (m *MockILog) Panicln(v ...any)

Panicln mocks base method.

func (*MockILog) Prefix

func (m *MockILog) Prefix() string

Prefix mocks base method.

func (*MockILog) Print

func (m *MockILog) Print(v ...any)

Print mocks base method.

func (*MockILog) Printf

func (m *MockILog) Printf(format string, v ...any)

Printf mocks base method.

func (*MockILog) Println

func (m *MockILog) Println(v ...any)

Println mocks base method.

func (*MockILog) SetOutput

func (m *MockILog) SetOutput(w io.Writer)

SetOutput mocks base method.

func (*MockILog) SetPrefix

func (m *MockILog) SetPrefix(prefix string)

SetPrefix mocks base method.

func (*MockILog) Writer

func (m *MockILog) Writer() io.Writer

Writer mocks base method.

type MockILogMockRecorder

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

MockILogMockRecorder is the mock recorder for MockILog.

func (*MockILogMockRecorder) Fatal

func (mr *MockILogMockRecorder) Fatal(v ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockILogMockRecorder) Fatalf

func (mr *MockILogMockRecorder) Fatalf(format interface{}, v ...interface{}) *gomock.Call

Fatalf indicates an expected call of Fatalf.

func (*MockILogMockRecorder) Fatalln

func (mr *MockILogMockRecorder) Fatalln(v ...interface{}) *gomock.Call

Fatalln indicates an expected call of Fatalln.

func (*MockILogMockRecorder) Flags

func (mr *MockILogMockRecorder) Flags() *gomock.Call

Flags indicates an expected call of Flags.

func (*MockILogMockRecorder) Output

func (mr *MockILogMockRecorder) Output(calldepth, s interface{}) *gomock.Call

Output indicates an expected call of Output.

func (*MockILogMockRecorder) Panic

func (mr *MockILogMockRecorder) Panic(v ...interface{}) *gomock.Call

Panic indicates an expected call of Panic.

func (*MockILogMockRecorder) Panicf

func (mr *MockILogMockRecorder) Panicf(format interface{}, v ...interface{}) *gomock.Call

Panicf indicates an expected call of Panicf.

func (*MockILogMockRecorder) Panicln

func (mr *MockILogMockRecorder) Panicln(v ...interface{}) *gomock.Call

Panicln indicates an expected call of Panicln.

func (*MockILogMockRecorder) Prefix

func (mr *MockILogMockRecorder) Prefix() *gomock.Call

Prefix indicates an expected call of Prefix.

func (*MockILogMockRecorder) Print

func (mr *MockILogMockRecorder) Print(v ...interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockILogMockRecorder) Printf

func (mr *MockILogMockRecorder) Printf(format interface{}, v ...interface{}) *gomock.Call

Printf indicates an expected call of Printf.

func (*MockILogMockRecorder) Println

func (mr *MockILogMockRecorder) Println(v ...interface{}) *gomock.Call

Println indicates an expected call of Println.

func (*MockILogMockRecorder) SetOutput

func (mr *MockILogMockRecorder) SetOutput(w interface{}) *gomock.Call

SetOutput indicates an expected call of SetOutput.

func (*MockILogMockRecorder) SetPrefix

func (mr *MockILogMockRecorder) SetPrefix(prefix interface{}) *gomock.Call

SetPrefix indicates an expected call of SetPrefix.

func (*MockILogMockRecorder) Writer

func (mr *MockILogMockRecorder) Writer() *gomock.Call

Writer indicates an expected call of Writer.

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(arg0 string, arg1 ...log.Field)

Debug 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(arg0 string, arg1 ...log.Field)

Error mocks base method.

func (*MockLogger) Fatal

func (m *MockLogger) Fatal(arg0 string, arg1 ...log.Field)

Fatal mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 string, arg1 ...log.Field)

Info mocks base method.

func (*MockLogger) Panic

func (m *MockLogger) Panic(arg0 string, arg1 ...log.Field)

Panic mocks base method.

func (*MockLogger) SetLevel

func (m *MockLogger) SetLevel(arg0 log.Level)

SetLevel mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(arg0 string, arg1 ...log.Field)

Warn 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(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Fatal

func (mr *MockLoggerMockRecorder) Fatal(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Panic

func (mr *MockLoggerMockRecorder) Panic(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Panic indicates an expected call of Panic.

func (*MockLoggerMockRecorder) SetLevel

func (mr *MockLoggerMockRecorder) SetLevel(arg0 interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

Jump to

Keyboard shortcuts

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