mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 2 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 MockWorker

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

MockWorker is a mock of Worker interface.

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Kill

func (m *MockWorker) Kill()

Kill mocks base method.

func (*MockWorker) Wait

func (m *MockWorker) Wait() error

Wait mocks base method.

type MockWorkerKillCall

type MockWorkerKillCall struct {
	*gomock.Call
}

MockWorkerKillCall wrap *gomock.Call

func (*MockWorkerKillCall) Do

func (c *MockWorkerKillCall) Do(f func()) *MockWorkerKillCall

Do rewrite *gomock.Call.Do

func (*MockWorkerKillCall) DoAndReturn

func (c *MockWorkerKillCall) DoAndReturn(f func()) *MockWorkerKillCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWorkerKillCall) Return

Return rewrite *gomock.Call.Return

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockWorkerMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockWorkerWaitCall

type MockWorkerWaitCall struct {
	*gomock.Call
}

MockWorkerWaitCall wrap *gomock.Call

func (*MockWorkerWaitCall) Do

func (c *MockWorkerWaitCall) Do(f func() error) *MockWorkerWaitCall

Do rewrite *gomock.Call.Do

func (*MockWorkerWaitCall) DoAndReturn

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockWorkerWaitCall) Return

func (c *MockWorkerWaitCall) Return(arg0 error) *MockWorkerWaitCall

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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