Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateStatus ¶
UpdateStatus updates the schedule job status
Types ¶
type Scheduler ¶
type Scheduler interface { Schedule(policyID int64, cron string) error Unschedule(policyID int64) error }
Scheduler can be used to schedule or unschedule a scheduled policy Currently, the default scheduler implements its capabilities by delegating the scheduled job of jobservice
func NewScheduler ¶
NewScheduler returns an instance of scheduler
Click to show internal directories.
Click to hide internal directories.