proxy

package
v0.0.0-...-52cadad Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 10 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) (http.Handler, error)

Mostly copied from "kubectl proxy" code

func HandlerFromConfig

func HandlerFromConfig(prefix, kubeConfig string) (http.Handler, error)

Mostly copied from "kubectl proxy" code

func ImpersonatingHandler

func ImpersonatingHandler(prefix string, cfg *rest.Config) http.Handler

func SetHost

func SetHost(host string, h http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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