package
Version:
v6.2.3+incompatible
Opens a new window with list of versions in this module.
Published: Mar 12, 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 HealthRequest struct {
Status string `json:"status"`
Output Output `json:"output"`
}
type Osdmap struct {
Epoch int64 `json:"epoch"`
Full bool `json:"full"`
Nearfull bool `json:"nearfull"`
OsdNum int64 `json:"num_osds"`
UpOsds int64 `json:"num_up_osds"`
InOsds int64 `json:"num_in_osds"`
RemapedPgs int64 `json:"num_remapped_pgs"`
}
type Osdmap_ struct {
Osdmap Osdmap `json:"osdmap"`
}
type Output struct {
Pgmap Pgmap `json:"pgmap"`
Osdmap Osdmap_ `json:"osdmap"`
}
type PgState struct {
Count int64 `json:"count"`
StateName string `json:"state_name"`
}
type Pgmap struct {
AvailByte int64 `json:"bytes_avail"`
TotalByte int64 `json:"bytes_total"`
UsedByte int64 `json:"bytes_used"`
DataByte int64 `json:"data_bytes"`
DegradedObjs int64 `json:"degraded_objects"`
DegradedRatio float64 `json:"degraded_ratio"`
DegradedTotal int64 `json:"degraded_total"`
MisplacedObjs int64 `json:"misplaced_objects"`
MisplacedRatio float64 `json:"misplaced_ratio"`
MisplacedTotal int64 `json:"misplaced_total"`
ReadByteSec int64 `json:"read_bytes_sec"`
ReadOpSec int64 `json:"read_op_per_sec"`
WriteByteSec int64 `json:"write_bytes_sec"`
WriteOpSec int64 `json:"write_op_per_sec"`
Version int64 `json:"version"`
PgNum int64 `json:"num_pgs"`
PgStates []PgState `json:"pgs_by_state"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.