Versions in this module Expand all Collapse all v2 v2.30.1 Jul 6, 2021 Changes in this version + var DefaultEC2SDConfig = EC2SDConfig + var DefaultLightsailSDConfig = LightsailSDConfig + type EC2Discovery struct + func NewEC2Discovery(conf *EC2SDConfig, logger log.Logger) *EC2Discovery + type EC2Filter struct + Name string + Values []string + type EC2SDConfig struct + AccessKey string + Endpoint string + Filters []*EC2Filter + Port int + Profile string + RefreshInterval model.Duration + Region string + RoleARN string + SecretKey config.Secret + func (*EC2SDConfig) Name() string + func (c *EC2SDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *EC2SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type LightsailDiscovery struct + func NewLightsailDiscovery(conf *LightsailSDConfig, logger log.Logger) *LightsailDiscovery + type LightsailSDConfig struct + AccessKey string + Endpoint string + Port int + Profile string + RefreshInterval model.Duration + Region string + RoleARN string + SecretKey config.Secret + func (*LightsailSDConfig) Name() string + func (c *LightsailSDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *LightsailSDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error