1
0
Fork 0

containerrc: Run %s/ /\t/g on containerc

Replace indentation with tabs, by replacing every two spaces with one
tab.

Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
Enno Tensing 2025-07-30 10:45:31 +02:00
parent 1c2224cb19
commit 658fc6465c
Signed by: tenno
GPG key ID: 95265603BD36E66C

View file

@ -1,189 +1,189 @@
{ {
"$schema": "http://json-schema.org/draft-04/schema#", "$schema": "http://json-schema.org/draft-04/schema#",
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string" "type": "string"
}, },
"image": { "image": {
"type": "object", "type": "object",
"properties": { "properties": {
"registry": { "registry": {
"type": "string" "type": "string"
}, },
"image": { "image": {
"type": "string" "type": "string"
}, },
"tag": { "tag": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": [
"registry", "registry",
"image", "image",
"tag" "tag"
] ]
}, },
"privileged": { "privileged": {
"type": "boolean" "type": "boolean"
}, },
"read_only": { "read_only": {
"type": "boolean" "type": "boolean"
}, },
"replace": { "replace": {
"type": "boolean" "type": "boolean"
}, },
"pull_policy": { "pull_policy": {
"type": "string" "type": "string"
}, },
"restart": { "restart": {
"type": "string" "type": "string"
}, },
"network": { "network": {
"type": "object", "type": "object",
"properties": { "properties": {
"mode": { "mode": {
"type": "string" "type": "string"
}, },
"options": { "options": {
"type": "array", "type": "array",
"items": {} "items": {}
} }
}, },
"required": [ "required": [
"mode", "mode",
"options" "options"
] ]
}, },
"dns": { "dns": {
"type": "object", "type": "object",
"properties": { "properties": {
"search": { "search": {
"type": "string" "type": "string"
}, },
"servers": { "servers": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "string" "type": "string"
} }
] ]
} }
}, },
"required": [ "required": [
"search", "search",
"servers" "servers"
] ]
}, },
"ports": { "ports": {
"type": "object", "type": "object",
"properties": { "properties": {
"tcp": { "tcp": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "string" "type": "string"
} }
] ]
}, },
"udp": { "udp": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "string" "type": "string"
} }
] ]
} }
}, },
"required": [ "required": [
"tcp", "tcp",
"udp" "udp"
] ]
}, },
"env": { "env": {
"type": "object" "type": "object"
} }
}, },
"secrets": { "secrets": {
"type": "object" "type": "object"
}, },
"volumes": { "volumes": {
"type": "object" "type": "object"
}, },
"capabilities": { "capabilities": {
"type": "object", "type": "object",
"properties": { "properties": {
"add": { "add": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "string" "type": "string"
} }
] ]
}, },
"drop": { "drop": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"type": "string" "type": "string"
} }
] ]
} }
}, },
"required": [ "required": [
"add", "add",
"drop" "drop"
] ]
}, },
"accounting": { "accounting": {
"type": "object", "type": "object",
"propeties": { "propeties": {
"cgroup": { "cgroup": {
"type": "object", "type": "object",
"properties": { "properties": {
"config": { "config": {
"type": "string" "type": "string"
}, },
"parent": { "parent": {
"type": "string" "type": "string"
}, },
"namespace": { "namespace": {
"type": "string" "type": "string"
}, },
"how": { "how": {
"type": "string" "type": "string"
} }
} }
}, },
"cpu": { "cpu": {
"type": "object", "type": "object",
"properties": { "properties": {
"period": { "period": {
"type": "string" "type": "string"
}, },
"quota": { "quota": {
"type": "string" "type": "string"
}, },
"shares": { "shares": {
"type": "string" "type": "string"
}, },
"number": { "number": {
"type": "string" "type": "string"
}, },
"cpuset": { "cpuset": {
"cpus": { "cpus": {
"type": "string" "type": "string"
}, },
"mems": { "mems": {
"type": "string" "type": "string"
} }
} }
} }
} }
} }
}, },
"required": [ "required": [
"name", "name",
"image" "image"
] ]
} }