apiserver: k8s.io/apiserver/pkg/authentication/token/cache Index | Files

package cache

import "k8s.io/apiserver/pkg/authentication/token/cache"


Package Files

cache_simple.go cache_striped.go cached_token_authenticator.go stats.go

func New Uses

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.

Package cache imports 21 packages (graph) and is imported by 74 packages. Updated 2020-02-14. Refresh now. Tools for package owners.