Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/henrygd/beszel
/ GetAlertManager
Method
GetAlertManager
internal/alerts/alerts_test_helpers.go:24–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
}
23
24
func
(am *AlertManager) GetAlertManager() *AlertManager {
25
return
am
26
}
27
28
func
(am *AlertManager) GetPendingAlerts() *sync.Map {
29
return
&am.pendingAlerts
Callers
6
newSystemAlertTestFixture
Function · 0.80
TestDiskAlertExtraFsMultiMinute
Function · 0.80
TestBatteryAlertLogic
Function · 0.80
TestBatteryAlertNoBattery
Function · 0.80
TestBatteryAlertAveragedSamples
Function · 0.80
Cleanup
Method · 0.80
Calls
no outgoing calls
Tested by
5
newSystemAlertTestFixture
Function · 0.64
TestDiskAlertExtraFsMultiMinute
Function · 0.64
TestBatteryAlertLogic
Function · 0.64
TestBatteryAlertNoBattery
Function · 0.64
TestBatteryAlertAveragedSamples
Function · 0.64