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.
Click to show internal directories.
Click to hide internal directories.