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

Method close

docker/transport/sshconn.py:90–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 return self.proc.stdout
89
90 def close(self):
91 if not self.proc or self.proc.stdin.closed:
92 return
93 self.proc.stdin.write(b'\n\n')
94 self.proc.stdin.flush()
95 self.proc.terminate()
96
97
98class SSHConnection(urllib3.connection.HTTPConnection):

Callers 9

create_archiveFunction · 0.45
mkbuildcontextFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
closeMethod · 0.45
__init__Method · 0.45
_read_from_socketMethod · 0.45
buildMethod · 0.45
exec_startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected