forked from TrueCloudLab/distribution
The toolkit to pack, ship, store, and deliver container content
e158e3cd65
The http API has its first set of endpoints to implement the core aspects of fetching and uploading layers. Uploads can be started and completed in a single chunk and the content can be fetched via tarsum. Most proposed error conditions should be represented but edge cases likely remain. In this version, note that the layers are still called layers, even though the routes are pointing to blobs. This will change with backend refactoring over the next few weeks. The unit tests are a bit of a shamble but these need to be carefully written along with the core specification process. As the the client-server interaction solidifies, we can port this into a verification suite for registry providers. |
||
---|---|---|
client | ||
cmd | ||
common | ||
configuration | ||
digest | ||
open-design | ||
project/dev-image | ||
storage | ||
storagedriver | ||
.drone.yml | ||
api_test.go | ||
app.go | ||
app_test.go | ||
context.go | ||
CONTRIBUTING.md | ||
errors.go | ||
errors_test.go | ||
helpers.go | ||
images.go | ||
layer.go | ||
layerupload.go | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
routes.go | ||
routes_test.go | ||
tags.go | ||
util.go |