mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-01 08:05:23 +00:00
feat: convert ssh tunnels into a plugin
This commit is contained in:
1 parent
c85c1fdb86
commit
1682861853
220 files changed
+36928
-11374
No files matched your search
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"id": "tunnels",
|
||||
"name": "Tunnels",
|
||||
"version": "1.0.0",
|
||||
"description": "SSH port forwarding between servers, and client tunnels from the desktop app.",
|
||||
"author": {
|
||||
"name": "Termix"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/Termix-SSH/Termix",
|
||||
"category": "Networking",
|
||||
"icon": "ArrowLeftRight",
|
||||
"engine": {
|
||||
"termix": ">=2.9.0",
|
||||
"api": "1"
|
||||
},
|
||||
"capabilities": [
|
||||
"hosts:read",
|
||||
"credentials:use",
|
||||
"ssh:connect",
|
||||
"db:own",
|
||||
"network:serve",
|
||||
"ui:surface"
|
||||
],
|
||||
"provides": [
|
||||
{
|
||||
"service": "tunnels.access",
|
||||
"version": "1.0.0",
|
||||
"permission": "tunnels.use"
|
||||
}
|
||||
],
|
||||
"contributes": {
|
||||
"tabs": [
|
||||
{
|
||||
"id": "tunnel",
|
||||
"titleKey": "nav.tunnels",
|
||||
"icon": "ArrowLeftRight",
|
||||
"openFrom": ["host-context-menu"]
|
||||
}
|
||||
],
|
||||
"panels": [
|
||||
{
|
||||
"id": "port-forwarding",
|
||||
"titleKey": "nav.portForwarding",
|
||||
"icon": "Network"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"id": "tunnels.statuses",
|
||||
"titleKey": "nav.tunnels",
|
||||
"handler": "statuses",
|
||||
"permission": "tunnels.use"
|
||||
},
|
||||
{
|
||||
"id": "tunnels.open",
|
||||
"titleKey": "nav.tunnels",
|
||||
"handler": "open",
|
||||
"permission": "tunnels.use"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"name": "use",
|
||||
"titleKey": "permissions.use.title",
|
||||
"descriptionKey": "permissions.use.description",
|
||||
"defaultRoles": ["admin", "user"]
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"host": {
|
||||
"enableKey": "enableTunnel",
|
||||
"enableLabelKey": "settings.host.enable.label",
|
||||
"fields": [
|
||||
{
|
||||
"key": "tunnelConnections",
|
||||
"type": "custom",
|
||||
"component": "tunnelConnections",
|
||||
"requires": "enableTunnel"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"hostCapability": {
|
||||
"key": "enableTunnel",
|
||||
"labelKey": "hosts.tabTunnels",
|
||||
"editorTab": "general"
|
||||
}
|
||||
},
|
||||
"locales": "locales",
|
||||
"platforms": ["linux", "win32", "darwin"]
|
||||
}
|
||||
Reference in new issue
Block a user