Commit Graph

11 Commits

Author SHA1 Message Date
Christian Schwarz
ee570bb060 refactor: consolidate ForkReader-like implementations to IOCommand 2017-05-14 12:27:15 +02:00
Christian Schwarz
dd6dd60e98 Simplify "fork then io.Reader" abstractions 2017-05-13 15:23:37 +02:00
Christian Schwarz
cb37470010 sshbytestream: exited command always returns io.EOF 2017-05-06 23:44:59 +02:00
Christian Schwarz
22454738af application-wide logging through Logger interface 2017-05-03 18:32:11 +02:00
Christian Schwarz
ec4284f80c sshbytestream: fix semantics when ssh connection dies
in the Wait()ing goroutine, we create an instance of our own error
containing WaitErr + stderr excerpt. Only if the remote command exits
non-zero.

io.EOF is the error we get as soon as the other end of the pipe
(the ssh command) has died.
=> wait for it in the ReadWriter methods.
2017-04-30 23:47:12 +02:00
Christian Schwarz
2e6dc26993 sshbytestream: IdentityFile and custom SSHCommand. 2017-04-30 23:46:59 +02:00
Christian Schwarz
fd24096137 Decouple model and sshbytestream. 2017-04-29 20:09:09 +02:00
Christian Schwarz
d9ecfc8eb4 Gofmt megacommit. 2017-04-26 20:29:54 +02:00
Christian Schwarz
69f8e7cfc3 Implement chunking.
Move from rpc to separate util package.
2017-04-15 17:07:32 +02:00
Christian Schwarz
a790f8ee89 Implement ssh-based byte stream transport. 2017-04-15 15:43:50 +02:00
Christian Schwarz
123becbd22 Interface wireframe 2017-04-14 19:26:32 +02:00