move these into cluster.pb

This commit is contained in:
Jeff Carr 2025-04-21 13:30:59 -05:00
parent 7cdb2a33ef
commit a07033d181
1 changed files with 5 additions and 3 deletions

View File

@ -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`