Skip to content

Commit cd9ed94

Browse files
committed
Add devices option to ContainerSpec
Signed-off-by: Olli Janatuinen <[email protected]>
1 parent e8ecf83 commit cd9ed94

File tree

3 files changed

+555
-163
lines changed

3 files changed

+555
-163
lines changed

api/api.pb.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5810,6 +5810,14 @@ file {
58105810
type: TYPE_INT64
58115811
json_name: "oomScoreAdj"
58125812
}
5813+
field {
5814+
name: "Devices"
5815+
number: 31
5816+
label: LABEL_REPEATED
5817+
type: TYPE_MESSAGE
5818+
type_name: ".docker.swarmkit.v1.ContainerSpec.DeviceMapping"
5819+
json_name: "Devices"
5820+
}
58135821
nested_type {
58145822
name: "LabelsEntry"
58155823
field {
@@ -5908,6 +5916,30 @@ file {
59085916
json_name: "hard"
59095917
}
59105918
}
5919+
nested_type {
5920+
name: "DeviceMapping"
5921+
field {
5922+
name: "pathOnHost"
5923+
number: 1
5924+
label: LABEL_OPTIONAL
5925+
type: TYPE_STRING
5926+
json_name: "pathOnHost"
5927+
}
5928+
field {
5929+
name: "pathInContainer"
5930+
number: 2
5931+
label: LABEL_OPTIONAL
5932+
type: TYPE_STRING
5933+
json_name: "pathInContainer"
5934+
}
5935+
field {
5936+
name: "cgroupPermissions"
5937+
number: 3
5938+
label: LABEL_OPTIONAL
5939+
type: TYPE_STRING
5940+
json_name: "cgroupPermissions"
5941+
}
5942+
}
59115943
enum_type {
59125944
name: "Isolation"
59135945
value {

0 commit comments

Comments
 (0)