proxy

package
v0.0.0-...-1cb3484 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderIamArn          = "x-aws-eks-identity-arn"
	HeaderUserAgent       = "User-Agent"
	HeaderAuthorization   = "Authorization"
	HeaderImpersonateUser = "Impersonate-User"

	HeaderValueUserAgent = "eks-connector/1.0"

	StatusProxyError = 502
	// MessageProxyError is the response body when there's any proxy level error occurs.
	// It is a static json so we are putting it here without needing to serializing it on every request.
	MessageProxyError = `` /* 128-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func NewProxyHandler

func NewProxyHandler(proxyConfig *config.ProxyConfig,
	serviceAccountProvider serviceaccount.SecretProvider) 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