MCPcopy
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
24func (am *AlertManager) GetAlertManager() *AlertManager {
25 return am
26}
27
28func (am *AlertManager) GetPendingAlerts() *sync.Map {
29 return &am.pendingAlerts

Callers 6

TestBatteryAlertLogicFunction · 0.80
CleanupMethod · 0.80

Calls

no outgoing calls

Tested by 5

TestBatteryAlertLogicFunction · 0.64