glustercli v0.1.2 (2019-08-29T03:24:42Z)
Dub
Repo
Brick
glustercli
volume_parser
Undocumented in source.
struct
Brick {
string
host
;
string
path
;
string
nodeid
;
string
state
;
string
type
;
int
port
;
int
pid
;
ulong
sizeTotal
;
ulong
sizeUsed
;
ulong
inodesTotal
;
ulong
inodesUsed
;
string
fsType
;
string
device
;
int
blockSize
;
string
mountOptions
;
string
volumeId
;
string
subvolId
;
JSONValue
toJson
();
}
Members
Functions
toJson
JSONValue
toJson
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
blockSize
int
blockSize
;
Undocumented in source.
device
string
device
;
Undocumented in source.
fsType
string
fsType
;
Undocumented in source.
host
string
host
;
Undocumented in source.
inodesTotal
ulong
inodesTotal
;
Undocumented in source.
inodesUsed
ulong
inodesUsed
;
Undocumented in source.
mountOptions
string
mountOptions
;
Undocumented in source.
nodeid
string
nodeid
;
Undocumented in source.
path
string
path
;
Undocumented in source.
pid
int
pid
;
Undocumented in source.
port
int
port
;
Undocumented in source.
sizeTotal
ulong
sizeTotal
;
Undocumented in source.
sizeUsed
ulong
sizeUsed
;
Undocumented in source.
state
string
state
;
Undocumented in source.
subvolId
string
subvolId
;
Undocumented in source.
type
string
type
;
Undocumented in source.
volumeId
string
volumeId
;
Undocumented in source.
Meta
Source
See Implementation
glustercli
volume_parser
functions
getSubvolBricksCount
getSubvolType
mergeVolumeInfoAndStatus
parseBricksFromVolStatus
parseBricksFromVolinfo
parseOptionsFromVolinfo
parsePortOrPid
parseVolumesFromStatus
parseVolumesFromVolinfo
transportType
updateVolumeHealth
updateVolumeUtilization
manifest constants
BrickTypeArbiter
BrickTypeDefault
HealthDegraded
HealthDown
HealthPartial
HealthUp
StateCreated
StateStarted
StateStopped
SubvolTypeDisp
SubvolTypeDist
SubvolTypeRep
VolumeTypeDisp
VolumeTypeDist
VolumeTypeDistDisp
VolumeTypeDistRep
VolumeTypeRep
structs
Brick
Option
SubVolume
Volume