grafana/pkg/plugins/backendplugin
Michael Mandrus f376c33903
WIP: Add private Secret Manager Plugins support to plugin platform (#49544)
* Add protobuf config and generated code, and client wrapper

* wire up loading of secretsmanager plugin, using renderer plugin as a model

* update kvstore provider to check if we should use the grpc plugin. return false always in OSS

* add OSS remote plugin check

* refactor wire gen file

* log which secrets manager is being used

* Fix argument types for remote checker

* Turns out if err != nil, then the result is always nil. Return empty values if there is an error.

* remove duplicate import

* Update pkg/services/secrets/kvstore/kvstore.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update pkg/services/secrets/kvstore/kvstore.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* refactor RemotePluginCheck interface to just return the Plugin client directly

* rename struct to something less silly

* Update pkg/plugins/backendplugin/secretsmanagerplugin/secretsmanager.proto

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-06-09 13:19:27 -04:00
..
coreplugin Plugins: Update collect metrics handler to latest signature (#45166) 2022-02-09 17:36:53 +01:00
grpcplugin WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
instrumentation Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
pluginextensionv2 Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
provider WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
secretsmanagerplugin WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
backendplugin.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
errors.go Plugins: Introduce Plugin Registry (#47200) 2022-06-03 13:06:27 +02:00
ifaces.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00