client-gok8s.io/client-go/discovery/cached/memory Index | Files

package memory

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

Index

Variables

var (
	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
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
15 packages
Last checked
2 hours ago

Tools for package owners.