Documentation ¶
Index ¶
- type IndexedWorkQueue
- func (_m *IndexedWorkQueue) Get(id string) (workqueue.WorkItemInfo, bool, error)
- func (_m *IndexedWorkQueue) OnGet(id string) *IndexedWorkQueue_Get
- func (_m *IndexedWorkQueue) OnGetMatch(matchers ...interface{}) *IndexedWorkQueue_Get
- func (_m *IndexedWorkQueue) OnQueue(ctx context.Context, id string, once workqueue.WorkItem) *IndexedWorkQueue_Queue
- func (_m *IndexedWorkQueue) OnQueueMatch(matchers ...interface{}) *IndexedWorkQueue_Queue
- func (_m *IndexedWorkQueue) OnStart(ctx context.Context) *IndexedWorkQueue_Start
- func (_m *IndexedWorkQueue) OnStartMatch(matchers ...interface{}) *IndexedWorkQueue_Start
- func (_m *IndexedWorkQueue) Queue(ctx context.Context, id string, once workqueue.WorkItem) error
- func (_m *IndexedWorkQueue) Start(ctx context.Context) error
- type IndexedWorkQueue_Get
- type IndexedWorkQueue_Queue
- type IndexedWorkQueue_Start
- type Processor
- type Processor_Process
- type WorkItem
- type WorkItemInfo
- func (_m *WorkItemInfo) Error() error
- func (_m *WorkItemInfo) ID() string
- func (_m *WorkItemInfo) Item() workqueue.WorkItem
- func (_m *WorkItemInfo) OnError() *WorkItemInfo_Error
- func (_m *WorkItemInfo) OnErrorMatch(matchers ...interface{}) *WorkItemInfo_Error
- func (_m *WorkItemInfo) OnID() *WorkItemInfo_ID
- func (_m *WorkItemInfo) OnIDMatch(matchers ...interface{}) *WorkItemInfo_ID
- func (_m *WorkItemInfo) OnItem() *WorkItemInfo_Item
- func (_m *WorkItemInfo) OnItemMatch(matchers ...interface{}) *WorkItemInfo_Item
- func (_m *WorkItemInfo) OnStatus() *WorkItemInfo_Status
- func (_m *WorkItemInfo) OnStatusMatch(matchers ...interface{}) *WorkItemInfo_Status
- func (_m *WorkItemInfo) Status() workqueue.WorkStatus
- type WorkItemInfo_Error
- type WorkItemInfo_ID
- type WorkItemInfo_Item
- type WorkItemInfo_Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexedWorkQueue ¶
IndexedWorkQueue is an autogenerated mock type for the IndexedWorkQueue type
func (*IndexedWorkQueue) Get ¶
func (_m *IndexedWorkQueue) Get(id string) (workqueue.WorkItemInfo, bool, error)
Get provides a mock function with given fields: id
func (*IndexedWorkQueue) OnGet ¶
func (_m *IndexedWorkQueue) OnGet(id string) *IndexedWorkQueue_Get
func (*IndexedWorkQueue) OnGetMatch ¶
func (_m *IndexedWorkQueue) OnGetMatch(matchers ...interface{}) *IndexedWorkQueue_Get
func (*IndexedWorkQueue) OnQueue ¶
func (_m *IndexedWorkQueue) OnQueue(ctx context.Context, id string, once workqueue.WorkItem) *IndexedWorkQueue_Queue
func (*IndexedWorkQueue) OnQueueMatch ¶
func (_m *IndexedWorkQueue) OnQueueMatch(matchers ...interface{}) *IndexedWorkQueue_Queue
func (*IndexedWorkQueue) OnStart ¶
func (_m *IndexedWorkQueue) OnStart(ctx context.Context) *IndexedWorkQueue_Start
func (*IndexedWorkQueue) OnStartMatch ¶
func (_m *IndexedWorkQueue) OnStartMatch(matchers ...interface{}) *IndexedWorkQueue_Start
type IndexedWorkQueue_Get ¶
func (IndexedWorkQueue_Get) Return ¶
func (_m IndexedWorkQueue_Get) Return(info workqueue.WorkItemInfo, found bool, err error) *IndexedWorkQueue_Get
type IndexedWorkQueue_Queue ¶
func (IndexedWorkQueue_Queue) Return ¶
func (_m IndexedWorkQueue_Queue) Return(_a0 error) *IndexedWorkQueue_Queue
type IndexedWorkQueue_Start ¶
func (IndexedWorkQueue_Start) Return ¶
func (_m IndexedWorkQueue_Start) Return(_a0 error) *IndexedWorkQueue_Start
type Processor ¶
Processor is an autogenerated mock type for the Processor type
func (*Processor) OnProcessMatch ¶
func (_m *Processor) OnProcessMatch(matchers ...interface{}) *Processor_Process
type Processor_Process ¶
func (Processor_Process) Return ¶
func (_m Processor_Process) Return(_a0 workqueue.WorkStatus, _a1 error) *Processor_Process
type WorkItemInfo ¶
WorkItemInfo is an autogenerated mock type for the WorkItemInfo type
func (*WorkItemInfo) Error ¶
func (_m *WorkItemInfo) Error() error
Error provides a mock function with given fields:
func (*WorkItemInfo) ID ¶
func (_m *WorkItemInfo) ID() string
ID provides a mock function with given fields:
func (*WorkItemInfo) Item ¶
func (_m *WorkItemInfo) Item() workqueue.WorkItem
Item provides a mock function with given fields:
func (*WorkItemInfo) OnError ¶
func (_m *WorkItemInfo) OnError() *WorkItemInfo_Error
func (*WorkItemInfo) OnErrorMatch ¶
func (_m *WorkItemInfo) OnErrorMatch(matchers ...interface{}) *WorkItemInfo_Error
func (*WorkItemInfo) OnID ¶
func (_m *WorkItemInfo) OnID() *WorkItemInfo_ID
func (*WorkItemInfo) OnIDMatch ¶
func (_m *WorkItemInfo) OnIDMatch(matchers ...interface{}) *WorkItemInfo_ID
func (*WorkItemInfo) OnItem ¶
func (_m *WorkItemInfo) OnItem() *WorkItemInfo_Item
func (*WorkItemInfo) OnItemMatch ¶
func (_m *WorkItemInfo) OnItemMatch(matchers ...interface{}) *WorkItemInfo_Item
func (*WorkItemInfo) OnStatus ¶
func (_m *WorkItemInfo) OnStatus() *WorkItemInfo_Status
func (*WorkItemInfo) OnStatusMatch ¶
func (_m *WorkItemInfo) OnStatusMatch(matchers ...interface{}) *WorkItemInfo_Status
func (*WorkItemInfo) Status ¶
func (_m *WorkItemInfo) Status() workqueue.WorkStatus
Status provides a mock function with given fields:
type WorkItemInfo_Error ¶
func (WorkItemInfo_Error) Return ¶
func (_m WorkItemInfo_Error) Return(_a0 error) *WorkItemInfo_Error
type WorkItemInfo_ID ¶
func (WorkItemInfo_ID) Return ¶
func (_m WorkItemInfo_ID) Return(_a0 string) *WorkItemInfo_ID
type WorkItemInfo_Item ¶
func (WorkItemInfo_Item) Return ¶
func (_m WorkItemInfo_Item) Return(_a0 workqueue.WorkItem) *WorkItemInfo_Item
type WorkItemInfo_Status ¶
func (WorkItemInfo_Status) Return ¶
func (_m WorkItemInfo_Status) Return(_a0 workqueue.WorkStatus) *WorkItemInfo_Status
Click to show internal directories.
Click to hide internal directories.