distribution/registry
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
..
api chore: fix some typos in comments 2024-04-23 17:48:53 +08:00
auth feature: Bump go-jose and require signing algorithms in auth 2024-05-30 20:44:35 +01:00
handlers Enable configuration of index dependency validation 2024-05-28 09:56:14 +01:00
listener feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
middleware Merge pull request #2752 from davidswu/registry-driver-middleware 2023-06-21 10:06:13 -07:00
proxy Include headers when serving blob through proxy (#4273) 2024-05-14 14:27:09 +01:00
storage feat: implement 'rewrite' storage middleware 2024-07-04 18:49:25 +04:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Stop proxy scheduler on system exit 2024-05-13 17:01:35 +03:00
registry_test.go Add registry.Shutdown method for graceful shutdown of embedded registry 2024-04-29 20:18:58 +02:00
root.go feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00