Docs: Add missing properties to plugin metadata schema (#27445)

* Update plugin metadata schema

* Add missing properties to plugin schema

* Fix review comments
This commit is contained in:
Marcus Olsson
2020-09-17 13:19:40 +02:00
committed by GitHub
parent 7db050d9a4
commit 4189b196ff
2 changed files with 16 additions and 3 deletions
@@ -46,6 +46,15 @@
"type": "string",
"description": "The first part of the file name of the backend component executable. There can be multiple executables built for different operating system and architecture. Grafana will check for executables named `<executable>_<$GOOS>_<lower case $GOARCH><.exe for Windows>`, e.g. `plugin_linux_amd64`. Combination of $GOOS and $GOARCH can be found here: https://golang.org/doc/install/source#environment."
},
"preload": {
"type": "boolean",
"description": "Initialize plugin on startup. By default, the plugin initializes on first use."
},
"state": {
"type": "string",
"description": "Marks a plugin as a pre-release.",
"enum": ["alpha", "beta"]
},
"includes": {
"type": "array",
"items": {
@@ -99,7 +108,8 @@
"description": "Not to be used by external plugins. Special property for the built-in mixed plugin."
},
"module": {
"type": "string"
"type": "string",
"description": ""
},
"sort": {
"type": "number",