Documentation
¶
Index ¶
- func CreateAgentReverseProxy(targetURL *url.URL, stream net.Conn, accessToken *string, host string) *httputil.ReverseProxy
- func HandleSpacesCodeServerProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesPortProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesSSHProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesTerminalProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesWebPortProxy(w http.ResponseWriter, r *http.Request)
- func PortRoutes() *http.ServeMux
- func Routes(router *http.ServeMux, cfg *config.ServerConfig)
- func RunSSHForwarderViaAgent(proxyServerURL, space, token string, skipTLSVerify bool) error
- func RunTCPForwarderViaAgent(proxyServerURL, listen, space string, port int, token string, ...)
- func RunTCPForwarderViaAgentWithContext(ctx context.Context, proxyServerURL, listen, space string, port int, ...) net.Listener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAgentReverseProxy ¶
func HandleSpacesCodeServerProxy ¶
func HandleSpacesCodeServerProxy(w http.ResponseWriter, r *http.Request)
func HandleSpacesPortProxy ¶
func HandleSpacesPortProxy(w http.ResponseWriter, r *http.Request)
func HandleSpacesSSHProxy ¶
func HandleSpacesSSHProxy(w http.ResponseWriter, r *http.Request)
func HandleSpacesTerminalProxy ¶
func HandleSpacesTerminalProxy(w http.ResponseWriter, r *http.Request)
func HandleSpacesWebPortProxy ¶
func HandleSpacesWebPortProxy(w http.ResponseWriter, r *http.Request)
Proxy a web port for a space or pool, the transport is http and the agent works out the http / https connection.
func RunSSHForwarderViaAgent ¶
func RunTCPForwarderViaAgent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.