Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetcherTransport ¶
type FetcherTransport struct { GorouterConf config.GorouterConfig WrapTransport http.RoundTripper }
func NewFetcherTransport ¶
func NewFetcherTransport(gorouterConf config.GorouterConfig, transport http.RoundTripper) *FetcherTransport
type MetricsFetcher ¶
type MetricsFetcher struct {
// contains filtered or unexported fields
}
func NewMetricsFetcher ¶
func NewMetricsFetcher(scraper *scrapers.Scraper, routesFetcher RoutesFetch, externalExporters config.ExternalExporters) *MetricsFetcher
type RoutesFetch ¶ added in v0.10.0
type RoutesFetcher ¶
type RoutesFetcher struct {
// contains filtered or unexported fields
}
func NewRoutesFetcher ¶
func NewRoutesFetcher(confGorouters []config.GorouterConfig, healthCheck *healthchecks.HealthCheck) *RoutesFetcher
func (*RoutesFetcher) Routes ¶
func (f *RoutesFetcher) Routes() models.Routes
func (*RoutesFetcher) Run ¶
func (f *RoutesFetcher) Run()
Click to show internal directories.
Click to hide internal directories.