The toolkit to pack, ship, store, and deliver container content
Find a file
Stephen J Day 22c9f45598 Carve out initial application structure
This changeset defines the application structure to be used for the http side
of the new registry. The main components are the App and Context structs. The
App context is instance global and manages global configuration and resources.
Context contains request-specific resources that may be created as a by-product
of an in-flight request.

To latently construct per-request handlers and leverage gorilla/mux, a dispatch
structure has been propped up next to the main handler flow. Without this, a
router and all handlers need to be constructed on every request. By
constructing handlers on each request, we ensure thread isolation and can
carefully control the security context of in-flight requests. There are unit
tests covering this functionality.
2014-11-10 19:03:49 -08:00
cmd Expects storage driver executables to be of the form registry-storage-name 2014-11-06 18:32:06 -08:00
configuration Refactors configuration parser, removes Registry level from config file 2014-11-04 22:31:59 -08:00
open-design Initial open-design proposal 2014-11-10 09:39:20 -08:00
storagedriver Merge pull request #686 from BrianBland/storagedriver-versioning 2014-11-07 14:55:13 -08:00
.travis.yml Adds storage driver interface, tests, and two basic implementations 2014-10-22 10:50:43 -07:00
app.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
app_test.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
context.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
CONTRIBUTING.md Initial open-design proposal 2014-11-10 09:39:20 -08:00
errors.go Allow Errors to be an error itself 2014-11-10 16:02:45 -08:00
errors_test.go Initial implementation of API errors data structure 2014-11-10 15:29:30 -08:00
helpers.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
images.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
layer.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
layerupload.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
LICENSE + license 2014-10-21 13:25:04 -07:00
MAINTAINERS Initial open-design proposal 2014-11-06 13:28:27 -08:00
routes.go Clearer names for layer upload routes 2014-11-10 18:26:06 -08:00
routes_test.go Clearer names for layer upload routes 2014-11-10 18:26:06 -08:00
tags.go Carve out initial application structure 2014-11-10 19:03:49 -08:00
util.go Carve out initial application structure 2014-11-10 19:03:49 -08:00