Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Analyzer ¶
func AnalyzerBySelector ¶
type C ¶
type C interface { Scrape(ctx context.Context, cfg ScrapeConfig) (ScrapeResults, error) AvailableMethods() []fetcher.FetchMethod }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(p *fetcher.FetcherPool) *Controller
func (*Controller) AvailableMethods ¶
func (c *Controller) AvailableMethods() []fetcher.FetchMethod
func (*Controller) Scrape ¶
func (c *Controller) Scrape(ctx context.Context, cfg ScrapeConfig) (ScrapeResults, error)
type ScrapeConfig ¶
Click to show internal directories.
Click to hide internal directories.