ec2

package
Version: v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery added in v1.6.0

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.

func (*Discovery) Run added in v1.6.0

func (d *Discovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup)

Run implements the TargetProvider interface.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL