UnifiedStorage: Add ResourceTable format (#96506)

This commit is contained in:
Ryan McKinley
2024-11-19 16:47:59 +03:00
committed by GitHub
parent 11a4a366c6
commit 7985fa573e
5 changed files with 1825 additions and 244 deletions
+72
View File
@@ -0,0 +1,72 @@
{
"metadata": {},
"columnDefinitions": [
{
"name": "title",
"type": "string",
"format": "",
"description": "",
"priority": 0
},
{
"name": "stats.count",
"type": "number",
"format": "int64",
"description": "",
"priority": 0
},
{
"name": "number",
"type": "number",
"format": "double",
"description": "float64 value",
"priority": 0
},
{
"name": "tags",
"type": "string",
"format": "",
"description": "",
"priority": 0
}
],
"rows": [
{
"cells": [
"AAA",
null,
12345,
[
"one"
]
],
"object": {
"metadata": {
"name": "aaa",
"namespace": "default",
"resourceVersion": "10",
"creationTimestamp": null
}
}
},
{
"cells": [
"BBB",
12345,
null,
[
"one",
"two"
]
],
"object": {
"metadata": {
"name": "bbb",
"namespace": "default",
"resourceVersion": "10",
"creationTimestamp": null
}
}
}
]
}