grafana/pkg/services/export/stopped_job.go
2022-07-07 11:02:01 -07:00

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() {}