kubernetes: k8s.io/kubernetes/staging/src/k8s.io/client-go/discovery/cached/memory Index | Files

package memory

import "k8s.io/kubernetes/staging/src/k8s.io/client-go/discovery/cached/memory"

Index

Package Files

memcache.go

Variables

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 memory imports 13 packages (graph). Updated 2019-05-08. Refresh now. Tools for package owners.