distribution/registry/storage
Richard Scothern 94935f39bc Add pull through cache functionality to the Registry which can be configured
with a new `proxy` section in the configuration file.

Create a new registry type which delegates storage to a proxyBlobStore
and proxyManifestStore.  These stores will pull through data if not present
locally.  proxyBlobStore takes care not to write duplicate data to disk.

Add a scheduler to cleanup expired content. The scheduler runs as a background
goroutine.  When a blob or manifest is pulled through from the remote registry,
an entry is added to the scheduler with a TTL.  When the TTL expires the
scheduler calls a pre-specified function to remove the fetched resource.

Add token authentication to the registry middleware.  Get a token at startup
and preload the credential store with the username and password supplied in the
config file.

Allow resumable digest functionality to be disabled at runtime and disable
it when the registry is a pull through cache.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-08-04 16:09:55 -07:00
..
cache Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
driver Merge pull request #493 from nevermosby/storage-support-openstack-swift 2015-07-22 23:53:36 -07:00
blob_test.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
blobcachemetrics.go Open cache interface 2015-05-15 17:56:28 -07:00
blobserver.go Allow disabling of starage driver redirects 2015-07-24 16:59:35 -07:00
blobstore.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
blobwriter.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
blobwriter_nonresumable.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
blobwriter_resumable.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
catalog.go Create Repositories method 2015-07-21 21:45:14 -07:00
catalog_test.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
filereader.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filereader_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filewriter.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
filewriter_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
linkedblobstore.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
manifeststore.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
manifeststore_test.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
paths.go Refactor specification of supported digests 2015-05-22 18:08:23 -07:00
paths_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
purgeuploads.go Replace uuid dependency with internal library 2015-05-22 18:59:41 -07:00
purgeuploads_test.go Replace uuid dependency with internal library 2015-05-22 18:59:41 -07:00
registry.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
revisionstore.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
signaturestore.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
tagstore.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
util.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
vacuum.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
walk.go Make Storage Driver API calls context aware. 2015-04-27 15:58:58 -07:00
walk_test.go Make Storage Driver API calls context aware. 2015-04-27 15:58:58 -07:00