grafana/pkg/api/dtos
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
..
acl.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
alerting_test.go Fix misspell issues 2018-09-21 11:54:36 +02:00
alerting.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
annotations.go Annotations: use a single row to represent a region (#17673) 2019-08-16 10:49:30 +02:00
apikey.go API: return resource ID for auth key creation, folder permissions update and user invite complete endpoints (#27419) 2020-09-07 17:06:11 +02:00
dashboard.go new endpoint to post/get trimmed dashboard json (#33465) 2021-04-28 19:38:33 +08:00
datasource.go Data source list: Use Card component (#31326) 2021-02-22 14:02:10 +02:00
folder.go folders: use new folder service in folder api routes 2018-02-20 13:57:32 +01:00
index.go Theming: Support for runtime theme switching and hooks for custom themes (#31301) 2021-02-20 09:02:06 +01:00
invite.go chore: avoid alias for models in plugins (#22483) 2020-02-28 12:51:21 +01:00
live.go Live: http publish, refactor live interfaces (#32317) 2021-03-30 13:23:29 +03:00
models_test.go Chore: Remove gotest.tools dependency (#31391) 2021-02-22 11:53:15 +01:00
models.go Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00
org.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
playlist.go Added playlist controls to new react DashNav 2019-02-04 21:08:30 +01:00
plugins.go Plugins: Enable plugin runtime install/uninstall capabilities (#33836) 2021-05-12 20:05:16 +02:00
prefs.go Make golint happier 2018-03-22 22:38:44 +01:00
short_url.go Dashboard: Allow shortlink generation (#27409) 2020-10-14 12:48:48 +02:00
user_token.go Feature: Parse user agent string in user auth token api response (#16… (#17504) 2019-06-11 14:12:52 +02:00
user.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00