alertmanager/cli
George Robinson 16aa996c4f
Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483)
* Add adapter package for parser feature flag

This commit adds the compat package allowing users to switch
between the new matchers/parse parser and the old pkg/labels parser.
The new matchers/parse parser uses a fallback mechanism where if
the input cannot be parsed in the new parser it then attempts to
use the old parser. If an input is parsed in the old parser but
not the new parser, then a warning log is emitted.

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2023-10-19 12:00:01 +01:00
..
config Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
format Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
testdata *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
alert_add.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
alert_query.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
alert.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
check_config_test.go *: add missing license headers 2018-05-14 17:37:13 +02:00
check_config.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
cluster.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
config.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
root.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
routing.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
silence_add.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
silence_expire.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
silence_import.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
silence_query.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
silence_update.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
silence.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
template_render.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
template.go Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2 2023-03-08 15:02:24 +01:00
test_routing_test.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
test_routing.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00
utils.go Support UTF-8 label matchers: Add compat package with feature flag and use in amtool (#3483) 2023-10-19 12:00:01 +01:00