testutil

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectAndCompare

func CollectAndCompare(t *testing.T, c prometheus.Collector, want string, metricNames ...string)

func DiscardMetrics

func DiscardMetrics(t *testing.T) chan<- prometheus.Metric

func MustParseURL

func MustParseURL(t *testing.T, raw string) *url.URL

Types

This section is empty.

Jump to

Keyboard shortcuts

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