package cached

import "k8s.io/kubernetes/staging/src/k8s.io/client-go/discovery/cached"

Index

Variables

var (
	ErrCacheEmpty    = errors.New("the cache has not been filled yet")
	ErrCacheNotFound = errors.New("not found")
)

Functions

func NewMemCacheClient

NewMemCacheClient creates a new CachedDiscoveryInterface which caches discovery information in memory and will stay up-to-date if Invalidate is called with regularity.

NOTE: The client will NOT resort to live lookups on cache misses.

Source Files

memcache.go

Version
v1.12.1-beta.0
Published
Sep 27, 2018
Platform
linux/amd64
Imports
9 packages
Last checked
7 seconds ago

Tools for package owners.