glustercli v0.1.2 (2019-08-29T03:24:42Z)
Dub
Repo
Volume
glustercli
volume_parser
Undocumented in source.
struct
Volume {
string
name
;
string
type
;
string
state
;
string
health
;
string
id
;
int
numSubvols
;
int
numBricks
;
int
replicaCount
;
int
arbiterCount
;
int
disperseCount
;
int
disperseRedundancyCount
;
string
transport
;
SubVolume
[]
subvols
;
ulong
sizeTotal
;
ulong
sizeUsed
;
ulong
inodesTotal
;
ulong
inodesUsed
;
Option
[]
options
;
JSONValue
toJson
();
}
Members
Functions
toJson
JSONValue
toJson
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
arbiterCount
int
arbiterCount
;
Undocumented in source.
disperseCount
int
disperseCount
;
Undocumented in source.
disperseRedundancyCount
int
disperseRedundancyCount
;
Undocumented in source.
health
string
health
;
Undocumented in source.
id
string
id
;
Undocumented in source.
inodesTotal
ulong
inodesTotal
;
Undocumented in source.
inodesUsed
ulong
inodesUsed
;
Undocumented in source.
name
string
name
;
Undocumented in source.
numBricks
int
numBricks
;
Undocumented in source.
numSubvols
int
numSubvols
;
Undocumented in source.
options
Option
[]
options
;
Undocumented in source.
replicaCount
int
replicaCount
;
Undocumented in source.
sizeTotal
ulong
sizeTotal
;
Undocumented in source.
sizeUsed
ulong
sizeUsed
;
Undocumented in source.
state
string
state
;
Undocumented in source.
subvols
SubVolume
[]
subvols
;
Undocumented in source.
transport
string
transport
;
Undocumented in source.
type
string
type
;
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