elstat/elstat/consts.py
Luna Mendes dcadfd4c76 blueprints.incidents: add api base
- add getting a single incident, getting multiple (with pages), and
 creating an incident

 - blueprints.streaming: add incident related OP codes
 - consts: add IncidentType
 - manager: add incidents channel, add publish_incident
 - elstat: add snowflake.py
2018-07-17 22:59:11 -03:00

13 lines
230 B
Python

from .adapters import HttpAdapter, PingAdapter
ADAPTERS = {
'http': HttpAdapter,
'ping': PingAdapter,
}
class IncidentType:
OUTAGE = 'outage'
PARTIAL_OUTAGE = 'partial_outage'
DEGRADED = 'degraded_service'