forked from mattbaird/elastigo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catresponses.go
110 lines (104 loc) · 2.36 KB
/
catresponses.go
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package elastigo
type CatIndexInfo struct {
Health string
Status string
Name string
Shards int
Replicas int
Docs CatIndexDocs
Store CatIndexStore
}
type CatIndexDocs struct {
Count int64
Deleted int64
}
type CatIndexStore struct {
Size int64
PriSize int64
}
type CatAliasInfo struct {
Name string
Index string
}
type CatShardInfo struct {
IndexName string
Shard int
Primary string
State string
Docs int64
Store int64
NodeIP string
NodeName string
}
type CatNodeInfo struct {
Id string
PID string
Host string
IP string
Port string
Version string
Build string
JDK string
DiskAvail string
HeapCur string
HeapPerc string
HeapMax string
RamCur string
RamPerc int16
RamMax string
FileDescCur string
FileDescPerc string
FileDescMax string
Load string
UpTime string
NodeRole string
Master string
Name string
CmpltSize string
FieldMem int
FieldEvict int
FiltMem int
FiltEvict int
FlushTotal int
FlushTotalTime string
GetCur string
GetTime string
GetTotal string
GetExistsTime string
GetExistsTotal string
GetMissingTime string
GetMissingTotal string
IDCacheMemory int
IdxDelCur string
IdxDelTime string
IdxDelTotal string
IdxIdxCur string
IdxIdxTime string
IdxIdxTotal string
MergCur string
MergCurDocs string
MergCurSize string
MergTotal string
MergTotalDocs string
MergTotalSize string
MergTotalTime string
PercCur string
PercMem string
PercQueries string
PercTime string
PercTotal string
RefreshTotal string
RefreshTime string
SearchFetchCur string
SearchFetchTime string
SearchFetchTotal string
SearchOpenContexts string
SearchQueryCur string
SearchQueryTime string
SearchQueryTotal string
SegCount string
SegMem string
SegIdxWriterMem string
SegIdxWriterMax string
SegVerMapMem string
}