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 + APIURL string + AccessKey string + HTTPClientConfig config.HTTPClientConfig + NameFilter string + Port int + Project string + RefreshInterval model.Duration + Role role + SecretKey config.Secret + SecretKeyFile string + TagsFilter []string + Zone string + func (c *SDConfig) SetDirectory(dir string) + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c SDConfig) Name() string + func (c SDConfig) NewDiscoverer(options discovery.DiscovererOptions) (discovery.Discoverer, error)