Handle environments/:id/terminal.ws
A GitLab environment may expose a terminal connection for out-of-band access. Workhorse is responsible for providing a websocket connection to the terminal if present. It authenticates the user and retrieves connection details from GitLab using the environments/:id/terminal.ws/authorize endpoint, and sets up a proxy to the terminal provider, converting from the remote's subprotocol to a common format. Authentication is periodically re-done, and the connection will be broken if it fails, or if the connection details change in any way.
Showing
doc/terminal.md
0 → 100644
internal/terminal/proxy.go
0 → 100644
terminal_test.go
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment