mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 18:02:18 +08:00
feat(plugins): made plugins that live outside public work
This commit is contained in:
@ -12,6 +12,13 @@ type DataSourcePlugin struct {
|
||||
Annotations bool `json:"annotations"`
|
||||
Metrics bool `json:"metrics"`
|
||||
BuiltIn bool `json:"builtIn"`
|
||||
StaticRootConfig *StaticRootConfig `json:"staticRoot"`
|
||||
}
|
||||
|
||||
type StaticRootConfig struct {
|
||||
Url string `json:"url"`
|
||||
Path string `json:"path"`
|
||||
PluginRoot string `json:"-"`
|
||||
}
|
||||
|
||||
type ExternalPluginRoute struct {
|
||||
|
Reference in New Issue
Block a user