authproxy

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler forwards all the requests to specified k8s-apiserver after pass previous authentication

func NewHandler

func NewHandler(localClusterKubeConfig string) (*Handler, error)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Handler) SetHandlerClient added in v1.9.0

func (h *Handler) SetHandlerClient(cli client.Client)

func (*Handler) SetHandlerClientByRestConfig added in v1.9.0

func (h *Handler) SetHandlerClientByRestConfig(restConfig *rest.Config) error

func (*Handler) SetHandlerTS added in v1.9.0

func (h *Handler) SetHandlerTS(restConfig *rest.Config) error

Directories

Path Synopsis
Package proxy provides transport and upgrade support for proxies.
Package proxy provides transport and upgrade support for proxies.

Jump to

Keyboard shortcuts

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