diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 13:07:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 13:07:24 -0500 |
| commit | 10793e365d594e98bbc8e04251cfbc6b6b3ddbea (patch) | |
| tree | 94b5a6c8ec1639dd2867dd42e51c4ed732576e35 /droplet.proto | |
| parent | f4cb9e27ce6d963d6fa613ab8131945e833443ce (diff) | |
seems to compile
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'droplet.proto')
| -rw-r--r-- | droplet.proto | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/droplet.proto b/droplet.proto index adf1299..f52fa7f 100644 --- a/droplet.proto +++ b/droplet.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package virtbuf; +import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp message Droplets { @@ -27,7 +28,10 @@ message Droplet { string local_only = 14; // this is only defined locally on the hypervisor string custom_xml = 15; // if needed, - DropletArchive archive = 16; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off') + Archive archive = 16; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off') + + google.protobuf.Timestamp unstable = 39; // the last time we heard anything from this droplet + google.protobuf.Duration unstable_timeout = 40; // the last time we heard anything from this droplet } // volatile data. the current settings and values of things. @@ -58,8 +62,8 @@ enum DropletState { } enum DropletArchive { - ARCHIVE_DUP = 0; - ARCHIVE_USER = 1; + DUP = 0; + USER = 1; } message Network { |
