memory

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 46

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