summaryrefslogtreecommitdiff
path: root/machine.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 18:18:11 -0600
committerJeff Carr <[email protected]>2024-12-01 18:18:11 -0600
commite4b150d6aae34ec3f4688c09711d0bfe2bcf4b41 (patch)
treec8283b4e2dc0a35e199343ef13f58abe77cb834f /machine.proto
parenta4f3f951962b2db0bb21c22c10ef60d1d57a3b5c (diff)
switch to autogenpbv0.0.11
Diffstat (limited to 'machine.proto')
-rw-r--r--machine.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/machine.proto b/machine.proto
index 76c7aa2..67bc697 100644
--- a/machine.proto
+++ b/machine.proto
@@ -5,8 +5,8 @@ package gitpb;
import "package.proto";
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
-message Machine {
- string hostname = 1;
+message Machine { // `autogenpb:marshal`
+ string hostname = 1; // `autogenpb:unique`
int64 memory = 2;
int64 cpus = 3;
string distro = 4;
@@ -17,7 +17,7 @@ message Machine {
Packages wit = 9; // packages that are available from mirrors.wit.com
}
-message Machines {
+message Machines { // `autogenpb:marshal`
string uuid = 1; // I guess why not just have this on each file
string version = 2; // maybe can be used for protobuf schema change violations
repeated Machine machines = 3;