conf

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options = []util.Option{

	{
		Default: false,
		Usage:   "suppress all output",
		Flag:    "quiet",
		Short:   "q",
	},
	{
		Default: false,
		Usage:   "display version and exit",
		Flag:    "version",
		Short:   "V",
	},
	{
		Default: "",
		Usage:   "path to configuration file",
		Flag:    "conf",
	},

	{
		Name:    "verbose",
		Default: 1,
		Usage:   "set verbosity level (0: silent, 1: warnings and errors, 2: verbose, 3: debug)",
		Flag:    "verbose",
		Short:   "v",
		Env:     "PANTO_AGENT_VERBOSE",
	},

	{
		Name:    "log.file",
		Default: "",
		Usage:   "path of a file to log output",
		Flag:    "log-file",
		Env:     "PANTO_AGENT_LOG_FILE",
	},
	{
		Name:    "log.syslog",
		Default: false,
		Usage:   "log output to syslog",
		Env:     "PANTO_AGENT_LOG_SYSLOG",
	},

	{
		Name:    "agent.name",
		Default: "",
		Usage:   "name of the agent in the Panto API",
		Flag:    "name",
		Short:   "n",
		Env:     "PANTO_AGENT_NAME",
	},
	{
		Name:    "agent.timeout",
		Default: 45 * time.Second,
		Usage:   "timeout on requests and connection",
		Flag:    "timeout",
		Env:     "PANTO_AGENT_TIMEOUT",
	},
	{
		Name:    "agent.configuration-dump",
		Default: "",
		Usage:   "Path for the configuration dump file",
		Flag:    "configuration-dump",
		Env:     "PANTO_AGENT_CONFIGURATION_DUMP",
	},
	{
		Name:    "agent.max-spooled-results",
		Default: 100,
		Usage:   "maximum number of results spooled while server can't be reached",
		Flag:    "max-spooled-results",
		Env:     "PANTO_MAX_SPOOLED_RESULTS",
	},
	{
		Name:    "agent.spooler-dump-path",
		Default: "",
		Usage:   "path of the dump file for the spooled results",
		Flag:    "spooler-dump-path",
		Env:     "PANTO_SPOOLER_DUMP_PATH",
	},

	{
		Name:    "server.address",
		Default: "",
		Usage:   "address of Panto server (host:port)",
	},
	{
		Name:    "server.certfile",
		Default: "",
		Usage:   "path to a TLS certificate file",
		Flag:    "certfile",
	},
	{
		Name:    "server.no-tls",
		Default: false,
		Usage:   "disable SSL/TLS",
		Flag:    "no-tls",
	},
}

Options is the list of options for the panto-agent executable

View Source
var ProbeOptions = []util.Option{
	{
		Name:    "probe-list",
		Default: false,
		Usage:   "list all available probes",
		Flag:    "list",
		Short:   "l",
	},
	{
		Name:    "probe-pretty",
		Default: false,
		Usage:   "pretty-print JSON",
		Flag:    "pretty",
	},
}

ProbeOptions is the list of options for the panto-agent probe command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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