proxy

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogsHandler

func LogsHandler(b bundle.Bundle, l *slog.Logger) http.HandlerFunc

LogsHandler serves logs for k8s `logs` subresource from the provided bundle.

func New

New create new proxy handler that can be used by HTTP library.

func ReverseProxyForAPIServerHandler

func ReverseProxyForAPIServerHandler(cfg *rest.Config) (*httputil.ReverseProxy, error)

ReverseProxyForAPIServerHandler creates a reverse proxy handler for given rest config that represents a running k8s api server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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