Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "develop" GITCOMMIT = "HEAD" )
View Source
var SCHEDULE_TIME = "@every 60s"
Functions ¶
func VersionString ¶
func VersionString() string
Types ¶
type AggregateLogs ¶
type AggregateLogs struct {
// contains filtered or unexported fields
}
aggregate all log parts when final log_part created_at > 5 min or older the 1 day
func (AggregateLogs) Run ¶
func (c AggregateLogs) Run()
type FailExpiredJobs ¶
type FailExpiredJobs struct {
// contains filtered or unexported fields
}
fail jobs which the timeout + 60 sec has exceeded and still in queued or executing status
func (FailExpiredJobs) Run ¶
func (c FailExpiredJobs) Run()
type FailQueuedJobs ¶
type FailQueuedJobs struct {
// contains filtered or unexported fields
}
fail jobs which no heartbeat was send back after created_at + 60 sec
func (FailQueuedJobs) Run ¶
func (c FailQueuedJobs) Run()
type Janitor ¶
type Janitor struct {
Conf JanitorConf
}
func InitJanitor ¶
func InitJanitor(conf JanitorConf) *Janitor
func (*Janitor) InitScheduler ¶
func (j *Janitor) InitScheduler()
func (*Janitor) InitServer ¶
func (j *Janitor) InitServer()
type JanitorConf ¶
type PruneCertificates ¶
type PruneCertificates struct {
// contains filtered or unexported fields
}
func (PruneCertificates) Run ¶
func (c PruneCertificates) Run()
type PruneJobs ¶
type PruneJobs struct {
// contains filtered or unexported fields
}
delete jobs which are older than 30 days and the respective logs (use of ON DELETE CASCADE in the logs table)
type PruneLocks ¶
type PruneLocks struct {
// contains filtered or unexported fields
}
func (PruneLocks) Run ¶
func (c PruneLocks) Run()
type PruneTokens ¶
type PruneTokens struct {
// contains filtered or unexported fields
}
func (PruneTokens) Run ¶
func (c PruneTokens) Run()
Click to show internal directories.
Click to hide internal directories.