client-go: k8s.io/client-go/discovery/cached Index | Files

package cached

import "k8s.io/client-go/discovery/cached"

Index

Package Files

memcache.go

Variables

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

func NewMemCacheClient Uses

func NewMemCacheClient(delegate discovery.DiscoveryInterface) discovery.CachedDiscoveryInterface

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.

Package cached imports 9 packages (graph) and is imported by 9 packages. Updated 2017-12-28. Refresh now. Tools for package owners.