do a whole cluster protobuf at once

This commit is contained in:
Jeff Carr 2025-04-20 19:41:02 -05:00
parent 63148556af
commit 7cdb2a33ef
1 changed files with 12 additions and 8 deletions

View File

@ -2,12 +2,16 @@ syntax = "proto3";
package virtpb;
import "google/protobuf/timestamp.proto";
import "droplet.proto";
import "hypervisor.proto";
message Cluster {
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;
}
message Clusters { // `autogenpb:marshal`