worker

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package worker is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdapter added in v0.18.0

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

MockAdapter is a mock of Adapter interface.

func NewMockAdapter added in v0.18.0

func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter

NewMockAdapter creates a new mock instance.

func (*MockAdapter) EXPECT added in v0.18.0

func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder

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

func (*MockAdapter) HandleEvent added in v0.18.0

func (m *MockAdapter) HandleEvent(arg0 context.Context, arg1 *triggers.Event) error

HandleEvent mocks base method.

func (*MockAdapter) HandleHttpRequest added in v0.18.0

func (m *MockAdapter) HandleHttpRequest(arg0 context.Context, arg1 *triggers.HttpRequest) (*triggers.HttpResponse, error)

HandleHttpRequest mocks base method.

type MockAdapterMockRecorder added in v0.18.0

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

MockAdapterMockRecorder is the mock recorder for MockAdapter.

func (*MockAdapterMockRecorder) HandleEvent added in v0.18.0

func (mr *MockAdapterMockRecorder) HandleEvent(arg0, arg1 interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent.

func (*MockAdapterMockRecorder) HandleHttpRequest added in v0.18.0

func (mr *MockAdapterMockRecorder) HandleHttpRequest(arg0, arg1 interface{}) *gomock.Call

HandleHttpRequest indicates an expected call of HandleHttpRequest.

type MockWorker added in v0.18.0

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

MockWorker is a mock of Worker interface.

func NewMockWorker added in v0.18.0

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) EXPECT added in v0.18.0

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) HandleEvent added in v0.18.0

func (m *MockWorker) HandleEvent(arg0 context.Context, arg1 *triggers.Event) error

HandleEvent mocks base method.

func (*MockWorker) HandleHttpRequest added in v0.18.0

func (m *MockWorker) HandleHttpRequest(arg0 context.Context, arg1 *triggers.HttpRequest) (*triggers.HttpResponse, error)

HandleHttpRequest mocks base method.

func (*MockWorker) HandlesEvent added in v0.18.0

func (m *MockWorker) HandlesEvent(arg0 *triggers.Event) bool

HandlesEvent mocks base method.

func (*MockWorker) HandlesHttpRequest added in v0.18.0

func (m *MockWorker) HandlesHttpRequest(arg0 *triggers.HttpRequest) bool

HandlesHttpRequest mocks base method.

type MockWorkerMockRecorder added in v0.18.0

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) HandleEvent added in v0.18.0

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

HandleEvent indicates an expected call of HandleEvent.

func (*MockWorkerMockRecorder) HandleHttpRequest added in v0.18.0

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

HandleHttpRequest indicates an expected call of HandleHttpRequest.

func (*MockWorkerMockRecorder) HandlesEvent added in v0.18.0

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

HandlesEvent indicates an expected call of HandlesEvent.

func (*MockWorkerMockRecorder) HandlesHttpRequest added in v0.18.0

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

HandlesHttpRequest indicates an expected call of HandlesHttpRequest.

Jump to

Keyboard shortcuts

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