summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-21 13:30:59 -0500
committerJeff Carr <[email protected]>2025-04-21 20:54:38 -0500
commita07033d181de3504b830b7d2d5744da6bf7565f2 (patch)
treef3bce97ce379297a9fb4d8925ad02a01fa66e676
parent7cdb2a33efaa218b2b2c3f16983836f7a3024853 (diff)
move these into cluster.pb
-rw-r--r--cluster.proto8
1 files changed, 5 insertions, 3 deletions
diff --git a/cluster.proto b/cluster.proto
index e2d150d..7849b99 100644
--- a/cluster.proto
+++ b/cluster.proto
@@ -4,14 +4,16 @@ package virtpb;
import "google/protobuf/timestamp.proto";
import "droplet.proto";
import "hypervisor.proto";
+import "event.proto";
-message Cluster {
+message Cluster { // `autogenpb:marshal`
string uuid = 1; // `autogenpb:unique`
string name = 2;
repeated string URL = 3;
google.protobuf.Timestamp ctime = 4; // when the cluster was created
- repeated Droplet droplets = 5;
- repeated Hypervisor hypervisors = 6;
+ Droplets droplets = 5;
+ Hypervisors hypervisors = 6;
+ Events events = 7;
}
message Clusters { // `autogenpb:marshal`