mocks

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiddlewareFunc

type MiddlewareFunc struct {
	mock.Mock
}

MiddlewareFunc is an autogenerated mock type for the MiddlewareFunc type

func (*MiddlewareFunc) Execute

func (_m *MiddlewareFunc) Execute(_a0 context.Context) context.Context

Execute provides a mock function with given fields: _a0

type WorkerErrorHandler

type WorkerErrorHandler struct {
	mock.Mock
}

WorkerErrorHandler is an autogenerated mock type for the WorkerErrorHandler type

func (*WorkerErrorHandler) Execute

func (_m *WorkerErrorHandler) Execute(ctx context.Context, workerType types.Worker, workerName string, message []byte, err error)

Execute provides a mock function with given fields: ctx, workerType, workerName, message, err

type WorkerHandlerFunc

type WorkerHandlerFunc struct {
	mock.Mock
}

WorkerHandlerFunc is an autogenerated mock type for the WorkerHandlerFunc type

func (*WorkerHandlerFunc) Execute

func (_m *WorkerHandlerFunc) Execute(ctx context.Context, message []byte) error

Execute provides a mock function with given fields: ctx, message

type WorkerHandlerOptionFunc added in v1.7.0

type WorkerHandlerOptionFunc struct {
	mock.Mock
}

WorkerHandlerOptionFunc is an autogenerated mock type for the WorkerHandlerOptionFunc type

func (*WorkerHandlerOptionFunc) Execute added in v1.7.0

func (_m *WorkerHandlerOptionFunc) Execute(_a0 *types.WorkerHandler)

Execute provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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