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

package cache

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

Index

Package Files

cache_simple.go cache_striped.go cached_token_authenticator.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 19 packages (graph) and is imported by 58 packages. Updated 2019-12-14. Refresh now. Tools for package owners.