grafana/pkg/infra
sh0rez 3ca3a59079
pkg/web: remove dependency injection (#49123)
* pkg/web: store http.Handler internally

* pkg/web: remove injection

Removes any injection code from pkg/web.

It already was no longer functional, as we already only injected into
`http.Handler`, meaning we only inject ctx.Req and ctx.Resp.

Any other types (*Context, *ReqContext) were already accessed using the
http.Request.Context.Value() method.

* *: remove type mappings

Removes any call to the previously removed TypeMapper, as those were
non-functional already.

* pkg/web: remove Context.Invoke

was no longer used outside of pkg/web and also no longer functional
2022-05-24 15:35:08 -04:00
..
filestorage Chore: Rename integration tests (#49438) 2022-05-24 11:04:03 +02:00
fs test: use T.TempDir to create temporary test directory (#44947) 2022-03-22 15:43:29 +01:00
httpclient Security: fixes CVE-2022-29170 (#49240) 2022-05-19 17:01:09 +02:00
kvstore Chore: Rename integration tests (#49438) 2022-05-24 11:04:03 +02:00
localcache Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
log Chore: Make logger mutable for regression test (#49146) 2022-05-18 17:04:52 +02:00
metrics Encryption: Add support for multiple data keys per day (#47765) 2022-05-23 13:13:55 +02:00
network Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
process PluginsCatalog: adding error information about disabled plugins. (#39171) 2021-09-20 09:08:00 +02:00
remotecache Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
serverlock Chore: Rename integration tests (#49438) 2022-05-24 11:04:03 +02:00
tracing Fix: add default nop trace exporter to opentelemetry (#48869) 2022-05-10 11:29:36 +02:00
usagestats pkg/web: remove dependency injection (#49123) 2022-05-24 15:35:08 -04:00