Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Hosts string `yaml:"hosts"` // file of hosts to configure User string `yaml:"user"` // username for host login Pass string `yaml:"pass"` // password for host login Keys []string `yaml:"keys"` // ssh private keys for authentication Accept string `yaml:"accept"` // group of hosts to accept connections to Timeout time.Duration `yaml:"timeout"` // time to wait to establish an ssh client connection Aliases []cmdSet `yaml:"aliases"` // aliases for configuration command sets Config []cmdSet `yaml:"config"` // sets of configuration commands to run // contains filtered or unexported fields }
Config represents a `netcfg` configuration file.
Click to show internal directories.
Click to hide internal directories.