keep and deprecate

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-24 17:21:40 -05:00
parent 19a8dfe13d
commit 68ffae38b7
2 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,9 @@ message Droplet {
DropletState state = 14; // if the droplet is on, off, etc DropletState state = 14; // if the droplet is on, off, etc
string image_url = 15; // url to the image 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 { enum DropletState {
@ -45,3 +48,7 @@ message Disk {
string filename = 1; string filename = 1;
int64 size = 2; int64 size = 2;
} }
message JunkInfo {
int64 capacity = 1; // Stores the storage capacity in bytes.
}

View File

@ -14,7 +14,6 @@ message Events {
StorageInfo humantest = 5; StorageInfo humantest = 5;
} }
message Event { message Event {
int32 id = 1; int32 id = 1;
EventType etype = 2; EventType etype = 2;