distribution/registry/storage/driver/middleware
Andrey Smirnov 558ace1391
feat: implement 'rewrite' storage middleware
This allows to rewrite 'URLFor' of the storage driver to use a specific
host/trim the base path.

It is different from the 'redirect' middleware, as it still calls the
storage driver URLFor.

For example, with Azure storage provider, this allows to transform the
SAS Azure Blob Storage URL into the URL compatible with Azure Front
Door.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-07-04 18:49:25 +04:00
..
cloudfront chore: fix some typos in comments 2024-04-23 12:04:03 +08:00
redirect testing: replace legacy gopkg.in/check.v1 2023-12-13 09:22:43 +00:00
rewrite feat: implement 'rewrite' storage middleware 2024-07-04 18:49:25 +04:00
storagemiddleware.go storage/driver: plumb contexts into middlewares 2023-10-27 17:48:57 -04:00