Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + func ProvidersFromConfig(cfg config.ServiceDiscoveryConfig, logger log.Logger) map[string]TargetProvider + type StaticProvider struct + TargetGroups []*config.TargetGroup + func NewStaticProvider(groups []*config.TargetGroup) *StaticProvider + func (sd *StaticProvider) Run(ctx context.Context, ch chan<- []*config.TargetGroup) + type Syncer interface + Sync func([]*config.TargetGroup) + type TargetProvider interface + Run func(ctx context.Context, up chan<- []*config.TargetGroup) + type TargetSet struct + func NewTargetSet(s Syncer) *TargetSet + func (ts *TargetSet) Run(ctx context.Context) + func (ts *TargetSet) UpdateProviders(p map[string]TargetProvider)