client-gok8s.io/client-go/discovery/cached Index | Files

package cached

import "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
v5.0.1+incompatible
Published
Oct 16, 2017
Platform
windows/amd64
Imports
11 packages
Last checked
9 minutes ago

Tools for package owners.