Documentation ¶
Overview ¶
Package config parses command-line/environment/config file arguments and make available to other packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Opts struct { Conf string `long:"conf" description:"esalert config file"` AlertFileDir string `long:"alerts" short:"a" required:"true" description:"A yaml file, or directory with yaml files, containing alert definitions"` LuaInit string `long:"lua-init" description:"If set the given lua script file will be executed at the initialization of every lua vm"` LuaVMs int `` /* 254-byte string literal not displayed */ SlackWebhook string `long:"slack-webhook" description:"Slack webhook url, required if using any Slack actions"` ForceRun string `` /* 154-byte string literal not displayed */ LogLevel string `long:"log-level" default:"info" description:"Adjust the log level. Valid options are: error, warn, info, debug"` }
Opts configs
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.