package
0.0.0-20240122153004-13bcfc5aacc5
Repository: https://github.com/stealthycoder/distribution.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewCachedBlobStatter creates a new statter which prefers a cache and falls back to a backend.
NewCachedBlobStatterWithMetrics creates a new statter which prefers a cache and falls back to a backend.
ValidateDescriptor provides a helper function to ensure that caches have common criteria for admitting descriptors.

# Structs

Metrics is used to hold metric counters related to the number of times a cache was hit or missed.

# Interfaces

BlobDescriptorCacheProvider provides repository scoped BlobDescriptorService cache instances and a global descriptor cache.
Logger can be provided on the MetricsTracker to log errors.
MetricsTracker represents a metric tracker which simply counts the number of hits and misses.