package
Version:
v5.6.9+incompatible
Opens a new window with list of versions in this module.
Published: Apr 6, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Health struct {
HealthServices []HealthServices `json:"health_services"`
}
type HealthRequest struct {
Status string `json:"status"`
Output Output `json:"output"`
}
type HealthServices struct {
Mons []Mon `json:"mons"`
}
type Mon struct {
LastUpdated Tick `json:"last_updated"`
Name string `json:"name"`
AvailPercent int64 `json:"avail_percent"`
KbTotal int64 `json:"kb_total"`
KbAvail int64 `json:"kb_avail"`
Health string `json:"health"`
KbUsed int64 `json:"kb_used"`
StoreStats StoreStats `json:"store_stats"`
}
type Output struct {
OverallStatus string `json:"overall_status"`
Timechecks Timecheck `json:"timechecks"`
Health Health `json:"health"`
}
type StoreStats struct {
BytesTotal int64 `json:"bytes_total"`
BytesLog int64 `json:"bytes_log"`
LastUpdated string `json:"last_updated"`
BytesMisc int64 `json:"bytes_misc"`
BytesSSt int64 `json:"bytes_sst"`
}
type Timecheck struct {
RoundStatus string `json:"round_status"`
Epoch int64 `json:"epoch"`
Round int64 `json:"round"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.