MCPcopy
hub / github.com/docker/docker-py / __init__

Method __init__

docker/transport/sshconn.py:99–105  ·  view source on GitHub ↗
(self, ssh_transport=None, timeout=60, host=None)

Source from the content-addressed store, hash-verified

97
98class SSHConnection(urllib3.connection.HTTPConnection):
99 def __init__(self, ssh_transport=None, timeout=60, host=None):
100 super().__init__(
101 'localhost', timeout=timeout
102 )
103 self.ssh_transport = ssh_transport
104 self.timeout = timeout
105 self.ssh_host = host
106
107 def connect(self):
108 if self.ssh_transport:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected