MCPcopy
hub / github.com/mcuadros/ofelia / Job

Interface Job

core/common.go:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type Job interface {
31 GetName() string
32 GetSchedule() string
33 GetCommand() string
34 Middlewares() []Middleware
35 Use(...Middleware)
36 Run(*Context) error
37 Running() int32
38 NotifyStart()
39 NotifyStop()
40}
41
42type Context struct {
43 Scheduler *Scheduler

Callers 33

LogMethod · 0.65
WarnMethod · 0.65
AddJobMethod · 0.65
ExecuteMethod · 0.65
saveToDiskMethod · 0.65
sendMailMethod · 0.65
buildMessageMethod · 0.65
AddJobMethod · 0.65
ExecuteMethod · 0.65
AddJobMethod · 0.65
startMethod · 0.65
ExecuteMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected