mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
20 lines
290 B
Go
20 lines
290 B
Go
|
package export
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
var _ Job = new(stoppedJob)
|
||
|
|
||
|
type stoppedJob struct {
|
||
|
}
|
||
|
|
||
|
func (e *stoppedJob) getStatus() ExportStatus {
|
||
|
return ExportStatus{
|
||
|
Running: false,
|
||
|
Changed: time.Now().UnixMilli(),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (e *stoppedJob) getConfig() ExportConfig {
|
||
|
return ExportConfig{}
|
||
|
}
|