Debian Codegraph @

schema/config-linux.json

raw symbols SCIP
1 {
2 "linux": {
3 "description": "Linux platform-specific configurations",
4 "type": "object",
5 "properties": {
6 "devices": {
7 "type": "array",
8 "items": {
9 "$ref": "defs-linux.json#/definitions/Device"
10 }
11 },
12 "uidMappings": {
13 "type": "array",
14 "items": {
15 "$ref": "defs.json#/definitions/IDMapping"
16 }
17 },
18 "gidMappings": {
19 "type": "array",
20 "items": {
21 "$ref": "defs.json#/definitions/IDMapping"
22 }
23 },
24 "namespaces": {
25 "type": "array",
26 "items": {
27 "anyOf": [
28 {
29 "$ref": "defs-linux.json#/definitions/NamespaceReference"
30 }
31 ]
32 }
33 },
34 "resources": {
35 "type": "object",
36 "properties": {
37 "unified": {
38 "$ref": "defs.json#/definitions/mapStringString"
39 },
40 "devices": {
41 "type": "array",
42 "items": {
43 "$ref": "defs-linux.json#/definitions/DeviceCgroup"
44 }
45 },
46 "pids": {
47 "type": "object",
48 "properties": {
49 "limit": {
50 "$ref": "defs.json#/definitions/int64"
51 }
52 },
53 "required": [
54 "limit"
55 ]
56 },
57 "blockIO": {
58 "type": "object",
59 "properties": {
60 "weight": {
61 "$ref": "defs-linux.json#/definitions/weight"
62 },
63 "leafWeight": {
64 "$ref": "defs-linux.json#/definitions/weight"
65 },
66 "throttleReadBpsDevice": {
67 "type": "array",
68 "items": {
69 "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle"
70 }
71 },
72 "throttleWriteBpsDevice": {
73 "type": "array",
74 "items": {
75 "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle"
76 }
77 },
78 "throttleReadIOPSDevice": {
79 "type": "array",
80 "items": {
81 "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle"
82 }
83 },
84 "throttleWriteIOPSDevice": {
85 "type": "array",
86 "items": {
87 "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle"
88 }
89 },
90 "weightDevice": {
91 "type": "array",
92 "items": {
93 "$ref": "defs-linux.json#/definitions/blockIODeviceWeight"
94 }
95 }
96 }
97 },
98 "cpu": {
99 "type": "object",
100 "properties": {
101 "cpus": {
102 "type": "string"
103 },
104 "mems": {
105 "type": "string"
106 },
107 "period": {
108 "$ref": "defs.json#/definitions/uint64"
109 },
110 "quota": {
111 "$ref": "defs.json#/definitions/int64"
112 },
113 "burst": {
114 "$ref": "defs.json#/definitions/uint64"
115 },
116 "realtimePeriod": {
117 "$ref": "defs.json#/definitions/uint64"
118 },
119 "realtimeRuntime": {
120 "$ref": "defs.json#/definitions/int64"
121 },
122 "shares": {
123 "$ref": "defs.json#/definitions/uint64"
124 },
125 "idle": {
126 "$ref": "defs.json#/definitions/int64"
127 }
128 }
129 },
130 "hugepageLimits": {
131 "type": "array",
132 "items": {
133 "type": "object",
134 "properties": {
135 "pageSize": {
136 "type": "string",
137 "pattern": "^[1-9][0-9]*[KMG]B$"
138 },
139 "limit": {
140 "$ref": "defs.json#/definitions/uint64"
141 }
142 },
143 "required": [
144 "pageSize",
145 "limit"
146 ]
147 }
148 },
149 "memory": {
150 "type": "object",
151 "properties": {
152 "kernel": {
153 "$ref": "defs.json#/definitions/int64"
154 },
155 "kernelTCP": {
156 "$ref": "defs.json#/definitions/int64"
157 },
158 "limit": {
159 "$ref": "defs.json#/definitions/int64"
160 },
161 "reservation": {
162 "$ref": "defs.json#/definitions/int64"
163 },
164 "swap": {
165 "$ref": "defs.json#/definitions/int64"
166 },
167 "swappiness": {
168 "$ref": "defs.json#/definitions/uint64"
169 },
170 "disableOOMKiller": {
171 "type": "boolean"
172 },
173 "useHierarchy": {
174 "type": "boolean"
175 },
176 "checkBeforeUpdate": {
177 "type": "boolean"
178 }
179 }
180 },
181 "network": {
182 "type": "object",
183 "properties": {
184 "classID": {
185 "$ref": "defs.json#/definitions/uint32"
186 },
187 "priorities": {
188 "type": "array",
189 "items": {
190 "$ref": "defs-linux.json#/definitions/NetworkInterfacePriority"
191 }
192 }
193 }
194 },
195 "rdma": {
196 "type": "object",
197 "additionalProperties": {
198 "$ref": "defs-linux.json#/definitions/Rdma"
199 }
200 }
201 }
202 },
203 "cgroupsPath": {
204 "type": "string"
205 },
206 "rootfsPropagation": {
207 "$ref": "defs-linux.json#/definitions/RootfsPropagation"
208 },
209 "seccomp": {
210 "type": "object",
211 "properties": {
212 "defaultAction": {
213 "$ref": "defs-linux.json#/definitions/SeccompAction"
214 },
215 "defaultErrnoRet": {
216 "$ref": "defs.json#/definitions/uint32"
217 },
218 "flags": {
219 "type": "array",
220 "items": {
221 "$ref": "defs-linux.json#/definitions/SeccompFlag"
222 }
223 },
224 "listenerPath": {
225 "type": "string"
226 },
227 "listenerMetadata": {
228 "type": "string"
229 },
230 "architectures": {
231 "type": "array",
232 "items": {
233 "$ref": "defs-linux.json#/definitions/SeccompArch"
234 }
235 },
236 "syscalls": {
237 "type": "array",
238 "items": {
239 "$ref": "defs-linux.json#/definitions/Syscall"
240 }
241 }
242 },
243 "required": [
244 "defaultAction"
245 ]
246 },
247 "sysctl": {
248 "$ref": "defs.json#/definitions/mapStringString"
249 },
250 "maskedPaths": {
251 "$ref": "defs.json#/definitions/ArrayOfStrings"
252 },
253 "readonlyPaths": {
254 "$ref": "defs.json#/definitions/ArrayOfStrings"
255 },
256 "mountLabel": {
257 "type": "string"
258 },
259 "intelRdt": {
260 "type": "object",
261 "properties": {
262 "closID": {
263 "type": "string"
264 },
265 "l3CacheSchema": {
266 "type": "string"
267 },
268 "memBwSchema": {
269 "type": "string",
270 "pattern": "^MB:[^\\n]*$"
271 },
272 "enableCMT": {
273 "type": "boolean"
274 },
275 "enableMBM": {
276 "type": "boolean"
277 }
278 }
279 },
280 "personality": {
281 "type": "object",
282 "$ref": "defs-linux.json#/definitions/Personality"
283 },
284 "timeOffsets": {
285 "type": "object",
286 "properties": {
287 "boottime": {
288 "$ref": "defs-linux.json#/definitions/TimeOffsets"
289 },
290 "monotonic": {
291 "$ref": "defs-linux.json#/definitions/TimeOffsets"
292 }
293 }
294 }
295 }
296 }
297 }