In Go, every directory is a distinct package. There is no such thing as
a subpackage. Having `api` is a separate package as a subdirectory in
each plugin ensures that we will not run into cyclic dependency issues.
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Rebalance plugin (part 1) implements:
- rebalance start (with fix-layout and force options)
- rebalance stop
- rebalance status
Rebalance status works as long as the processes are running.
Part 2 (to be implemented) will handle the GF_HNDSK_EVENT_NOTIFY
post which the status op should work as expected.
Signed-off-by: N Balachandran <nbalacha@redhat.com>