memory

package
v5.31.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Overview

Package memory implements an in-memory BlobInfoCache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.BlobInfoCache

New returns a BlobInfoCache implementation which is in-memory only.

This is primarily intended for tests, but also used as a fallback if blobinfocache.DefaultCache can’t determine, or set up, the location for a persistent cache. Most users should use blobinfocache.DefaultCache. instead of calling this directly. Manual users of types.{ImageSource,ImageDestination} might also use this instead of a persistent cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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