handler

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL