#interfacing #cli #interface #wrapper #deployment #scale #command

gluster

A library to interface with Gluster's CLI. This is being leveraged by a Juju charm to manage a Gluster deployment

47 releases (9 stable)

Uses old Rust 2015

1.0.8 Apr 18, 2019
1.0.7 Mar 17, 2019
1.0.6 Jan 16, 2019
1.0.5 Nov 19, 2018
0.1.5 Jul 13, 2015

#1303 in Filesystem

MIT license

160KB
3.5K SLoC

Gluster Build Status

Rust library for interfacing with Gluster. This is basically a CLI wrapper until Gluster implements their REST API in the 4.0 version. Comments and pull requests welcome.

#TODO

  1. Writing more unit tests

lib.rs:

This is a library to interface with Gluster

Most of the commands below are wrappers around the CLI functionality. However recently I have reverse engineered some of the Gluster RPC protocol so that calls can be made directly against the Gluster server. This method of communication is much faster than shelling out.

Scale testing with this library has been done to about 60 servers successfully.

Please file any bugs found at: Gluster Repo Pull requests are more than welcome!

Dependencies

~7MB
~143K SLoC