mirror of
https://github.com/Dvorinka/beszel.git
synced 2026-06-03 21:02:56 +00:00
Add public monitoring features and CI updates
- Add status pages, incidents, badges, maintenance, bulk ops, and metrics - Add Docker packaging, env example, and frontend routes - Refresh GitHub workflows and project metadata
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
package hub
|
||||
|
||||
import (
|
||||
"github.com/henrygd/beszel/internal/hub/domains"
|
||||
"github.com/henrygd/beszel/internal/hub/monitors"
|
||||
"github.com/henrygd/beszel/internal/hub/systems"
|
||||
)
|
||||
|
||||
@@ -24,3 +26,13 @@ func (h *Hub) SetPubkey(pubkey string) {
|
||||
func (h *Hub) SetCollectionAuthSettings() error {
|
||||
return setCollectionAuthSettings(h)
|
||||
}
|
||||
|
||||
// TESTING ONLY: GetDomainScheduler returns the domain scheduler
|
||||
func (h *Hub) GetDomainScheduler() *domains.Scheduler {
|
||||
return h.domainSched
|
||||
}
|
||||
|
||||
// TESTING ONLY: GetMonitorScheduler returns the monitor scheduler
|
||||
func (h *Hub) GetMonitorScheduler() *monitors.Scheduler {
|
||||
return h.monSched
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user