diff options
| author | Jeff Carr <[email protected]> | 2025-04-20 19:41:02 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-04-20 19:41:02 -0500 |
| commit | 7cdb2a33efaa218b2b2c3f16983836f7a3024853 (patch) | |
| tree | e587e52eaa95c5ecdbfe0299d8d46501a3ad9d71 /cluster.proto | |
| parent | 63148556af54bbcb73753a122e7e9705e9ecf629 (diff) | |
do a whole cluster protobuf at oncev0.2.35
Diffstat (limited to 'cluster.proto')
| -rw-r--r-- | cluster.proto | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/cluster.proto b/cluster.proto index 6c09642..e2d150d 100644 --- a/cluster.proto +++ b/cluster.proto @@ -2,16 +2,20 @@ 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 + 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` - string uuid = 1; // `autogenpb:uuid:57ddd763-75f6-4003-bf0e-8dd0f8a44044` - string version = 2; // `autogenpb:version:v0.0.1` - repeated Cluster clusters = 3; +message Clusters { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:57ddd763-75f6-4003-bf0e-8dd0f8a44044` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Cluster clusters = 3; } |
