You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add platform for multi-arch builds
PLATFORM is now populated in the Makefile so that it can be
used in an on-device Docker build.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
Switch to using github.com/rancher/remotedialer for the transport
Fundamentally Inlets must perform tunneling and reverse proxying. Prior
to this commit both functions in Inlets are custom implementations tied
quite heavily to HTTP 1.1 request/response with no bi-directional
communication.
This patch replaces both tunneling and proxying with external libraries.
The transport layer is switched to using
github.com/rancher/remotedialer. Remote dialer allows tunneling
connections at a net.Conn level so higher level protocols such
as HTTP, HTTP2, WebSockets, gRPC, etc need not require specific
tunneling logic only proxy logic.
For proxying logic we use Kubernetes UpgradeAwareHandler which builds on
top of go's built in httputil.ReverseProxy but adds support for
"Connection: Upgrade" requests and HTTP response HTML rewriting. Once
Inlets switches to go 1.12 it might be possible to drop the Kubernetes
library and instead use the bare httputil.ReverseProxy as go 1.12 adds
support for proxying WebSockets.
Signed-off-by: Darren Shepherd <darren@rancher.com>
Allow multiple clients
This change allows multiple clients to connect or the same client
to reconnect. Fixes: #52
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
Produce SHA hashes of each binary
This approacth is the same as openfaas/faas-cli.
Also updated travis to be picked up on the releases page.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>