Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Action []string
Global variable for cobra, list of actions to execute. If empty, all actions will be executed
var ActionFile string
Global variable for cobra, name of the config file describing the actions
var All bool
Global variable for cobra, handle/rm all uuids
var ConfigFile string
Global variable for cobra, storing the viper configuration file name
var HighlightUuid bool
Global variable for cobra, list highlights the UUID
var Host string
Global variable for cobra, hostname or IP (check subcommand)
var LogFile string
Global variable for cobra, name of the log file, "-" logs to stdout
var LogLevel string
Global variable for cobra, one of the zerolog log levels (TRACE, DEBUG, INFO, WARN, ERROR, FATAL,PANIC). Trace produces an extreme amount of log data, use with care on a small dataset
var Password string
Global variable for cobra, Password for connecting to Elasticsearch (check subcommand)
var Port int
Global variable for cobra, port of Elasticsearch (check subcommand)
var Proxy string
Global variable for cobra, URL of a proxy (check subcommand)
var ProxyIsSocks bool
Global variable for cobra, is the proxy a Socks proxy (check subcommand)
var ShowCommand bool
Global variable for cobra, show the rm/handle etc commands
var Timeout string
Global variable for cobra, timeout for the checks
var Timestamp string
Global variable for cobra, timestamp for the init function to use as start
var UseSSL bool
Global variable for cobra, used in the check subcommand
var User string
Global variable for cobra, User for connecting to Elasticsearch (check subcommand)
var Uuid []string
Global variable for cobra, list of uuids for handle and rm subcommands
var ValidateSSL bool
Global variable for cobra, validate the SSL certificate (check subcommand)
Functions ¶
func HandleConfigFile ¶
func HandleConfigFile() error
Load the configuration file if the parameter is set.
Types ¶
This section is empty.