Commit 4189b196 by Marcus Olsson Committed by GitHub

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

* Update plugin metadata schema

* Add missing properties to plugin schema

* Fix review comments
parent 7db050d9
...@@ -46,6 +46,15 @@ ...@@ -46,6 +46,15 @@
"type": "string", "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." "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": { "includes": {
"type": "array", "type": "array",
"items": { "items": {
...@@ -99,7 +108,8 @@ ...@@ -99,7 +108,8 @@
"description": "Not to be used by external plugins. Special property for the built-in mixed plugin." "description": "Not to be used by external plugins. Special property for the built-in mixed plugin."
}, },
"module": { "module": {
"type": "string" "type": "string",
"description": ""
}, },
"sort": { "sort": {
"type": "number", "type": "number",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment