summaryrefslogtreecommitdiff
path: root/cluster.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
committerJeff Carr <[email protected]>2025-03-24 21:54:13 -0500
commite4345c8ad6584f4fc5393c7844bb1967d6564d63 (patch)
treeb145c2e11edd3650ea0a3ea1954838ae00b8b818 /cluster.proto
parent276c5cec2f28ef265a615d31cf27d25e72b29cf8 (diff)
moving to a cluster.proto config filev0.2.33
Diffstat (limited to 'cluster.proto')
-rw-r--r--cluster.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/cluster.proto b/cluster.proto
new file mode 100644
index 0000000..f81b89b
--- /dev/null
+++ b/cluster.proto
@@ -0,0 +1,16 @@
+syntax = "proto3";
+package virtpb;
+
+import "google/protobuf/timestamp.proto";
+
+message Cluster {
+ string uuid = 1; // `autogenpb:unique`
+ string URL = 2; // `autogenpb:unique`
+ google.protobuf.Timestamp ctime = 3; // when the cluster was created
+}
+
+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;
+}