mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
Add MSP report scheduling and alert rollup
This commit is contained in:
parent
d43255889d
commit
4382919447
51 changed files with 3399 additions and 118 deletions
|
|
@ -16,6 +16,18 @@ type ReportingAdminEndpoints interface {
|
|||
HandleExportVMInventory(http.ResponseWriter, *http.Request)
|
||||
}
|
||||
|
||||
// ReportingScheduleAdminEndpoints is an optional extension surface for
|
||||
// scheduled report management. It is separate from ReportingAdminEndpoints so
|
||||
// existing enterprise binders keep compiling while newer binders can decorate
|
||||
// the schedule API explicitly.
|
||||
type ReportingScheduleAdminEndpoints interface {
|
||||
HandleListReportSchedules(http.ResponseWriter, *http.Request)
|
||||
HandleCreateReportSchedule(http.ResponseWriter, *http.Request)
|
||||
HandleUpdateReportSchedule(http.ResponseWriter, *http.Request)
|
||||
HandleDeleteReportSchedule(http.ResponseWriter, *http.Request)
|
||||
HandleRunReportSchedule(http.ResponseWriter, *http.Request)
|
||||
}
|
||||
|
||||
// WriteReportingErrorFunc writes a structured reporting error response.
|
||||
type WriteReportingErrorFunc func(http.ResponseWriter, int, string, string, map[string]string)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue