3911880491
This change provides a toolkit for intercepting registry calls, such as `ManifestService.Get` and `LayerUpload.Finish`, with the goal of easily supporting interesting callbacks and listeners. The package proxies returned objects through the decorate function before creation, allowing one to carefully choose injection points. Use cases range from notification systems all the way to cache integration. While such a tool isn't strictly necessary, it reduces the amount of code required to accomplish such tasks, deferring the tricky aspects to the decorator package. Signed-off-by: Stephen J Day <stephen.day@docker.com> |
||
---|---|---|
.. | ||
decorator | ||
blobstore.go | ||
cloudfrontlayerhandler.go | ||
delegatelayerhandler.go | ||
doc.go | ||
filereader.go | ||
filereader_test.go | ||
filewriter.go | ||
filewriter_test.go | ||
layer.go | ||
layer_test.go | ||
layerhandler.go | ||
layerreader.go | ||
layerstore.go | ||
layerupload.go | ||
manifeststore.go | ||
manifeststore_test.go | ||
paths.go | ||
paths_test.go | ||
registry.go | ||
revisionstore.go | ||
services.go | ||
tagstore.go |