@next-bricks/data-view 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +2 -2
- package/dist/chunks/6301.5bc48948.js +2 -0
- package/dist/chunks/6301.5bc48948.js.map +1 -0
- package/dist/chunks/cabinet-container.8b79820d.js +3 -0
- package/dist/chunks/cabinet-container.8b79820d.js.map +1 -0
- package/dist/chunks/cabinet-graph.ccbdb7d8.js.map +1 -1
- package/dist/chunks/cabinet-node.ef54d0c4.js +3 -0
- package/dist/chunks/cabinet-node.ef54d0c4.js.map +1 -0
- package/dist/chunks/cabinet-thumbnail.22282acb.js +3 -0
- package/dist/chunks/cabinet-thumbnail.22282acb.js.map +1 -0
- package/dist/chunks/{main.5bb89d10.js → main.999836cf.js} +2 -2
- package/dist/chunks/{main.5bb89d10.js.map → main.999836cf.js.map} +1 -1
- package/dist/images/23be87ab.png +0 -0
- package/dist/images/67e041ba.png +0 -0
- package/dist/index.ba2895a5.js +2 -0
- package/dist/{index.6567a365.js.map → index.ba2895a5.js.map} +1 -1
- package/dist/manifest.json +17 -17
- package/dist/types.json +46 -30
- package/dist-types/cabinet/cabinet-container/index.d.ts +2 -2
- package/dist-types/cabinet/cabinet-node/index.d.ts +2 -2
- package/dist-types/cabinet/index.d.ts +1 -1
- package/docs/cabinet-graph.md +54 -0
- package/docs/cabinet-thumbnail.md +47 -0
- package/package.json +3 -3
- package/dist/chunks/790.e473b6c4.js +0 -2
- package/dist/chunks/790.e473b6c4.js.map +0 -1
- package/dist/chunks/cabinet-container.36c3ca54.js +0 -3
- package/dist/chunks/cabinet-container.36c3ca54.js.map +0 -1
- package/dist/chunks/cabinet-node.01ac0405.js +0 -3
- package/dist/chunks/cabinet-node.01ac0405.js.map +0 -1
- package/dist/chunks/cabinet-thumbnail.644cd819.js +0 -3
- package/dist/chunks/cabinet-thumbnail.644cd819.js.map +0 -1
- package/dist/index.6567a365.js +0 -2
- /package/dist/chunks/{cabinet-container.36c3ca54.js.LICENSE.txt → cabinet-container.8b79820d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.01ac0405.js.LICENSE.txt → cabinet-node.ef54d0c4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.644cd819.js.LICENSE.txt → cabinet-thumbnail.22282acb.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
data-view.cabinet-graph 部署架构拓扑
|
|
2
|
+
|
|
3
|
+
## Examples
|
|
4
|
+
|
|
5
|
+
### Basic
|
|
6
|
+
|
|
7
|
+
```yaml preview
|
|
8
|
+
- brick: data-view.cabinet-graph
|
|
9
|
+
properties:
|
|
10
|
+
dataSource:
|
|
11
|
+
appName: inventory-api
|
|
12
|
+
key: inventory-api
|
|
13
|
+
clusters:
|
|
14
|
+
- clusterName: inventory-api##aaaaa
|
|
15
|
+
key: inventory-api##aaaaa
|
|
16
|
+
type: host
|
|
17
|
+
nodes:
|
|
18
|
+
- nodeTitle: 244.244.244.244
|
|
19
|
+
key: 244.244.244.244
|
|
20
|
+
type: physical-machine
|
|
21
|
+
isAlert: true
|
|
22
|
+
- nodeTitle: 244.244.244.245
|
|
23
|
+
key: 244.244.244.245
|
|
24
|
+
type: virtual-machine
|
|
25
|
+
isAlert: true
|
|
26
|
+
- nodeTitle: 244.244.245.245
|
|
27
|
+
key: 244.244.245.245
|
|
28
|
+
type: physical-machine
|
|
29
|
+
- nodeTitle: 244.244.245.244
|
|
30
|
+
key: 244.244.245.244
|
|
31
|
+
type: virtual-machine
|
|
32
|
+
- clusterName: K8S集群xxx
|
|
33
|
+
key: k8s-cluster
|
|
34
|
+
type: k8s
|
|
35
|
+
nodes:
|
|
36
|
+
- nodeTitle: a容器组
|
|
37
|
+
key: aa
|
|
38
|
+
type: container-group
|
|
39
|
+
isAlert: true
|
|
40
|
+
- nodeTitle: b容器组
|
|
41
|
+
key: bb
|
|
42
|
+
type: container-group
|
|
43
|
+
- clusterName: K8S集群xx
|
|
44
|
+
key: xxxx
|
|
45
|
+
type: k8s-blue
|
|
46
|
+
nodes:
|
|
47
|
+
- nodeTitle: a容器组
|
|
48
|
+
key: aa
|
|
49
|
+
type: pod
|
|
50
|
+
isAlert: true
|
|
51
|
+
- nodeTitle: b容器组
|
|
52
|
+
key: bb
|
|
53
|
+
type: pod
|
|
54
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
data-view.cabinet-thumbnail 部署架构拓扑缩略图
|
|
2
|
+
|
|
3
|
+
## Examples
|
|
4
|
+
|
|
5
|
+
### Basic
|
|
6
|
+
|
|
7
|
+
```yaml preview
|
|
8
|
+
- brick: data-view.cabinet-thumbnail
|
|
9
|
+
properties:
|
|
10
|
+
appName: inventory-api
|
|
11
|
+
clusters:
|
|
12
|
+
- title: inventory-api##aaaaa
|
|
13
|
+
type: host
|
|
14
|
+
data:
|
|
15
|
+
- nodeTitle: 244.244.244.244
|
|
16
|
+
key: 244.244.244.244
|
|
17
|
+
type: physical-machine
|
|
18
|
+
- nodeTitle: 244.244.244.245
|
|
19
|
+
key: 244.244.244.245
|
|
20
|
+
type: virtual-machine
|
|
21
|
+
- nodeTitle: 244.244.245.245
|
|
22
|
+
key: 244.244.245.245
|
|
23
|
+
type: physical-machine
|
|
24
|
+
- nodeTitle: 244.244.245.244
|
|
25
|
+
key: 244.244.245.244
|
|
26
|
+
type: virtual-machine
|
|
27
|
+
- title: K8S集群xxx
|
|
28
|
+
key: k8s-cluster
|
|
29
|
+
type: k8s
|
|
30
|
+
data:
|
|
31
|
+
- nodeTitle: a容器组
|
|
32
|
+
key: aa
|
|
33
|
+
type: container-group
|
|
34
|
+
- nodeTitle: b容器组
|
|
35
|
+
key: bb
|
|
36
|
+
type: container-group
|
|
37
|
+
- title: K8S集群xx
|
|
38
|
+
key: xxxx
|
|
39
|
+
type: k8s-blue
|
|
40
|
+
data:
|
|
41
|
+
- nodeTitle: a1容器组
|
|
42
|
+
key: aaa
|
|
43
|
+
type: pod
|
|
44
|
+
- nodeTitle: b1容器组
|
|
45
|
+
key: bbb
|
|
46
|
+
type: pod
|
|
47
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.13.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.13.2",
|
|
38
38
|
"@next-core/test-next": "^1.0.7",
|
|
39
39
|
"@types/d3-hierarchy": "^3.1.2",
|
|
40
40
|
"@types/three": "^0.150.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "cf94974ff1cac5d54b1502d8687191302c3808a7"
|
|
43
43
|
}
|