diff options
Diffstat (limited to 'cluster.proto')
| -rw-r--r-- | cluster.proto | 16 |
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; +} |
