grafana/pkg/services/alerting
Emil Tullstedt b287047052
Chore: Upgrade Go to 1.19.1 (#54902)
* WIP

* Set public_suffix to a pre Ruby 2.6 version

* we don't need to install python

* Stretch->Buster

* Bump versions in lib.star

* Manually update linter

Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.

Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.

* undo reformatting

* Various lint improvements

* More from the linter

* goimports -w ./pkg/

* Disable gocritic

* Add/modify linter exceptions

* lint + flatten nested list

Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
..
conditions Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
metrics Alerting: Remove unused features from ticker + metric + tests (#47828) 2022-04-22 15:09:47 -04:00
notifiers Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
testdata Dashboard: Remove super old prop that has not been used in years (#50826) 2022-06-17 14:55:35 +02:00
alerting_usage_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
alerting_usage.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
engine_integration_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
engine_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
engine.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
eval_context_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
eval_context.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
eval_handler_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
eval_handler.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
extractor_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
extractor.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
interfaces.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
models.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
notifier_test.go manager exposes renderer + secrets manager (#54629) 2022-09-02 14:20:10 +02:00
notifier.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
reader.go Chore: Remove bus from alerting rule (#47508) 2022-04-08 14:30:25 +02:00
result_handler.go Chore: Remove bus from the alerting service (#44496) 2022-02-03 13:26:05 +01:00
rule_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
rule.go Chore: Remove bus from alerting rule (#47508) 2022-04-08 14:30:25 +02:00
scheduler.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
service_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
service.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
store_notification_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
store_notification.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
store_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
store.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
test_notification.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
test_rule.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
ticker_test.go Alerting: Make ticker to tick at predictable time (#50197) 2022-06-10 10:27:17 -04:00
ticker.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00