blob: b8dd0b672acfb30ef2c40d63d106b5bb49edbdd2 [file] [log] [blame]
Jian Li3defa842019-02-12 00:31:35 +09001{
2 "type": "object",
3 "required": [
4 "apiConfigs"
5 ],
6 "properties": {
7 "nodes": {
8 "type": "array",
9 "items": {
10 "type": "object",
11 "required": [
Jian Li58b33982020-07-01 19:07:02 +090012 "clusterName",
13 "segmentId",
Jian Li3defa842019-02-12 00:31:35 +090014 "scheme",
15 "ipAddress",
16 "port"
17 ],
18 "properties": {
Jian Li58b33982020-07-01 19:07:02 +090019 "clusterName": {
20 "type": "string",
21 "example": "kubernetes"
22 },
23 "segmentId": {
24 "type": "integer",
25 "example": 1
26 },
Jian Li3defa842019-02-12 00:31:35 +090027 "scheme": {
28 "type": "string",
29 "example": "HTTP"
30 },
31 "ipAddress": {
32 "type": "string",
33 "example": "10.10.10.2"
34 },
35 "port": {
36 "type": "integer",
37 "example": 6443
38 }
39 }
40 }
41 }
42 }
43}