Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "bacula_exporter" VER = "1.1.0" DESC = "Prometheus Exporter for Bacula" )
Basic info
View Source
const ( OPT_CONFIG = "c:config" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VERSION = "v:version" )
Options
View Source
const ( DB_USER = "db:username" DB_PASSWORD = "db:password" DB_HOST = "db:host" DB_PORT = "db:port" DB_NAME = "db:name" DB_SSLMODE = "db:sslmode" HTTP_IP = "http:ip" HTTP_PORT = "http:port" HTTP_ENDPOINT = "http:endpoint" LOG_OUTPUT = "log:output" LOG_DIR = "log:dir" LOG_FILE = "log:file" LOG_PERMS = "log:perms" LOG_LEVEL = "log:level" )
Configuration file props
View Source
const ( LOG_OUTPUT_FILE = "file" LOG_OUTPUT_CONSOLE = "console" )
Logger info
View Source
const (
DB_FORMAT = "%s:%s@(%s:%s)/%s"
)
DB info
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.