# Packages
No description provided by the author
No description provided by the author
Package http discoveryCopyright 2021 The Prometheus Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
MarshalYAMLWithInlineConfigs helps implement yaml.Marshal for structs that have a Configs field that should be inlined.
Name sets the name of the manager.
NewManager is the Discovery Manager constructor.
RegisterConfig registers the given Config type for YAML marshaling and unmarshaling.
No description provided by the author
UnmarshalYAMLWithInlineConfigs helps implement yaml.Unmarshal for structs that have a Configs field that should be inlined.
# Structs
DiscovererOptions provides options for a Discoverer.
Manager maintains a set of discovery providers and sends each update to a map channel.
StaticProvider holds a list of target groups that never change.
# Interfaces
A Config provides the configuration and constructor for a Discoverer.
Discoverer provides information about target groups.
# Type aliases
Configs is a slice of Config values that uses custom YAML marshaling and unmarshaling to represent itself as a mapping of the Config values grouped by their types.
A StaticConfig is a Config that provides a static list of targets.