Versions in this module Expand all Collapse all v0 v0.1.40 Jun 15, 2026 v0.1.39 Jun 14, 2026 Changes in this version + type HealthChecker struct + func NewHealthChecker(store *store.Store, docker *docker.Client, dataDir, backupDir string, ...) *HealthChecker + func (hc *HealthChecker) CloseInstanceConnections(instanceName string) + func (hc *HealthChecker) ResetInProgressRecords() error + func (hc *HealthChecker) RunHealthCheck(ctx context.Context) error + type HealthNotificationEvaluator struct + func NewHealthNotificationEvaluator(store *store.Store) *HealthNotificationEvaluator + func (e *HealthNotificationEvaluator) EvaluateAndNotify(ctx context.Context) error + type HostCheckResult struct + CPUOK bool + DiskSpaceOK bool + DockerOK bool + FailMsg string + type InstanceHealthResult struct + BrokenInstances []string + FailMsg string + HealthyInstances []string + type NotificationSender struct + func NewNotificationSender(notifStore *notifications.NotificationStore, kvstore *store.Store) *NotificationSender + func (s *NotificationSender) Send(ctx context.Context, name, subject, body string) error + func (s *NotificationSender) SendToAll(ctx context.Context, subject, body string) error + func (s *NotificationSender) Test(ctx context.Context) error + type NotificationState int + const StateDegraded + const StateHealthy + const StateUnknown + func (s NotificationState) String() string