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 CAFromFile ¶
type CAFromFile struct {
CAFile string
}
implement oidc.CAContentProvider to load the ca file from the options
func (CAFromFile) CurrentCABundleContent ¶
func (caFromFile CAFromFile) CurrentCABundleContent() []byte
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, subjectAccessReviewer *subjectaccessreview.SubjectAccessReview, ssinfo *server.SecureServingInfo, config *Config) (*Proxy, error)
func (*Proxy) OIDCTokenAuthenticator ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.