grafana/pkg/services/serviceaccounts/database
Kristin Laemmert cc007e9727
chore: sqlstore cleanup (#60415)
* chore: remove unused test helper from sqlstore

TimeNow() is no longer used in any tests in this package.

* chore: move sqlstore.SQLBuilder to the infra/db package

This required some minor refactoring; we need to be a little more explicit about passing around the dialect and engine. On the other hand, that's a few fewer uses of the `dialect` global constant!

* chore: move UserDeletions into the only package using it

* cleanup around moving sqlbuilder

* remove dialect and sqlog global vars

* rename userDeletions to serviceAccountDeletions
2022-12-16 11:09:06 -05:00
..
errors.go Service account: Ensure that you can revert only service accounts which you can access (#52626) 2022-07-22 10:35:01 +02:00
stats_test.go Service Accounts: Separate metrics logic from store (#54085) 2022-08-23 08:24:55 -04:00
stats.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
store_test.go Auth: Service account store refactor (#58961) 2022-12-13 14:56:10 +01:00
store.go chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
token_store_test.go API Keys: Add revocation for SATs (#53896) 2022-08-18 16:54:39 +02:00
token_store.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00