add Name and allow multiple URLs

This commit is contained in:
Jeff Carr 2025-04-12 11:28:05 -05:00
parent a510dd6474
commit 63148556af
4 changed files with 27 additions and 28 deletions

View File

@ -5,8 +5,9 @@ import "google/protobuf/timestamp.proto";
message Cluster { message Cluster {
string uuid = 1; // `autogenpb:unique` string uuid = 1; // `autogenpb:unique`
string URL = 2; // `autogenpb:unique` string name = 2;
google.protobuf.Timestamp ctime = 3; // when the cluster was created repeated string URL = 3;
google.protobuf.Timestamp ctime = 4; // when the cluster was created
} }
message Clusters { // `autogenpb:marshal` message Clusters { // `autogenpb:marshal`

View File

@ -55,7 +55,6 @@ message Archive {
google.protobuf.Timestamp when = 2; // when it was archived google.protobuf.Timestamp when = 2; // when it was archived
} }
// virtual machine state
enum DropletState { enum DropletState {
ON = 0; ON = 0;
OFF = 1; OFF = 1;

View File

@ -22,7 +22,6 @@ message Hypervisor {
google.protobuf.Timestamp lastPoll = 10; // the last time we heard anything google.protobuf.Timestamp lastPoll = 10; // the last time we heard anything
} }
// think about this more
enum HypervisorArch { enum HypervisorArch {
RISCV64 = 0; RISCV64 = 0;
X86_64 = 1; X86_64 = 1;