mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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 BoolFunc

type BoolFunc interface {
	Call(context.Context) (bool, error)
}

type Func

type Func interface {
	Call(context.Context) error
}

type IntFunc

type IntFunc interface {
	Call(context.Context) (int, error)
}

type MockBoolFunc

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

MockBoolFunc is a mock of BoolFunc interface.

func NewMockBoolFunc

func NewMockBoolFunc(ctrl *gomock.Controller) *MockBoolFunc

NewMockBoolFunc creates a new mock instance.

func (*MockBoolFunc) Call

func (m *MockBoolFunc) Call(arg0 context.Context) (bool, error)

Call mocks base method.

func (*MockBoolFunc) EXPECT

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

type MockBoolFuncMockRecorder

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

MockBoolFuncMockRecorder is the mock recorder for MockBoolFunc.

func (*MockBoolFuncMockRecorder) Call

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

Call indicates an expected call of Call.

type MockExecutor

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

MockExecutor is a mock of Executor interface.

func NewMockExecutor

func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor

NewMockExecutor creates a new mock instance.

func (*MockExecutor) EXPECT

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

func (*MockExecutor) Submit

func (m *MockExecutor) Submit(arg0 func())

Submit mocks base method.

type MockExecutorMockRecorder

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

MockExecutorMockRecorder is the mock recorder for MockExecutor.

func (*MockExecutorMockRecorder) Submit

func (mr *MockExecutorMockRecorder) Submit(arg0 interface{}) *gomock.Call

Submit indicates an expected call of Submit.

type MockFunc

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

MockFunc is a mock of Func interface.

func NewMockFunc

func NewMockFunc(ctrl *gomock.Controller) *MockFunc

NewMockFunc creates a new mock instance.

func (*MockFunc) Call

func (m *MockFunc) Call(arg0 context.Context) error

Call mocks base method.

func (*MockFunc) EXPECT

func (m *MockFunc) EXPECT() *MockFuncMockRecorder

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

type MockFuncMockRecorder

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

MockFuncMockRecorder is the mock recorder for MockFunc.

func (*MockFuncMockRecorder) Call

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

Call indicates an expected call of Call.

type MockIntFunc

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

MockIntFunc is a mock of IntFunc interface.

func NewMockIntFunc

func NewMockIntFunc(ctrl *gomock.Controller) *MockIntFunc

NewMockIntFunc creates a new mock instance.

func (*MockIntFunc) Call

func (m *MockIntFunc) Call(arg0 context.Context) (int, error)

Call mocks base method.

func (*MockIntFunc) EXPECT

func (m *MockIntFunc) EXPECT() *MockIntFuncMockRecorder

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

type MockIntFuncMockRecorder

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

MockIntFuncMockRecorder is the mock recorder for MockIntFunc.

func (*MockIntFuncMockRecorder) Call

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

Call indicates an expected call of Call.

type MockStringFunc

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

MockStringFunc is a mock of StringFunc interface.

func NewMockStringFunc

func NewMockStringFunc(ctrl *gomock.Controller) *MockStringFunc

NewMockStringFunc creates a new mock instance.

func (*MockStringFunc) Call

func (m *MockStringFunc) Call(arg0 context.Context) (string, error)

Call mocks base method.

func (*MockStringFunc) EXPECT

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

type MockStringFuncMockRecorder

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

MockStringFuncMockRecorder is the mock recorder for MockStringFunc.

func (*MockStringFuncMockRecorder) Call

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

Call indicates an expected call of Call.

type MockSubmitFunc

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

MockSubmitFunc is a mock of SubmitFunc interface.

func NewMockSubmitFunc

func NewMockSubmitFunc(ctrl *gomock.Controller) *MockSubmitFunc

NewMockSubmitFunc creates a new mock instance.

func (*MockSubmitFunc) Call

func (m *MockSubmitFunc) Call()

Call mocks base method.

func (*MockSubmitFunc) EXPECT

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

type MockSubmitFuncMockRecorder

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

MockSubmitFuncMockRecorder is the mock recorder for MockSubmitFunc.

func (*MockSubmitFuncMockRecorder) Call

Call indicates an expected call of Call.

type StringFunc

type StringFunc interface {
	Call(context.Context) (string, error)
}

type SubmitFunc

type SubmitFunc interface {
	Call()
}

Jump to

Keyboard shortcuts

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