client-go: Index | Files

package cached

import ""


Package Files



var (
    ErrCacheNotFound = errors.New("not found")

Error Constants

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 13 packages (graph) and is imported by 93 packages. Updated 2018-12-21. Refresh now. Tools for package owners.