File: __init__.py

package info (click to toggle)
python-haproxyadmin 0.2.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 436 kB
  • sloc: python: 1,500; makefile: 165; sh: 1
file content (21 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
"""
haproxyadmin
~~~~~~~~~~~~

A python library to interact with HAProxy over UNIX socket
"""
__title__ = 'haproxyadmin'
__author__ = 'Pavlos Parissis'
__license__ = 'Apache 2.0'
__version__ = '0.2.4'
__copyright__ = 'Copyright 2015-2019 Pavlos Parissis'

from haproxyadmin.haproxy import HAPROXY_METRICS
from haproxyadmin.frontend import FRONTEND_METRICS
from haproxyadmin.backend import BACKEND_METRICS
from haproxyadmin.server import (SERVER_METRICS, VALID_STATES,
                                 STATE_ENABLE, STATE_DISABLE, STATE_READY,
                                 STATE_DRAIN, STATE_MAINT)