The striped cache used by the token cache is slightly more sophisticated however the simple cache provides about the same exact behavior. I used the striped cache rather than the simple cache because: * It has been used without issue as the primary token cache. * It preforms better under load. * It is already exposed in the public API of the token cache package. Kubernetes-commit: 0ec4d6d396f237ccb3ae0e96922a90600befb83d |
||
|---|---|---|
| .. | ||
| cache_simple.go | ||
| cache_striped.go | ||
| cache_test.go | ||
| cached_token_authenticator.go | ||
| cached_token_authenticator_test.go | ||