diff options
| author | Jeff Carr <[email protected]> | 2024-10-24 17:21:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-24 17:21:40 -0500 |
| commit | 68ffae38b71a46a7963ee77c21632a92a9eabe2b (patch) | |
| tree | 44341cdcd6f8dbeac07af46d201096b16ba56ad3 | |
| parent | 19a8dfe13d4f60e7617497821eafb57641d75c11 (diff) | |
keep and deprecate
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | droplet.proto | 7 | ||||
| -rw-r--r-- | events.proto | 1 |
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; |
