borgmatic/borgmatic/hooks/monitor.py
2023-08-22 03:13:39 +02:00

10 lines
188 B
Python

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