keys

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Register - token to use for registering this CMA.
	Register      = "register"
	ForceRegister = "force_register"
	Inventory     = "inventory"
	Decommission  = "decommission"

	APIURL            = "api.url"
	APIToken          = "api.token"
	ManagerID         = "manager_id"
	RegistrationToken = "registration_token"
	RefreshToken      = "refresh_token"
	MachineID         = "machine_id"

	// frequency of polling for actions.
	ActionPollingInterval = "action_poll_interval"

	// frequency of tracking config checksums.
	TrackerPollingInterval = "tracker_poll_interval"

	// frequency of gathering agent status.
	StatusPollingInterval = "status_poll_interval"

	// AWS EC2 tags to be included in registration meta data.
	AWSEC2Tags = "aws_ec2_tags"

	// Tags are custom comma separated key:value tags to be added to meta data.
	Tags = "tags"

	ServerAddress           = "server.address"
	ServerReadTimeout       = "server.read_timeout"
	ServerWriteTimeout      = "server.write_timeout"
	ServerIdleTimeout       = "server.idle_timeout"
	ServerReadHeaderTimeout = "server.read_header_timeout"
	ServerHandlerTimeout    = "server.handler_timeout"
	ServerTLSEnable         = "server.tls_enable"
	ServerTLSKeyFile        = "server.tls_key_file"
	ServerTLSCertFile       = "server.tls_cert_file"

	// LogLevel logging level (panic, fatal, error, warn, info, debug, disabled).
	LogLevel = "log.level"

	// LogPretty output formatted log lines (for running in foreground).
	LogPretty = "log.pretty"

	// Debug enables debug messages.
	Debug = "debug"

	// UseMachineID - use the machine id or generate a uuid.
	UseMachineID = "use_machine_id"

	// InstanceID - provide an override for ephemeral environments (docker).
	InstanceID = "instance_id"
	// Agents - list of agents manager will manager (docker).
	Agents = "agents"

	// ShowVersion - show version information and exit.
	ShowVersion = "version"

	// Internal settings.
	InventoryFile    = "internal.inventory_file"
	JwtTokenFile     = "internal.jwt_token_file" //nolint:gosec
	ManagerIDFile    = "internal.manager_id_file"
	RefreshTokenFile = "internal.refresh_token_file"
	MachineIDFile    = "internal.machine_id_file"
)

Variables

This section is empty.

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