mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
22 lines
329 B
Go
22 lines
329 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{}
|
|
}
|
|
|
|
func (e *stoppedJob) requestStop() {}
|