mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -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() {}
|