alertmanager/cli
Matthias Loibl a6d10bd5bc
Update golangci-lint and fix complaints (#2853)
* Copy latest golangci-lint files from Prometheus

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Use grafana/regexp over stdlib regexp

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Fix typos in comments

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Fix goimports complains in import sorting

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* gofumpt all Go files

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Update naming to comply with revive linter

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* config: Fix error messages to be lower case

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* test/cli: Fix error messages to be lower case

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* .golangci.yaml: Remove obsolete space

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* config: Fix expected victorOps error

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Use stdlib regexp

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Clean up Go modules

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-03-25 17:59:51 +01:00
..
config amtool to support http_config to access alertmanager (#2764) 2022-01-19 10:01:58 +01:00
format Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
testdata *: bump to Go 1.17 (#2792) 2021-12-22 14:03:53 +01:00
alert.go Add support for adding alerts using amtool (#1461) 2018-07-16 16:29:04 +02:00
alert_add.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
alert_query.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
check_config.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
check_config_test.go *: add missing license headers 2018-05-14 17:37:13 +02:00
cluster.go Add cluster command to show cluster and peer statuses. (#2256) 2020-05-18 15:25:15 +02:00
config.go cli: update amtool to use apiv2 2019-03-29 09:11:09 -05:00
root.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
routing.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
silence.go Add timeout support to amtool commands (#1471) 2018-07-17 09:50:48 +02:00
silence_add.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
silence_expire.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
silence_import.go Update go-openapi to latest 2021-03-10 19:00:22 +01:00
silence_query.go Allow filtering silences by createdBy author (#2718) 2021-11-09 13:10:19 +01:00
silence_update.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
template.go cli: add new template render command (#2538) 2021-08-04 13:58:33 +02:00
template_render.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
test_routing.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
test_routing_test.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
utils.go cli: Parse properly all matcher types 2021-02-16 14:22:59 +02:00