prometheus/model/labels
Bryan Boreham 5421c778ba labels: in tests use labels.FromStrings
Replacing code which assumes the internal structure of `Labels`.

Add a convenience function `EmptyLabels()` which is more efficient than
calling `New()`.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-09-09 13:34:49 +02:00
..
labels.go labels: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
labels_test.go labels: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
matcher.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
matcher_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
regexp.go Allow downstream projects to use faster regexp (#10251) 2022-02-08 11:03:20 +01:00
regexp_test.go Allow downstream projects to use faster regexp (#10251) 2022-02-08 11:03:20 +01:00
test_utils.go refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 2022-06-27 21:29:19 +02:00