diff options
| author | Jeff Carr <[email protected]> | 2025-02-07 18:23:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-07 18:23:05 -0600 |
| commit | d8a2e56b8885d4a4ddf80925f1b891d5e896a1aa (patch) | |
| tree | 5de23bb2f1c2a3a59cb3cabd0cf289761a8a1b00 /machine.proto | |
| parent | 54f4c4be3d35cc2c86706aed673392a01d5c7e45 (diff) | |
updated proto files to conform with autogenpb
Diffstat (limited to 'machine.proto')
| -rw-r--r-- | machine.proto | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/machine.proto b/machine.proto index b0bf5aa..7ce8c34 100644 --- a/machine.proto +++ b/machine.proto @@ -7,20 +7,20 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time // global settings for autogenpb `autogenpb:mutex` -message Machine { // `autogenpb:marshal` - string hostname = 1; // `autogenpb:unique` - int64 memory = 2; - int64 cpus = 3; - string distro = 4; - Packages packages = 5; - google.protobuf.Timestamp laststamp = 6; // the last time we heard anything from this machine - Packages installed = 7; // packages that are installed - Packages available = 8; // packages that are available - Packages wit = 9; // packages that are available from mirrors.wit.com +message Machine { // `autogenpb:marshal` + string hostname = 1; // `autogenpb:unique` + int64 memory = 2; + int64 cpus = 3; + string distro = 4; + Packages packages = 5; + google.protobuf.Timestamp laststamp = 6; // the last time we heard anything from this machine + Packages installed = 7; // packages that are installed + Packages available = 8; // packages that are available + Packages wit = 9; // packages that are available from mirrors.wit.com } -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; +message Machines { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:b57e7fac-a8fc-4949-9d50-fa38312dec87` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Machine machines = 3; } |
