Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sshuttle/sshuttle
/ get_method
Function
get_method
sshuttle/methods/__init__.py:109–111 ·
view source on GitHub ↗
(method_name)
Source
from the content-addressed store, hash-verified
107
108
109
def
get_method(method_name):
110
module = importlib.import_module(
"sshuttle.methods.%s"
% method_name)
111
return
module.Method(method_name)
112
113
114
def
get_auto_method():
Callers
15
test_get_supported_features
Function · 0.90
test_get_tcp_dstip
Function · 0.90
test_recv_udp
Function · 0.90
test_send_udp
Function · 0.90
test_setup_tcp_listener
Function · 0.90
test_setup_udp_listener
Function · 0.90
test_assert_features
Function · 0.90
test_firewall_command
Function · 0.90
test_setup_firewall
Function · 0.90
test_get_supported_features
Function · 0.90
test_get_tcp_dstip
Function · 0.90
test_recv_udp
Function · 0.90
Calls
no outgoing calls
Tested by
15
test_get_supported_features
Function · 0.72
test_get_tcp_dstip
Function · 0.72
test_recv_udp
Function · 0.72
test_send_udp
Function · 0.72
test_setup_tcp_listener
Function · 0.72
test_setup_udp_listener
Function · 0.72
test_assert_features
Function · 0.72
test_firewall_command
Function · 0.72
test_setup_firewall
Function · 0.72
test_get_supported_features
Function · 0.72
test_get_tcp_dstip
Function · 0.72
test_recv_udp
Function · 0.72