Versions in this module Expand all Collapse all v1 v1.5.0 Jan 30, 2022 Changes in this version + var DefaultSDConfig = SDConfig + func NewDiscovery(conf *SDConfig, logger *zap.Logger) (*refresh.Discovery, error) + type Discovery struct + type SDConfig struct + HTTPClientConfig config.HTTPClientConfig + Port int + RefreshInterval model.Duration + Role role + func (*SDConfig) Name() string + func (c *SDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error