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
v9.0.0-invalid+incompatible
Published
Sep 27, 2018
Platform
js/wasm
Imports
9 packages
Last checked
2 minutes ago

Tools for package owners.