MCPcopy
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
109def get_method(method_name):
110 module = importlib.import_module("sshuttle.methods.%s" % method_name)
111 return module.Method(method_name)
112
113
114def get_auto_method():

Callers 15

test_get_tcp_dstipFunction · 0.90
test_recv_udpFunction · 0.90
test_send_udpFunction · 0.90
test_setup_tcp_listenerFunction · 0.90
test_setup_udp_listenerFunction · 0.90
test_assert_featuresFunction · 0.90
test_firewall_commandFunction · 0.90
test_setup_firewallFunction · 0.90
test_get_tcp_dstipFunction · 0.90
test_recv_udpFunction · 0.90

Calls

no outgoing calls

Tested by 15

test_get_tcp_dstipFunction · 0.72
test_recv_udpFunction · 0.72
test_send_udpFunction · 0.72
test_setup_tcp_listenerFunction · 0.72
test_setup_udp_listenerFunction · 0.72
test_assert_featuresFunction · 0.72
test_firewall_commandFunction · 0.72
test_setup_firewallFunction · 0.72
test_get_tcp_dstipFunction · 0.72
test_recv_udpFunction · 0.72