Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery periodically performs EC2-SD requests. It implements the TargetProvider interface.
func NewDiscovery ¶
func NewDiscovery(conf *config.EC2SDConfig, logger log.Logger) *Discovery
NewDiscovery returns a new EC2Discovery which periodically refreshes its targets.
Click to show internal directories.
Click to hide internal directories.