kubernetes/staging/src/k8s.io/apiserver/pkg/server/handler.go

type APIServerHandler

type HandlerChainBuilderFn

func NewAPIServerHandler(name string, s runtime.NegotiatedSerializer, handlerChainBuilder HandlerChainBuilderFn, notFoundHandler http.Handler) *APIServerHandler {}

// ListedPaths returns the paths that should be shown under /
func (a *APIServerHandler) ListedPaths() []string {}

type director

func (d director) ServeHTTP(w http.ResponseWriter, req *http.Request) {}

// TODO: Unify with RecoverPanics?
func logStackOnRecover(s runtime.NegotiatedSerializer, panicReason interface{}

func serviceErrorHandler(s runtime.NegotiatedSerializer, serviceErr restful.ServiceError, request *restful.Request, resp *restful.Response) {}

// ServeHTTP makes it an http.Handler
func (a *APIServerHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {}