add varlink bridge

allow the user to define a remote host and remote username for their
remote podman sessions.  this is then feed to the varlink "bridge" as
the ssh credentials and endpoint.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-04-29 10:30:12 -05:00
parent 64d1a357e8
commit 38199f4c28
13 changed files with 118 additions and 42 deletions

View File

@ -60,6 +60,7 @@ func (i *LibpodAPI) Attach(call iopodman.VarlinkCall, name string, detachKeys st
if !start && state != libpod.ContainerStateRunning {
return call.ReplyErrorOccurred("container must be running to attach")
}
call.Reply(nil)
reader, writer, _, pw, streams := setupStreams(call)
go func() {