discoverer

package
v0.0.0-...-6993647 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DiscovererWriteTargetsErrorsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "discoverer_write_targets_errors_total",
		Help: "Counter of total number of target file write failures",
	})

	DiscovererWriteTargetsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "discoverer_write_targets_total",
		Help: "Counter of total number of target file writes",
	})

	DiscovererDNSDiscoveryErrorsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "discoverer_dns_discovery_errors_total",
		Help: "Counter of total number of DNS discovery errors",
	})

	DiscovererDNSDiscoveriesTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "discoverer_dns_discoveries_total",
		Help: "Counter of total number of DNS discoveries",
	})
)

Functions

This section is empty.

Types

type Discoverer

type Discoverer interface {
	Start()
	Stop()

	SetInterval(time.Duration)
}

func NewDiscoverer

func NewDiscoverer(
	aivenProject string,
	targetPath string,

	fetcher f.Fetcher,
	resolver r.Resolver,

	logger lager.Logger,
) (Discoverer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL