package
0.3.0
Repository: https://github.com/jetstack/kube-oidc-proxy.git
Documentation: pkg.go.dev

# Functions

BearerToken will return the bearer token stored in the request context.
ImpersonationConfig returns the impersonation configuration held in the context if existing.
NoImpersonation returns whether the noImpersonation context key has been set.
RemoteAddress will attempt to return the source client address if available in the request context.
WithBearerToken will add the bearer token to the request context from an http.Header to the request context.
WithImpersonationConfig returns a copy of parent in which contains the impersonation configuration.
WithNoImpersonation returns a copy of the request in which the noImpersonation context value is set.