Add vCenter cache rebuild functionality and related API endpoint
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2026-02-16 08:46:38 +11:00
1 parent 6fbd6bc9d2
commit bc84931c37
7 files changed
+425 -24

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ func New(logger *slog.Logger, database db.Database, buildTime string, sha1ver st
mux.HandleFunc("/vcenters/totals", h.VcenterTotals)
mux.HandleFunc("/vcenters/totals/daily", h.VcenterTotalsDaily)
mux.HandleFunc("/vcenters/totals/hourly", h.VcenterTotalsHourlyDetailed)
mux.HandleFunc("/api/vcenters/cache/rebuild", h.VcenterCacheRebuild)
mux.HandleFunc("/metrics", h.Metrics)
mux.HandleFunc("/snapshots/hourly", h.SnapshotHourlyList)