feat(connection): add reusable tunnel profiles
This commit is contained in:
1 parent
4dcee1aca0
commit
977e7f78ca
34 files changed
+1335
-22
No files matched your search
@@ -870,6 +870,7 @@ mod tests {
|
||||
|
||||
fn hop(id: &str, host: &str, port: u16) -> SshTunnelConfig {
|
||||
SshTunnelConfig {
|
||||
profile_id: String::new(),
|
||||
id: id.to_string(),
|
||||
name: String::new(),
|
||||
enabled: true,
|
||||
|
||||
@@ -247,6 +247,7 @@ mod tests {
|
||||
|
||||
fn ssh_layer(id: &str, host: &str, port: u16) -> TransportLayerConfig {
|
||||
TransportLayerConfig::Ssh(SshTunnelConfig {
|
||||
profile_id: String::new(),
|
||||
id: id.to_string(),
|
||||
name: String::new(),
|
||||
enabled: true,
|
||||
@@ -266,6 +267,7 @@ mod tests {
|
||||
|
||||
fn proxy_layer(id: &str, host: &str, port: u16) -> TransportLayerConfig {
|
||||
TransportLayerConfig::Proxy(ProxyTunnelConfig {
|
||||
profile_id: String::new(),
|
||||
id: id.to_string(),
|
||||
name: String::new(),
|
||||
enabled: true,
|
||||
@@ -279,6 +281,7 @@ mod tests {
|
||||
|
||||
fn http_tunnel_layer(id: &str, url: &str) -> TransportLayerConfig {
|
||||
TransportLayerConfig::HttpTunnel(HttpTunnelConfig {
|
||||
profile_id: String::new(),
|
||||
id: id.to_string(),
|
||||
name: String::new(),
|
||||
enabled: true,
|
||||
|
||||
Reference in new issue
Block a user