Versions in this module Expand all Collapse all v0 v0.24.0 Mar 25, 2022 Changes in this version + const DefaultHostAcceptRE + const DefaultMethodRejectRE + const DefaultPathAcceptRE + const DefaultPathRejectRE + func MakeRegexpArray(str string) ([]*regexp.Regexp, error) + func MakeRegexpArrayOrDie(str string) []*regexp.Regexp + func NewProxyHandler(apiProxyPrefix string, filter *FilterServer, cfg *rest.Config, ...) (http.Handler, error) + type FilterServer struct + AcceptHosts []*regexp.Regexp + AcceptPaths []*regexp.Regexp + RejectMethods []*regexp.Regexp + RejectPaths []*regexp.Regexp + func (f *FilterServer) HandlerFor(delegate http.Handler) *FilterServer + func (f *FilterServer) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type Server struct + func NewServer(filebase string, apiProxyPrefix string, staticPrefix string, ...) (*Server, error) + func (s *Server) Listen(address string, port int) (net.Listener, error) + func (s *Server) ListenUnix(path string) (net.Listener, error) + func (s *Server) ServeOnListener(l net.Listener) error