borgmatic/borgmatic/hooks/monitor.py

11 lines
199 B
Python
Raw Permalink Normal View History

from enum import Enum
2023-09-21 19:44:12 +00:00
MONITOR_HOOK_NAMES = ('apprise', 'healthchecks', 'cronitor', 'cronhub', 'pagerduty', 'ntfy', 'loki')
class State(Enum):
START = 1
FINISH = 2
FAIL = 3
LOG = 4