summaryrefslogtreecommitdiff
path: root/proto/buildinfo.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/buildinfo.proto')
-rw-r--r--proto/buildinfo.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/buildinfo.proto b/proto/buildinfo.proto
new file mode 100644
index 0000000..2cf9dab
--- /dev/null
+++ b/proto/buildinfo.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package unit.info.v0;
+
+message Distro {
+ string name = 1;
+ string version = 2;
+}
+
+message Layer {
+ string name = 1;
+ string branch = 2;
+ string revision = 3;
+}
+
+message BuildInfo {
+ Distro distro = 1;
+ repeated Layer layers = 2;
+}