Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
Job string
Scheduler string
Logger *zap.Logger
Hs JobHistoryService
// contains filtered or unexported fields
}
func (*Job) PrintNextRuntime ¶
func (jb *Job) PrintNextRuntime()
func (*Job) WithHistory ¶
func (jb *Job) WithHistory() cron.JobWrapper
type JobHistory ¶
type JobHistoryService ¶
type RamHistoryService ¶
func (*RamHistoryService) GetLastRuntime ¶
func (a *RamHistoryService) GetLastRuntime(job string) (time.Time, error)
func (*RamHistoryService) ToHistory ¶
func (a *RamHistoryService) ToHistory(job JobHistory) error
Click to show internal directories.
Click to hide internal directories.