Documentation
¶
Index ¶
- type Manager
- func (_m *Manager) AllJobTypeStatus(ctx context.Context) (map[string]bool, error)
- func (_m *Manager) CreateOrUpdate(ctx context.Context, status *model.JobQueueStatus) (int64, error)
- func (_m *Manager) Get(ctx context.Context, jobType string) (*model.JobQueueStatus, error)
- func (_m *Manager) List(ctx context.Context) ([]*model.JobQueueStatus, error)
- func (_m *Manager) UpdateStatus(ctx context.Context, jobType string, paused bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. 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 (*Manager) AllJobTypeStatus ¶
AllJobTypeStatus provides a mock function with given fields: ctx
func (*Manager) CreateOrUpdate ¶
CreateOrUpdate provides a mock function with given fields: ctx, status
Click to show internal directories.
Click to hide internal directories.