Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultSize is the default cache size to use if no size is explicitly // configured. DefaultSize = 10000 // UnlimitedSize indicates the cache size should not be limited. UnlimitedSize = math.MaxInt )
Variables ¶
This section is empty.
Functions ¶
func NewInMemoryBlobDescriptorCacheProvider ¶
func NewInMemoryBlobDescriptorCacheProvider(size int) cache.BlobDescriptorCacheProvider
NewInMemoryBlobDescriptorCacheProvider returns a new mapped-based cache for storing blob descriptor data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.