Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureDiscovery ¶
type AzureDiscovery struct {
// contains filtered or unexported fields
}
AzureDiscovery periodically performs Azure-SD requests. It implements the TargetProvider interface.
func NewDiscovery ¶
func NewDiscovery(cfg *config.AzureSDConfig) *AzureDiscovery
NewDiscovery returns a new AzureDiscovery which periodically refreshes its targets.
func (*AzureDiscovery) Run ¶
func (ad *AzureDiscovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup)
Run implements the TargetProvider interface.
Click to show internal directories.
Click to hide internal directories.