summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`