proxy_server

package
v0.0.0-...-000e69e Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixLinkHeader

func FixLinkHeader(scheme, host, header string) (string, error)

func Healthz

func Healthz(w http.ResponseWriter, r *http.Request)

func Run

func Run(addr string, disableProxyHeaders bool, fetcher *ecr_token.EcrFetcher)

func Version

func Version(w http.ResponseWriter, r *http.Request)

Types

type WebData

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

func (*WebData) CopyHeaders

func (d *WebData) CopyHeaders(src *http.Request, dst *http.Request)

func (*WebData) Handler

func (d *WebData) Handler(w http.ResponseWriter, r *http.Request)

func (*WebData) Readyz

func (d *WebData) Readyz(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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