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_test.go | ||
filereader.go | ||
filewriter_test.go | ||
filewriter.go | ||
layer_test.go | ||
layer.go | ||
layerhandler.go | ||
layerreader.go | ||
layerstore.go | ||
layerupload.go | ||
manifeststore_test.go | ||
manifeststore.go | ||
paths_test.go | ||
paths.go | ||
registry.go | ||
revisionstore.go | ||
services.go | ||
tagstore.go |