Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteContainerProxy ¶
func DeleteContainerProxy(ctName string)
DeleteContainerProxy() removes proxy from map. Should be called when destroying the container
func HandleReverseProxy ¶
func HandleReverseProxy(w http.ResponseWriter, r *http.Request)
HandleReverseProxy() gets the proxy from the map and serves it
func HandleUnauthorized ¶
func HandleUnauthorized(w http.ResponseWriter, r *http.Request)
HandleUnauthorized() returns an unauthorized HTTP error (Used to e.g. block file explorer)
func NewContainerProxy ¶
NewContainerProxy is a wrapper around newProxy that fetches the required info about the container, creates a proxy and stores the pointer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.