Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareMetrics ¶
CompareMetrics asserts all metrics that are expected are present and checks their value It does not complain about additional metrics being present
func PrepareMetricsForTesting ¶
PrepareMetricsForTesting takes metrics from a channel and converts them to a map, mapping the metric (format `metric_example{label1=foo,bar=asdf}`) to it's value.
func PrepareOutputForTesting ¶
func PrepareOutputForTesting(input string) connector.SSHCommandContext
PrepareOutputForTesting takes a string and returns a ssh command context that reads the input linewise
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.