borgmatic/borgmatic/hooks/monitor.py

10 lines
160 B
Python
Raw Normal View History

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