promtest

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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