Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeScraper ¶
type FakeScraper struct {
// contains filtered or unexported fields
}
func NewFakeScraper ¶
func NewFakeScraper() *FakeScraper
func (*FakeScraper) Scrape ¶
func (fs *FakeScraper) Scrape() string
Scrape asks prometheus to handle a scrape request so we can capture and return the output.
func (*FakeScraper) WriteHeader ¶
func (d *FakeScraper) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.