grafana/pkg/services/provisioning/plugins
Eng Zer Jun cf1945d0c3
Tests: use t.Setenv to set env vars (#69516)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-06-05 11:31:03 +02:00
..
testdata/test-configs Provisioning: Adds support for enabling app plugins (#25649) 2020-06-22 17:49:13 +02:00
config_reader_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
config_reader.go chore: move plugins models into pluginsettings svc (#61944) 2023-01-23 13:56:20 -05:00
plugin_provisioner_test.go Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
plugin_provisioner.go Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
types.go Provisioning: Adds support for enabling app plugins (#25649) 2020-06-22 17:49:13 +02:00