Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(prefix string, cfg *rest.Config, transport http.RoundTripper) (http.Handler, error)
Mostly copied from "kubectl proxy" code
func ImpersonatingHandler ¶
func ImpersonatingHandler(prefix string, cfg *rest.Config) http.Handler
func StripLeaveSlash ¶
func StripLeaveSlash(prefix string, h http.Handler) http.Handler
like http.StripPrefix, but always leaves an initial slash. (so that our regexps will work.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.