memory

package
v0.0.0-...-212369e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL