Add API endpoints to list scheduler enqueue events

This commit is contained in:
Ken Hibino
2020-12-26 10:05:19 -08:00
parent 245b0cb18c
commit 8d531c04cd
3 changed files with 50 additions and 1 deletions

View File

@@ -111,6 +111,7 @@ func main() {
// Scheduler Entry endpoints.
api.HandleFunc("/scheduler_entries", newListSchedulerEntriesHandlerFunc(inspector)).Methods("GET")
api.HandleFunc("/scheduler_entries/{entry_id}/enqueue_events", newListSchedulerEnqueueEventsHandlerFunc(inspector)).Methods("GET")
fs := &staticFileServer{staticPath: "ui/build", indexPath: "index.html"}
router.PathPrefix("/").Handler(fs)