grafana/pkg/cmd/grafana-cli/commands
Will Browne c39d6ad97d
Plugins: Enable plugin runtime install/uninstall capabilities (#33836)
* add uninstall flow

* add install flow

* small cleanup

* smaller-footprint solution

* cleanup + make bp start auto

* fix interface contract

* improve naming

* accept version arg

* ensure use of shared logger

* make installer a field

* add plugin decommissioning

* add basic error checking

* fix api docs

* making initialization idempotent

* add mutex

* fix comment

* fix test

* add test for decommission

* improve existing test

* add more test coverage

* more tests

* change test func to use read lock

* refactoring + adding test asserts

* improve purging old install flow

* improve dupe checking

* change log name

* skip over dupe scanned

* make test assertion more flexible

* remove trailing line

* fix pointer receiver name

* update comment

* add context to API

* add config flag

* add base http api test + fix update functionality

* simplify existing check

* clean up test

* refactor tests based on feedback

* add single quotes to errs

* use gcmp in tests + fix logo issue

* make plugin list testing more flexible

* address feedback

* fix API test

* fix linter

* undo preallocate

* Update docs/sources/administration/configuration.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/administration/configuration.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/administration/configuration.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* fix linting issue in test

* add docs placeholder

* update install notes

* Update docs/sources/plugins/marketplace.md

Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>

* update access wording

* add more placeholder docs

* add link to more info

* PR feedback - improved errors, refactor, lock fix

* improve err details

* propagate plugin version errors

* don't autostart renderer

* add H1

* fix imports

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
2021-05-12 20:05:16 +02:00
..
commandstest Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
datamigrations
testdata Scuemata: Simplify grafana-cli cue validation tests (#33913) 2021-05-11 15:11:17 +03:00
commands.go Scuemata: Add grafana-cli command to validate basic scuemata (#33523) 2021-05-06 18:21:08 +02:00
install_command_test.go grafana-cli: Fix security issue (#28888) 2021-01-15 17:50:50 +01:00
install_command.go Plugins: Enable plugin runtime install/uninstall capabilities (#33836) 2021-05-12 20:05:16 +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
ls_command_test.go
ls_command.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
remove_command.go
reset_password_command.go
scuemata_validation_command_test.go Scuemata: Simplify grafana-cli cue validation tests (#33913) 2021-05-11 15:11:17 +03:00
scuemata_validation_command.go Scuemata: Add grafana-cli command to validate basic scuemata (#33523) 2021-05-06 18:21:08 +02:00
upgrade_all_command_test.go
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