Documentation ¶
Index ¶
- type QueueStorage
- func (_m *QueueStorage) Clear(taskName string)
- func (_m *QueueStorage) GetAllJobs(taskName string) []*taskqueueworker.Job
- func (_m *QueueStorage) NextJob(taskName string) *taskqueueworker.Job
- func (_m *QueueStorage) PopJob(taskName string) taskqueueworker.Job
- func (_m *QueueStorage) PushJob(job *taskqueueworker.Job)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueueStorage ¶
QueueStorage is an autogenerated mock type for the QueueStorage type
func (*QueueStorage) Clear ¶
func (_m *QueueStorage) Clear(taskName string)
Clear provides a mock function with given fields: taskName
func (*QueueStorage) GetAllJobs ¶
func (_m *QueueStorage) GetAllJobs(taskName string) []*taskqueueworker.Job
GetAllJobs provides a mock function with given fields: taskName
func (*QueueStorage) NextJob ¶
func (_m *QueueStorage) NextJob(taskName string) *taskqueueworker.Job
NextJob provides a mock function with given fields: taskName
func (*QueueStorage) PopJob ¶
func (_m *QueueStorage) PopJob(taskName string) taskqueueworker.Job
PopJob provides a mock function with given fields: taskName
func (*QueueStorage) PushJob ¶
func (_m *QueueStorage) PushJob(job *taskqueueworker.Job)
PushJob provides a mock function with given fields: job
Click to show internal directories.
Click to hide internal directories.