Versions in this module Expand all Collapse all v0 v0.54.2 Jan 28, 2025 Changes in this version + var DefaultSDConfig = SDConfig + func NewDiscovery(conf *SDConfig, logger log.Logger, metrics discovery.DiscovererMetrics) (*refresh.Discovery, error) + type Discovery struct + type Role string + const HetznerRoleHcloud + const HetznerRoleRobot + func (c *Role) UnmarshalYAML(unmarshal func(interface{}) error) error + type SDConfig struct + HTTPClientConfig config.HTTPClientConfig + Port int + RefreshInterval model.Duration + Role Role + func (*SDConfig) Name() string + func (*SDConfig) NewDiscovererMetrics(reg prometheus.Registerer, rmi discovery.RefreshMetricsInstantiator) discovery.DiscovererMetrics + 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 v0.54.1-promotel-v1.0.0 Jan 28, 2025