mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-623: Add Kubernetes protocol/parameter definitions and translations.
This commit is contained in:
@@ -53,7 +53,7 @@ public class LocalEnvironment implements Environment {
|
||||
* Array of all known protocol names.
|
||||
*/
|
||||
private static final String[] KNOWN_PROTOCOLS = new String[]{
|
||||
"vnc", "rdp", "ssh", "telnet"};
|
||||
"vnc", "rdp", "ssh", "telnet", "kubernetes"};
|
||||
|
||||
/**
|
||||
* The hostname to use when connecting to guacd if no hostname is provided
|
||||
|
@@ -0,0 +1,174 @@
|
||||
{
|
||||
"name" : "kubernetes",
|
||||
|
||||
"connectionForms" : [
|
||||
|
||||
{
|
||||
"name" : "network",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "hostname",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "port",
|
||||
"type" : "NUMERIC"
|
||||
},
|
||||
{
|
||||
"name" : "use-ssl",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
},
|
||||
{
|
||||
"name" : "ignore-cert",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
},
|
||||
{
|
||||
"name" : "ca-cert",
|
||||
"type" : "MULTILINE"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "container",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "namespace",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "pod",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "container",
|
||||
"type" : "TEXT"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "authentication",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "client-cert",
|
||||
"type" : "MULTILINE"
|
||||
},
|
||||
{
|
||||
"name" : "client-key",
|
||||
"type" : "MULTILINE"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "display",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "color-scheme",
|
||||
"type" : "TEXT",
|
||||
"options" : [ "", "black-white", "gray-black", "green-black", "white-black" ]
|
||||
},
|
||||
{
|
||||
"name" : "font-name",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "font-size",
|
||||
"type" : "ENUM",
|
||||
"options" : [ "", "8", "9", "10", "11", "12", "14", "18", "24", "30", "36", "48", "60", "72", "96" ]
|
||||
},
|
||||
{
|
||||
"name" : "scrollback",
|
||||
"type" : "NUMERIC"
|
||||
},
|
||||
{
|
||||
"name" : "read-only",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "behavior",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "backspace",
|
||||
"type" : "ENUM",
|
||||
"options" : [ "", "127", "8" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "typescript",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "typescript-path",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "typescript-name",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "create-typescript-path",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "recording",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "recording-path",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "recording-name",
|
||||
"type" : "TEXT"
|
||||
},
|
||||
{
|
||||
"name" : "recording-exclude-output",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
},
|
||||
{
|
||||
"name" : "recording-exclude-mouse",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
},
|
||||
{
|
||||
"name" : "recording-include-keys",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
},
|
||||
{
|
||||
"name" : "create-recording-path",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
],
|
||||
"sharingProfileForms" : [
|
||||
|
||||
{
|
||||
"name" : "display",
|
||||
"fields" : [
|
||||
{
|
||||
"name" : "read-only",
|
||||
"type" : "BOOLEAN",
|
||||
"options" : [ "true" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user