Documentation
¶
Overview ¶
Package gmondtest provides test helpers for gmond.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Harness ¶
The Harness provides an unique instance of gmond suitable for use in testing. Use NewHarness to create a Harness and start the gmond server, and ensure you 'defer h.Stop()' to shutdown the gmond server once the test has finished.
func NewHarness ¶
Create a new Harness. It will start the server and initialize the container Client.
func (*Harness) ContainsMetric ¶
Check if associated gmond instance contains the given metric.
Click to show internal directories.
Click to hide internal directories.