Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combinations ¶
Combinations generates all Combinations of a given length from a slice of strings.
func LabelsToSeriesMetadata ¶
func LabelsToSeriesMetadata(lbls []labels.Labels) []types.SeriesMetadata
func RequireEqualResults ¶
func RequireEqualResults(t testing.TB, expr string, expected, actual *promql.Result, skipAnnotationComparison bool)
Why do we do this rather than require.Equal(t, expected, actual)? It's possible that floating point values are slightly different due to imprecision, but require.Equal doesn't allow us to set an allowable difference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.