summaryrefslogtreecommitdiff
path: root/cluster.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-31 04:52:14 -0500
committerJeff Carr <[email protected]>2024-10-31 04:52:14 -0500
commit67cb013c830db0da9918a125e2e4373993445939 (patch)
tree5b7551808389da33bc303afea52266e1bfdf07a5 /cluster.proto
parent96f29d6f3b696347dea1c22a0f3bda834a136d32 (diff)
add time duration to cluster
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'cluster.proto')
-rw-r--r--cluster.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/cluster.proto b/cluster.proto
index 0c2616d..8658597 100644
--- a/cluster.proto
+++ b/cluster.proto
@@ -4,6 +4,8 @@ package virtbuf;
import "droplet.proto";
import "hypervisor.proto";
import "event.proto";
+import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
+import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp
message Cluster {
int64 id = 1;
@@ -16,4 +18,6 @@ message Cluster {
Droplets d = 6;
Hypervisors h = 7;
Events e = 8;
+ google.protobuf.Timestamp unstable = 9; // the last time we heard anything from this droplet
+ google.protobuf.Duration unstable_timeout = 10; // the last time we heard anything from this droplet
}