From 8464196aaa6eb0418ca78cb81d6af48aa99d1a7e Mon Sep 17 00:00:00 2001 From: Enno Tensing Date: Wed, 30 Jul 2025 10:42:25 +0200 Subject: [PATCH] containerrc: Add accounting to schema Adds accounting and its entries to the JSON schema. Signed-off-by: Enno Tensing --- containerrc.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/containerrc.json b/containerrc.json index 06ce0e9..7e68fad 100644 --- a/containerrc.json +++ b/containerrc.json @@ -134,6 +134,54 @@ "add", "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": [