borgmatic/borgmatic/hooks/monitor.py
2023-10-01 16:59:59 +00:00

10 lines
199 B
Python

from enum import Enum
MONITOR_HOOK_NAMES = ('apprise', 'healthchecks', 'cronitor', 'cronhub', 'pagerduty', 'ntfy', 'loki')
class State(Enum):
START = 1
FINISH = 2
FAIL = 3
LOG = 4