mocks

package
v0.0.0-...-dcfa3c0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobEnqueuerInterface

type JobEnqueuerInterface struct {
	mock.Mock
}

JobEnqueuerInterface is an autogenerated mock type for the JobEnqueuerInterface type

func NewJobEnqueuerInterface

func NewJobEnqueuerInterface(t mockConstructorTestingTNewJobEnqueuerInterface) *JobEnqueuerInterface

NewJobEnqueuerInterface creates a new instance of JobEnqueuerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*JobEnqueuerInterface) Enqueue

func (_m *JobEnqueuerInterface) Enqueue(jobName string, payload map[string]interface{}) (*work.Job, error)

Enqueue provides a mock function with given fields: jobName, payload

Jump to

Keyboard shortcuts

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