Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHistoryService ¶
Types ¶
type JobDetails ¶
type JobDetails struct {
gorm.Model
ext.JobHistory
}
type OrmJobHistoryService ¶
type OrmJobHistoryService struct {
DB *gorm.DB
Logger *zap.Logger
// contains filtered or unexported fields
}
func (*OrmJobHistoryService) GetLastRuntime ¶
func (hs *OrmJobHistoryService) GetLastRuntime(job string) (time.Time, error)
func (*OrmJobHistoryService) ToHistory ¶
func (hs *OrmJobHistoryService) ToHistory(job ext.JobHistory) error
Click to show internal directories.
Click to hide internal directories.