borgmatic/borgmatic/hooks/monitor.py

11 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