inmemory

package
v2.0.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

README

Docker-Registry In-Memory Storage Driver

An implementation of the storagedriver.StorageDriver interface which uses local memory for object storage.

IMPORTANT: This storage driver does not persist data across runs, and primarily exists for testing.

Parameters

None

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

Driver is a storagedriver.StorageDriver implementation backed by a local map. Intended solely for example and testing purposes.

func New

func New() *Driver

New constructs a new Driver.

Jump to

Keyboard shortcuts

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