mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 22:25:24 +00:00
feat: finish the docker plugin (B15)
This commit is contained in:
1 parent
0a3f05d99d
commit
993a91c899
167 files changed
+26299
-5136
No files matched your search
@@ -19,9 +19,20 @@
|
||||
"credentials:use",
|
||||
"ssh:connect",
|
||||
"network:serve",
|
||||
"audit:read",
|
||||
"ui:surface"
|
||||
],
|
||||
"provides": [
|
||||
{
|
||||
"service": "docker.containers",
|
||||
"version": "1.0.0",
|
||||
"permission": "docker.use"
|
||||
},
|
||||
{
|
||||
"service": "docker.events",
|
||||
"version": "1.0.0",
|
||||
"permission": "docker.use"
|
||||
}
|
||||
],
|
||||
"contributes": {
|
||||
"tabs": [
|
||||
{
|
||||
@@ -31,10 +42,39 @@
|
||||
"openFrom": ["host-context-menu", "palette"]
|
||||
}
|
||||
],
|
||||
"hostCapability": {
|
||||
"key": "enableDocker",
|
||||
"labelKey": "hosts.dockerIntegration",
|
||||
"editorTab": "docker"
|
||||
"permissions": [
|
||||
{
|
||||
"name": "use",
|
||||
"titleKey": "permissions.use.title",
|
||||
"descriptionKey": "permissions.use.description",
|
||||
"defaultRoles": ["admin", "user"]
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"host": {
|
||||
"enableKey": "enableDocker",
|
||||
"enableLabelKey": "settings.host.enable.label",
|
||||
"fields": [
|
||||
{
|
||||
"key": "containerRuntime",
|
||||
"type": "select",
|
||||
"labelKey": "settings.host.containerRuntime.label",
|
||||
"descriptionKey": "settings.host.containerRuntime.description",
|
||||
"requires": "enableDocker",
|
||||
"default": "docker",
|
||||
"options": [
|
||||
{
|
||||
"value": "docker",
|
||||
"labelKey": "settings.host.containerRuntime.docker"
|
||||
},
|
||||
{
|
||||
"value": "podman",
|
||||
"labelKey": "settings.host.containerRuntime.podman"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"locales": "locales",
|
||||
|
||||
Reference in new issue
Block a user