distribution/storagedriver/inmemory
Stephen J Day 75c5916dde Release lock during WriteStream for inmemory driver
While reading from the input in WriteStream, the inmemory driver can deadlock
if the reader is from the same instance. To fix this, the write lock is
released before reading into a local buffer. The lock is re-acquired to
finish the actual write.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-01-09 14:49:06 -08:00
..
driver_test.go Move from docker-registry to distribution 2014-12-23 17:13:02 -08:00
driver.go Release lock during WriteStream for inmemory driver 2015-01-09 14:49:06 -08:00
mfs.go Merge pull request #832 from BrianBland/ng-storagedriver-tests 2014-12-09 21:01:40 -08:00
README.md Adds basic READMEs to inmemory and filesystem storage drivers 2014-12-29 13:59:40 -08:00

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