package cache
import "k8s.io/apiserver/pkg/authentication/token/cache"
Index ¶
Functions ¶
func New ¶
func New(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration) authenticator.Token
New returns a token authenticator that caches the results of the specified authenticator. A ttl of 0 bypasses the cache.
Source Files ¶
cache_simple.go cache_striped.go cached_token_authenticator.go stats.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 24 packages
- Last checked
- 1 hour ago –
Tools for package owners.