type MockConfigurer struct { Valid bool `yaml:"valid"` ErrMsg string `yaml:"errmsg"` PName string `yaml:"pname"` PKind string `yaml:"pkind"` PTook config.Duration `yaml:"ptook"` PSuccess bool `yaml:"psuccess"` }
func (c MockConfigurer) Instrument() map[string]prometheus.Collector
func (c MockConfigurer) Kind() string
Kind returns a name that uniquely identifies the `Kind` of `Configurer`.
func (c MockConfigurer) MakeProber(_ map[string]prometheus.Collector) (probers.Prober, error)
func (c MockConfigurer) UnmarshalSettings(settings []byte) (probers.Configurer, error)
type MockProber struct {
// contains filtered or unexported fields
}
func (p MockProber) Kind() string
func (p MockProber) Name() string
func (p MockProber) Probe(timeout time.Duration) (bool, time.Duration)