Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenerOpts ¶
type ListenerOpts interface {
AuthTypes() []request.AuthType
KubernetesControlPlaneURL() *url.URL
IgnoredGroupNames() []string
IgnoredImpersonationsGroups() []string
ImpersonationGroupsRegexp() *regexp.Regexp
PreferredUsernameClaim() string
ReverseProxyTransport() (*http.Transport, error)
BearerTokenFile() string
BearerToken() string
SkipImpersonationReview() bool
TrustedProxyCIDRs() []*net.IPNet
XFCCHeader() string
AllowedPaths() []string
}
func NewKube ¶
func NewKube( authTypes []request.AuthType, ignoredGroups []string, claimName string, config *rest.Config, ignoredImpersonationGroups []string, impersonationGroupsString string, skipImpersonationReview bool, trustedProxyCIDRStrings []string, xfcc_header string, allowedPaths []string, ) (ListenerOpts, error)
Click to show internal directories.
Click to hide internal directories.