grafana/pkg/plugins
Will Browne 8e6205c107
Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274)
* move guts from cli to server

* renaming + refactoring

* add pluginsDir arg

* arg fixes

* add support for repo URL override

* add funcs to interface

* use pluginID consistently

* swap args

* pass mandatory grafanaVersion field

* introduce logger interface

* create central logger for CLI

* add infra log wrapper

* re-add log initer step

* remove unused logger

* add checks for uninstalling

* improve debug blue

* make sure to close file

* fix linter issues

* remove space

* improve newline usage

* refactor packaging

* improve logger API

* fix interface func names

* close file and reformat zipslip catch

* handle G305 linter warning

* add helpful debug log
2021-04-26 16:13:40 +02:00
..
adapters Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
backendplugin TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00
manager Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
plugincontext Basic streaming plugin support (#31940) 2021-03-23 20:24:08 +03:00
plugindashboards PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
app_plugin.go Plugins: Support set body content in plugin routes (#32551) 2021-03-31 16:38:35 +02:00
backend_utils.go Chore: Fix various spelling errors in back-end code (#25241) 2020-06-01 17:11:25 +02:00
dashboards.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
dataframes.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
datasource_plugin_wrapper_test.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
datasource_plugin_wrapper_v2.go Basic streaming plugin support (#31940) 2021-03-23 20:24:08 +03:00
datasource_plugin_wrapper.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
datasource_plugin.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
error.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
frontend_plugin_test.go Backend: Migrate to using non-global configuration (#31856) 2021-03-10 12:41:29 +01:00
frontend_plugin.go Backend: Migrate to using non-global configuration (#31856) 2021-03-10 12:41:29 +01:00
ifaces.go Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
models.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
panel_plugin.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
plugins.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
renderer_plugin.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
state.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
tsdb.go TSDB: add deprecation comments to many tsdb structs (#33281) 2021-04-23 03:03:11 +02:00