summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--droplet.proto7
-rw-r--r--events.proto1
2 files changed, 7 insertions, 1 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.
+}
diff --git a/events.proto b/events.proto
index 0cb3fea..0b2fe2f 100644
--- a/events.proto
+++ b/events.proto
@@ -14,7 +14,6 @@ message Events {
StorageInfo humantest = 5;
}
-
message Event {
int32 id = 1;
EventType etype = 2;