-
Notifications
You must be signed in to change notification settings - Fork 1
/
console-extensions.json
44 lines (44 loc) · 1.1 KB
/
console-extensions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* This file declares all extensions contributed by the plugin.
*
* Depending on extension 'type', the 'properties' object may contain code references, encoded
* as object literals { $codeRef: string }. The '$codeRef' value should be formatted as either
* 'moduleName.exportName' (referring to a named export) or 'moduleName' (referring to the
* 'default' export). Only the plugin's exposed modules may be used in code references.
*/
[
{
"type": "console.flag",
"properties": {
"handler": { "$codeRef": "barUtils.testHandler" }
}
},
{
"type": "console.flag/model",
"properties": {
"flag": "EXAMPLE",
"model": {
"group": "kubevirt.io",
"version": "v1alpha3",
"kind": "ExampleModel"
}
}
},
{
"type": "console.page/route",
"properties": {
"exact": false,
"path": "/k8s/foo",
"component": { "$codeRef": "fooComp" }
}
},
{
"type": "console.navigation/href",
"properties": {
"id": "foo-id",
"name": "My Nav Item",
"href": "/k8s/foo",
"section": "administration"
}
}
]