worker

package
v0.13.0-rc.10 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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 MockGrpcWorker

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

MockGrpcWorker is a mock of GrpcWorker interface.

func NewMockGrpcWorker

func NewMockGrpcWorker(ctrl *gomock.Controller) *MockGrpcWorker

NewMockGrpcWorker creates a new mock instance.

func (*MockGrpcWorker) EXPECT

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

func (*MockGrpcWorker) HandleEvent

func (m *MockGrpcWorker) HandleEvent(arg0 *triggers.Event) error

HandleEvent mocks base method.

func (*MockGrpcWorker) HandleHttpRequest

func (m *MockGrpcWorker) HandleHttpRequest(arg0 *triggers.HttpRequest) (*triggers.HttpResponse, error)

HandleHttpRequest mocks base method.

func (*MockGrpcWorker) HandlesEvent

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

HandlesEvent mocks base method.

func (*MockGrpcWorker) HandlesHttpRequest

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

HandlesHttpRequest mocks base method.

func (*MockGrpcWorker) Listen

func (m *MockGrpcWorker) Listen(arg0 chan error)

Listen mocks base method.

type MockGrpcWorkerMockRecorder

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

MockGrpcWorkerMockRecorder is the mock recorder for MockGrpcWorker.

func (*MockGrpcWorkerMockRecorder) HandleEvent

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

HandleEvent indicates an expected call of HandleEvent.

func (*MockGrpcWorkerMockRecorder) HandleHttpRequest

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

HandleHttpRequest indicates an expected call of HandleHttpRequest.

func (*MockGrpcWorkerMockRecorder) HandlesEvent

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

HandlesEvent indicates an expected call of HandlesEvent.

func (*MockGrpcWorkerMockRecorder) HandlesHttpRequest

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

HandlesHttpRequest indicates an expected call of HandlesHttpRequest.

func (*MockGrpcWorkerMockRecorder) Listen

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

Listen indicates an expected call of Listen.

Jump to

Keyboard shortcuts

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