workers

package
v0.0.0-...-3eb0fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package workers 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) Start

func (m *MockWorker) Start(ctx context.Context)

Start mocks base method.

func (*MockWorker) Trigger

func (m *MockWorker) Trigger()

Trigger mocks base method.

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Start

func (mr *MockWorkerMockRecorder) Start(ctx interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockWorkerMockRecorder) Trigger

func (mr *MockWorkerMockRecorder) Trigger() *gomock.Call

Trigger indicates an expected call of Trigger.

type Worker

type Worker interface {
	Start(ctx context.Context)

	Trigger()
}

Jump to

Keyboard shortcuts

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