distribution/registry/handlers
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
..
api_test.go Fix for api_test.go 2015-07-28 10:59:11 -07:00
app.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
app_test.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
basicauth.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
basicauth_prego14.go Move registry package into handler package 2015-02-10 17:25:40 -08:00
blob.go Manifest and layer soft deletion. 2015-07-24 09:57:20 -07:00
blobupload.go Round 4 2015-06-11 21:33:35 -07:00
catalog.go Create Repositories method 2015-07-21 21:45:14 -07:00
context.go Create Repositories method 2015-07-21 21:45:14 -07:00
helpers.go Export ServeJSON for serving error codes 2015-07-16 12:14:14 -07:00
hmac.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hmac_test.go Refactor Blob Service API 2015-05-15 17:05:18 -07:00
hooks.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
images.go Merge pull request #744 from aaronlehmann/manifest-put-response-code 2015-07-28 10:42:54 -07:00
mail.go Feature: Web Panic Reporting via hooks 2015-05-31 14:21:22 +00:00
tags.go Allow Manifest Service to be configured with function arguments 2015-07-15 12:25:16 -07:00