mocks

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 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 NewMiddlewareFunc added in v1.11.21

func NewMiddlewareFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *MiddlewareFunc

NewMiddlewareFunc creates a new instance of MiddlewareFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MiddlewareFunc) Execute

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

Execute provides a mock function with given fields: _a0

type WorkerHandlerFunc

type WorkerHandlerFunc struct {
	mock.Mock
}

WorkerHandlerFunc is an autogenerated mock type for the WorkerHandlerFunc type

func NewWorkerHandlerFunc added in v1.11.21

func NewWorkerHandlerFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *WorkerHandlerFunc

NewWorkerHandlerFunc creates a new instance of WorkerHandlerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*WorkerHandlerFunc) Execute

func (_m *WorkerHandlerFunc) Execute(ctx *candishared.EventContext) error

Execute provides a mock function with given fields: ctx

type WorkerHandlerOptionFunc added in v1.7.0

type WorkerHandlerOptionFunc struct {
	mock.Mock
}

WorkerHandlerOptionFunc is an autogenerated mock type for the WorkerHandlerOptionFunc type

func NewWorkerHandlerOptionFunc added in v1.11.21

func NewWorkerHandlerOptionFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *WorkerHandlerOptionFunc

NewWorkerHandlerOptionFunc creates a new instance of WorkerHandlerOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

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