module GlusterCLI
Overview
Gluster CLI bindings
Create CLI
instance and execute Gluster commands.
Example:
require "glustercli"
cli = GlusterCLI::CLI.new
peers = cli.list_peers
volumes = cli.list_volumes
# List Volumes with realtime status
volumes = cli.list_volumes(status: true)
Defined in:
glustercli.crhelpers.cr
local_metrics.cr
peer.cr
process_metrics.cr
types.cr
volume.cr
Constant Summary
-
HEALTH_DEGRADED =
"Degraded"
-
HEALTH_DOWN =
"Down"
-
HEALTH_PARTIAL =
"Partial"
-
HEALTH_UP =
"Up"
-
PROCESS_EXPORTER =
"gluster-metrics-exporter"
-
PROCESS_GLUSTERD =
"glusterd"
-
PROCESS_GLUSTERFS =
"glusterfs"
-
PROCESS_GLUSTERFSD =
"glusterfsd"
-
PROCESS_SHD =
"glustershd"
-
STATE_CREATED =
"Created"
-
STATE_STARTED =
"Started"
-
STATE_STOPPED =
"Stopped"
-
TYPE_DISPERSE =
"Disperse"
-
TYPE_REPLICATE =
"Replicate"