mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
7536647ab6
* introduce registry write/read separation * internal + external registries * fix tests * fixup * rename * move interfaces * back to plugins.Store * fix registry name * remove context.TODOs * remove some ctx for now * tidy * remove dupe logic * update naming * move from manager.go to store * amend logger name * new store writer svc * restrict changes * more simplifying * move interfaces around * remove unused * fix linter * tidy * add registry test * fix tests * revert testdata changes * revert testdata changes #1 * revert testdata changes #2 * revert testdata changes #3 * revert testdata changes #4 * revert testdata changes #5 * revert testdata changes * fixup testdata * remove unused log * update naming in test * adjust ctx in test
15 lines
575 B
Go
15 lines
575 B
Go
package backendplugin
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrPluginNotRegistered error returned when plugin is not registered.
|
|
ErrPluginNotRegistered = errors.New("plugin not registered")
|
|
// ErrHealthCheckFailed error returned when health check failed.
|
|
ErrHealthCheckFailed = errors.New("health check failed")
|
|
// ErrPluginUnavailable error returned when plugin is unavailable.
|
|
ErrPluginUnavailable = errors.New("plugin unavailable")
|
|
// ErrMethodNotImplemented error returned when plugin method not implemented.
|
|
ErrMethodNotImplemented = errors.New("method not implemented")
|
|
)
|