proxy

package
v0.0.0-...-1132b07 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSingleHostReverseProxy

func NewSingleHostReverseProxy(target *url.URL) *httputil.ReverseProxy

Types

type ProxyServer

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

func New

func New(client client.Client, logger logr.Logger, verificationCert string) (*ProxyServer, error)

func (*ProxyServer) ServeHTTP

func (server *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*ProxyServer) Start

func (server *ProxyServer) Start(address string) error

Jump to

Keyboard shortcuts

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