Skip to content

Commit 9b39b0d

Browse files
tonistiigicrazy-max
authored andcommitted
allow listing devices
Signed-off-by: Tonis Tiigi <[email protected]>
1 parent 17f46d1 commit 9b39b0d

File tree

8 files changed

+647
-40
lines changed

8 files changed

+647
-40
lines changed

api/types/worker.pb.go

Lines changed: 131 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/types/worker.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ message WorkerRecord {
1212
repeated pb.Platform platforms = 3;
1313
repeated GCPolicy GCPolicy = 4;
1414
BuildkitVersion BuildkitVersion = 5;
15+
repeated CDIDevice CDIDevices = 6;
1516
}
1617

1718
message GCPolicy {
@@ -30,3 +31,9 @@ message BuildkitVersion {
3031
string version = 2;
3132
string revision = 3;
3233
}
34+
35+
message CDIDevice {
36+
string Name = 1;
37+
bool AutoAllow = 2;
38+
map<string, string> Annotations = 3;
39+
}

0 commit comments

Comments
 (0)