Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePrometheus ¶
type FakePrometheus struct {
// contains filtered or unexported fields
}
func NewFakePrometheus ¶
func NewFakePrometheus() *FakePrometheus
func (*FakePrometheus) ReadyConfig ¶
func (fp *FakePrometheus) ReadyConfig() config.PromReady
func (*FakePrometheus) ServeMux ¶
func (fp *FakePrometheus) ServeMux() *http.ServeMux
func (*FakePrometheus) SetIntervals ¶
func (fp *FakePrometheus) SetIntervals(is ...time.Duration)
func (*FakePrometheus) SetReady ¶
func (fp *FakePrometheus) SetReady(r bool)
func (*FakePrometheus) SetSegment ¶
func (fp *FakePrometheus) SetSegment(s int)
func (*FakePrometheus) Test ¶
func (fp *FakePrometheus) Test() *url.URL
Click to show internal directories.
Click to hide internal directories.