Implement vitastor-cli df command

This commit is contained in:
Vitaliy Filippov
2021-12-10 02:37:02 +03:00
parent 0a1640d169
commit 0ee5e0a7fe
5 changed files with 251 additions and 15 deletions
-12
View File
@@ -6,18 +6,6 @@
#include "cluster_client.h"
#include "base64.h"
#define MIN(a, b) ((a) < (b) ? (b) : (a))
std::string print_table(json11::Json items, json11::Json header, bool use_esc);
std::string format_size(uint64_t size);
std::string format_lat(uint64_t lat);
std::string format_q(double depth);
bool stupid_glob(const std::string str, const std::string glob);
// List existing images
//
// Again, you can just look into etcd, but this console tool incapsulates it