- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getUserKey (0.34 sec)
-
plugin/pkg/admission/eventratelimit/limitenforcer.go
func getNamespaceKey(attr admission.Attributes) string { return attr.GetNamespace() } // getUserKey returns a cache key that is based on the user of the event request func getUserKey(attr admission.Attributes) string { userInfo := attr.GetUserInfo() if userInfo == nil { return "" } return userInfo.GetName() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 08 02:31:37 UTC 2021 - 3.8K bytes - Viewed (0)