grafana/pkg/cmd/grafana-cli/commands
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
..
commandstest Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
datamigrations Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
testdata grafana-cli: Fix security issue (#28888) 2021-01-15 17:50:50 +01:00
commands.go Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
install_command_test.go grafana-cli: Fix security issue (#28888) 2021-01-15 17:50:50 +01:00
install_command.go Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
listremote_command.go Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
listversions_command.go grafana-cli: Upgrade to urfave/cli v2 (#22402) 2020-02-26 12:27:31 +01:00
ls_command_test.go Tests: Batch of GoConvey to Testify conversions (#27008) 2020-08-14 14:43:25 +02:00
ls_command.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
remove_command.go grafana-cli: Upgrade to urfave/cli v2 (#22402) 2020-02-26 12:27:31 +01:00
reset_password_command.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
upgrade_all_command_test.go Chore: Disable scopelint for tests (#25923) 2020-06-30 11:05:47 +02:00
upgrade_all_command.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
upgrade_command.go Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00