1
0
Fork 0

containerrc: Add accounting to schema

Adds accounting and its entries to the JSON schema.

Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
Enno Tensing 2025-07-30 10:42:25 +02:00
parent 4224112c62
commit 8464196aaa
Signed by: tenno
GPG key ID: 95265603BD36E66C

View file

@ -134,6 +134,54 @@
"add", "add",
"drop" "drop"
] ]
},
"accounting": {
"type": "object",
"propeties": {
"cgroup": {
"type": "object",
"properties": {
"config": {
"type": "string"
},
"parent": {
"type": "string"
},
"namespace": {
"type": "string"
},
"how": {
"type": "string"
}
}
},
"cpu": {
"type": "object",
"properties": {
"period": {
"type": "string"
},
"quota": {
"type": "string"
},
"shares": {
"type": "string"
},
"number": {
"type": "string"
},
"cpuset": {
"cpus": {
"type": "string"
},
"mems": {
"type": "string"
}
}
}
}
}
}
} }
}, },
"required": [ "required": [