Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + var DefaultNerveSDConfig = NerveSDConfig + var DefaultServersetSDConfig = ServersetSDConfig + type Discovery struct + func NewDiscovery(srvs []string, timeout time.Duration, paths []string, logger log.Logger, ...) *Discovery + func NewNerveDiscovery(conf *NerveSDConfig, logger log.Logger) *Discovery + func NewServersetDiscovery(conf *ServersetSDConfig, logger log.Logger) *Discovery + func (d *Discovery) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type NerveSDConfig struct + Paths []string + Servers []string + Timeout model.Duration + XXX map[string]interface{} + func (c *NerveSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type ServersetSDConfig struct + Paths []string + Servers []string + Timeout model.Duration + XXX map[string]interface{} + func (c *ServersetSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error