Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Hosts map[interface{}]interface{} `yaml:"hosts"` Metrics map[interface{}]interface{} `yaml:"metrics"` Title string `yaml:"title"` PollInterval int `yaml:"poll-interval"` }
func LoadConfig ¶
type Connection ¶
type Connection struct { Type string `mapstructure:"type"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` PrivateKeyPath string `mapstructure:"private_key_path"` PrivateKeyPassPhrase string `mapstructure:"private_key_passphrase"` Port int32 `mapstructure:"port"` Host string }
type DashboardInfo ¶
func GetDashboardInfoConfig ¶
func GetDashboardInfoConfig(config *Config) *DashboardInfo
func (*DashboardInfo) GetAllHostAddresses ¶
func (dashboardInfo *DashboardInfo) GetAllHostAddresses() (addresses HostList)
GetAllHostAddresses : returns list of all hosts in the dashboard
Click to show internal directories.
Click to hide internal directories.