Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
Constants ¶
View Source
const (
UserHeaderClientIPKey = "Remote-Client-IP"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func New ¶
func New(restConfig *rest.Config, oidcOptions *options.OIDCAuthenticationOptions, auditOptions *options.AuditOptions, tokenReviewer *tokenreview.TokenReview, ssinfo *server.SecureServingInfo, config *Config) (*Proxy, error)
func (*Proxy) OIDCTokenAuthenticator ¶ added in v0.2.0
func (p *Proxy) OIDCTokenAuthenticator() authenticator.Token
Return the proxy OIDC token authenticator
func (*Proxy) RoundTrip ¶
RoundTrip is called last and is used to manipulate the forwarded request using context.
func (*Proxy) RunPreShutdownHooks ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.