summaryrefslogtreecommitdiff
path: root/droplet.proto
diff options
context:
space:
mode:
Diffstat (limited to 'droplet.proto')
-rw-r--r--droplet.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/droplet.proto b/droplet.proto
index c3b7bd1..87af716 100644
--- a/droplet.proto
+++ b/droplet.proto
@@ -27,6 +27,9 @@ message Droplet {
DropletState state = 14; // if the droplet is on, off, etc
string image_url = 15; // url to the image
+
+ // is it possible to have custom formatting in JSON and TEXT marshal/unmarshal ?
+ JunkInfo humantest = 16;
}
enum DropletState {
@@ -45,3 +48,7 @@ message Disk {
string filename = 1;
int64 size = 2;
}
+
+message JunkInfo {
+ int64 capacity = 1; // Stores the storage capacity in bytes.
+}