Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigurer ¶
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 (MockConfigurer) Instrument ¶
func (c MockConfigurer) Instrument() map[string]prometheus.Collector
func (MockConfigurer) Kind ¶
func (c MockConfigurer) Kind() string
Kind returns a name that uniquely identifies the `Kind` of `Configurer`.
func (MockConfigurer) MakeProber ¶
func (c MockConfigurer) MakeProber(_ map[string]prometheus.Collector) (probers.Prober, error)
func (MockConfigurer) UnmarshalSettings ¶
func (c MockConfigurer) UnmarshalSettings(settings []byte) (probers.Configurer, error)
type MockProber ¶
type MockProber struct {
// contains filtered or unexported fields
}
func (MockProber) Kind ¶
func (p MockProber) Kind() string
func (MockProber) Name ¶
func (p MockProber) Name() string
Click to show internal directories.
Click to hide internal directories.