Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
IP string `mapstructure:"ip"`
Mask int `mapstructure:"netmask"`
Iface string `mapstructure:"interface"`
HostingType string `mapstructure:"manager-type"`
Key string `mapstructure:"trigger-key"`
Nodename string `mapstructure:"trigger-value"` //hostname to trigger on. usually the name of the host where this vip-manager runs.
EndpointType string `mapstructure:"dcs-type"`
Endpoints []string `mapstructure:"dcs-endpoints"`
EtcdUser string `mapstructure:"etcd-user"`
EtcdPassword string `mapstructure:"etcd-password"`
EtcdCAFile string `mapstructure:"etcd-ca-file"`
EtcdCertFile string `mapstructure:"etcd-cert-file"`
EtcdKeyFile string `mapstructure:"etcd-key-file"`
ConsulToken string `mapstructure:"consul-token"`
Interval int `mapstructure:"interval"` //milliseconds
RetryAfter int `mapstructure:"retry-after"` //milliseconds
RetryNum int `mapstructure:"retry-num"`
Verbose bool `mapstructure:"verbose"`
}
Config represents the configuration of the VIP manager
Click to show internal directories.
Click to hide internal directories.