summaryrefslogtreecommitdiff
path: root/droplet.proto
diff options
context:
space:
mode:
Diffstat (limited to 'droplet.proto')
-rw-r--r--droplet.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/droplet.proto b/droplet.proto
index 9ac8e42..d7b8e07 100644
--- a/droplet.proto
+++ b/droplet.proto
@@ -2,6 +2,7 @@ syntax = "proto3";
package virtbuf;
import "google/protobuf/any.proto";
+import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
message Droplets {
string uuid = 1; // I guess why not just have this on each file
@@ -27,6 +28,10 @@ message Droplet {
DropletState state = 14; // if the droplet is on, off, etc
string image_url = 15; // url to the image
+ DropletState current_state = 16; // used to track the current state before taking any action
+ int64 starts = 17; // how many times a start has been attempted
+ string current_hypervisor = 18; // the current hypervisor the droplet is running on
+ google.protobuf.Timestamp last_poll = 19; // the last time we heard anything from this droplet
}
enum DropletState {