Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiddlewareFunc ¶
MiddlewareFunc is an autogenerated mock type for the MiddlewareFunc type
func NewMiddlewareFunc ¶ added in v1.11.21
func NewMiddlewareFunc(t mockConstructorTestingTNewMiddlewareFunc) *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.
type WorkerErrorHandler ¶
WorkerErrorHandler is an autogenerated mock type for the WorkerErrorHandler type
type WorkerHandlerFunc ¶
WorkerHandlerFunc is an autogenerated mock type for the WorkerHandlerFunc type
func NewWorkerHandlerFunc ¶ added in v1.11.21
func NewWorkerHandlerFunc(t mockConstructorTestingTNewWorkerHandlerFunc) *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.
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
WorkerHandlerOptionFunc is an autogenerated mock type for the WorkerHandlerOptionFunc type
func NewWorkerHandlerOptionFunc ¶ added in v1.11.21
func NewWorkerHandlerOptionFunc(t mockConstructorTestingTNewWorkerHandlerOptionFunc) *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.
func (*WorkerHandlerOptionFunc) Execute ¶ added in v1.7.0
func (_m *WorkerHandlerOptionFunc) Execute(_a0 *types.WorkerHandler)
Execute provides a mock function with given fields: _a0