Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEntitlementHandler ¶
func CheckEntitlementHandler(log logr.Logger, next http.Handler, publicRoutes []string) http.HandlerFunc
CheckEntitlementHandler looks for an entitlement in the request context and returns a 500 if the entitlement is not found or appends an HTTP header with an expired message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.