Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCEDiscovery ¶ added in v1.4.0
type GCEDiscovery struct {
// contains filtered or unexported fields
}
GCEDiscovery periodically performs GCE-SD requests. It implements the TargetProvider interface.
func NewDiscovery ¶
func NewDiscovery(conf *config.GCESDConfig) (*GCEDiscovery, error)
NewGCEDiscovery returns a new GCEDiscovery which periodically refreshes its targets.
func (*GCEDiscovery) Run ¶ added in v1.4.0
func (gd *GCEDiscovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup)
Run implements the TargetProvider interface.
Click to show internal directories.
Click to hide internal directories.