Michael Gaffney and Jeff Mitchell
94cb79bbdd
See how Boundary would look with gofumpt applied ( #853 )
...
* See how Boundary would look with https://github.com/mvdan/gofumpt applied
Results of running `gofumpt -w -s .`
* Update tools file and Makefile for gofumpt
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2021-01-07 10:02:32 -05:00
Jeff Mitchell
16f7dc1c96
Update connect unauthorized message to give a bit more detail
2020-12-17 11:06:01 -05:00
Jeff Mitchell
a6cca576a3
Attempt canceling sessions by the client ( #831 )
...
* Attempt canceling sessions by the client
In some circumstances (like a Ctrl-C), the client knows it's shutting
down and the TOFU token will be lost. In this case it makes sense to
cancel the session rather than have it time out. This introduces a
command enum to the handshake message which can be used for the client
to send commands to the worker -- in this case the only specified
command is to cancel the session. It doesn't occur if the session is
already timed out or if we can't authorize connections as this generally
means the session is already invalid.
2020-12-16 17:14:47 -05:00
Jeff Mitchell
b809d3f12a
Add kube connect subcommand ( #816 )
2020-12-14 16:52:11 -05:00
Jeff Mitchell
d4a6efb363
Pass endpoint to the client ( #811 )
...
This allows us to automatically set TLS parameters, useful for `boundary
connect http` and some other features to come.
2020-12-09 14:45:53 -05:00
Jeff Mitchell
589c79831f
Create internal capability for json errors for connect ( #809 )
...
* Create internal capability for json errors for connect
* Update error codes
2020-12-07 09:02:02 -05:00
Jeff Malnick and Jeff Mitchell
a7fca44809
Fix authz flag ( #787 )
...
* Fix authz flag
* add changelog bug fix for authz flag
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2020-11-13 10:06:37 -05:00
Jeff Mitchell
6d59ac1eda
Update synopsis for Connect command so it doesn't wrap on most terminals
2020-11-02 09:45:33 -05:00
Jeff Mitchell
813d21565f
Allow authorize-session to be invoked with target name ( #737 )
2020-10-22 08:40:00 -04:00
Jeff Mitchell
95404b2a56
Separate out protocol-specific functions ( #610 )
...
Placing them into separate files slims down the main connect file and
makes it more obvious where things need to be handled for future
integrations.
2020-10-10 16:12:04 -04:00