Versions in this module Expand all Collapse all v2 v2.6.2 Aug 12, 2022 Changes in this version + var DefaultSDConfig = SDConfig + type Discovery struct + func NewDiscovery(conf *SDConfig, logger log.Logger) (*Discovery, error) + func (d *Discovery) Run(ctx context.Context, ch chan<- []*targetgroup.Group) + type SDConfig struct + AllowStale bool + Datacenter string + NodeMeta map[string]string + Password config.Secret + RefreshInterval model.Duration + Scheme string + Server string + ServiceTags []string + Services []string + TLSConfig config.TLSConfig + TagSeparator string + Token config.Secret + Username string + func (*SDConfig) Name() string + func (c *SDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *SDConfig) SetDirectory(dir string) + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error