package
1.5.0
Repository: https://github.com/fluxcd/source-controller.git
Documentation: pkg.go.dev

# Functions

MustMakeMetrics creates a new CacheRecorder, and registers the metrics collectors in the controller-runtime metrics registry.
New creates a new cache with the given configuration.
NewCacheRecorder returns a new CacheRecorder.

# Constants

CacheEventTypeHit is the event type for cache hits.
CacheEventTypeMiss is the event type for cache misses.

# Structs

Cache is a thread-safe in-memory key/value store.
CacheRecorder is a recorder for cache events.
Item is an item stored in the cache.