forked from TrueCloudLab/distribution
558ace1391
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> |
||
---|---|---|
.. | ||
azure | ||
base | ||
factory | ||
filesystem | ||
gcs | ||
inmemory | ||
middleware | ||
s3-aws | ||
testsuites | ||
errors_test.go | ||
fileinfo.go | ||
storagedriver.go | ||
walk.go | ||
walk_test.go |