Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
ModuleName string
User string `yaml:"user"`
Password string `yaml:"password"`
PrivateKey string `yaml:"private_key"`
Certificate string `yaml:"certificate"`
KnownHosts string `yaml:"known_hosts"`
HostKeyAlgorithms []string `yaml:"host_key_algorithms"`
Timeout int `yaml:"timeout"`
Command string `yaml:"command"`
CommandExpect string `yaml:"command_expect"`
OutputMetric bool `yaml:"output_metric"`
OutputTruncate int `yaml:"output_truncate"`
}
type SafeConfig ¶
func (*SafeConfig) ReloadConfig ¶
func (sc *SafeConfig) ReloadConfig(configFile string) error
Click to show internal directories.
Click to hide internal directories.