mock_worker

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_worker 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) StartWorkerPool

func (m *MockWorker) StartWorkerPool(arg0 func(interface{}) (reconcile.Result, error)) error

StartWorkerPool mocks base method.

func (*MockWorker) SubmitJob

func (m *MockWorker) SubmitJob(arg0 interface{})

SubmitJob mocks base method.

func (*MockWorker) SubmitJobAfter

func (m *MockWorker) SubmitJobAfter(arg0 interface{}, arg1 time.Duration)

SubmitJobAfter mocks base method.

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) StartWorkerPool

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

StartWorkerPool indicates an expected call of StartWorkerPool.

func (*MockWorkerMockRecorder) SubmitJob

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

SubmitJob indicates an expected call of SubmitJob.

func (*MockWorkerMockRecorder) SubmitJobAfter

func (mr *MockWorkerMockRecorder) SubmitJobAfter(arg0, arg1 interface{}) *gomock.Call

SubmitJobAfter indicates an expected call of SubmitJobAfter.

Jump to

Keyboard shortcuts

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