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")
)

Error Constants

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
v10.0.0+incompatible
Published
Dec 4, 2018
Platform
js/wasm
Imports
9 packages
Last checked
3 minutes ago

Tools for package owners.