Documentation
¶
Overview ¶
Package config loads ShellGuard settings from file and environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Timeout *int `yaml:"timeout"`
MaxOutputBytes *int `yaml:"max_output_bytes"`
MaxDownloadBytes *int `yaml:"max_download_bytes"`
DownloadDir *string `yaml:"download_dir"`
MaxSleepSeconds *int `yaml:"max_sleep_seconds"`
SSH *SSHConfig `yaml:"ssh"`
ManifestDir *string `yaml:"manifest_dir"`
}
Config for ShellGuard. Pointer fields; nil = unset.
type SSHConfig ¶
type SSHConfig struct {
Mode *string `yaml:"mode"`
ConnectTimeout *duration `yaml:"connect_timeout"`
Retries *int `yaml:"retries"`
RetryBackoff *duration `yaml:"retry_backoff"`
HostKeyChecking *string `yaml:"host_key_checking"`
KnownHostsFile *string `yaml:"known_hosts_file"`
}
SSHConfig holds SSH-specific configuration.
Click to show internal directories.
Click to hide internal directories.