Documentation ¶
Index ¶
- func CheckJWTMiddleware(client client.Writer) mux.MiddlewareFunc
- func CheckPaths(log logr.Logger, allowedPaths sets.Set[string], ...) mux.MiddlewareFunc
- func CheckUserInCapsuleGroupMiddleware(client client.Writer, log logr.Logger, claim string, authTypes []req.AuthType, ...) mux.MiddlewareFunc
- func CheckUserInIgnoredGroupMiddleware(client client.Writer, log logr.Logger, claim string, authTypes []req.AuthType, ...) mux.MiddlewareFunc
- func MetricsMiddleware(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckJWTMiddleware ¶
func CheckJWTMiddleware(client client.Writer) mux.MiddlewareFunc
func CheckPaths ¶
func CheckUserInIgnoredGroupMiddleware ¶
func CheckUserInIgnoredGroupMiddleware(client client.Writer, log logr.Logger, claim string, authTypes []req.AuthType, ignoredUserGroups sets.Set[string], ignoredImpersonationGroups []string, impersonationGroupsRegexp *regexp.Regexp, skipImpersonationReview bool, fn func(writer http.ResponseWriter, request *http.Request)) mux.MiddlewareFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.