cmd

package
v0.0.0-...-abe9460 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Action []string

Global variable for cobra, list of actions to execute. If empty, all actions will be executed

View Source
var ActionFile string

Global variable for cobra, name of the config file describing the actions

View Source
var All bool

Global variable for cobra, handle/rm all uuids

View Source
var ConfigFile string

Global variable for cobra, storing the viper configuration file name

View Source
var HighlightUuid bool

Global variable for cobra, list highlights the UUID

View Source
var Host string

Global variable for cobra, hostname or IP (check subcommand)

View Source
var LogFile string

Global variable for cobra, name of the log file, "-" logs to stdout

View Source
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

View Source
var Password string

Global variable for cobra, Password for connecting to Elasticsearch (check subcommand)

View Source
var Port int

Global variable for cobra, port of Elasticsearch (check subcommand)

View Source
var Proxy string

Global variable for cobra, URL of a proxy (check subcommand)

View Source
var ProxyIsSocks bool

Global variable for cobra, is the proxy a Socks proxy (check subcommand)

View Source
var ShowCommand bool

Global variable for cobra, show the rm/handle etc commands

View Source
var Timeout string

Global variable for cobra, timeout for the checks

View Source
var Timestamp string

Global variable for cobra, timestamp for the init function to use as start

View Source
var UseSSL bool

Global variable for cobra, used in the check subcommand

View Source
var User string

Global variable for cobra, User for connecting to Elasticsearch (check subcommand)

View Source
var Uuid []string

Global variable for cobra, list of uuids for handle and rm subcommands

View Source
var ValidateSSL bool

Global variable for cobra, validate the SSL certificate (check subcommand)

Functions

func Execute

func Execute()

Run the checkcommand

func HandleConfigFile

func HandleConfigFile() error

Load the configuration file if the parameter is set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL