Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRun = errors.New("no next run")
Functions ¶
This section is empty.
Types ¶
type TaskService ¶
type TaskService struct {
// contains filtered or unexported fields
}
func NewTaskService ¶
func NewTaskService(db *gorm.DB, tasks []task.Task) *TaskService
func (*TaskService) ListTasks ¶
func (ts *TaskService) ListTasks() []task.Task
func (*TaskService) SyncDbTasks ¶
func (ts *TaskService) SyncDbTasks() error
type WorkerService ¶
type WorkerService struct {
// contains filtered or unexported fields
}
func NewWorkerService ¶
func NewWorkerService(db *gorm.DB, tasks []task.Task) *WorkerService
func (*WorkerService) ReportRun ¶
func (ws *WorkerService) ReportRun(req openapi.ReportWorkV1Request) error
Click to show internal directories.
Click to hide internal directories.