harbor/src/server/middleware
stonezdj ee4b16ccdb Change the condition of LocalManifest
Compare the local digest and the remote digest when pull by tag
Use HEAD request (ManifestExist) instead of GET request (GetManifest) to avoid been throttled
For manifest list, it can avoid GET request because cached manifest list maybe different with the original manifest list
Make RemoteInterface public
Fixes #13112

Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-10-14 15:15:48 +08:00
..
apiversion Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
artifactinfo Limit the permission of secret used by proxy cache service 2020-07-27 10:15:00 +08:00
blob revise the blob logs 2020-07-29 12:45:30 +08:00
contenttrust Check the tag in isArtifactSigned func 2020-09-05 17:00:55 +08:00
csrf Store csrf token in the header of response instead of cookie 2020-08-20 15:46:02 +08:00
immutable move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
log move logger from common to lib 2020-04-02 14:09:03 +08:00
notification Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
orm Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
quota fix(quota): change log to debug level when warning not found 2020-08-24 07:55:46 +00:00
readonly move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
repoproxy Change the condition of LocalManifest 2020-10-14 15:15:48 +08:00
requestid feat(beego): upgrade beego to v1.12 which support middleware (#10524) 2020-01-20 16:41:49 +08:00
security Revert "Store User ID in session instead of the whole user model (#12984)" 2020-09-15 10:05:31 +08:00
session Relocate/rename some packages (#11183) 2020-03-24 20:45:45 +08:00
transaction move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
util feat(scan): revert bearer token support for scanner 2020-04-11 08:45:29 +00:00
v2auth Return basic auth challenge for /v2/_catalog (#12956) 2020-09-03 11:31:57 +08:00
vulnerable refactor(scan): remove duplicate CVESet types 2020-08-18 06:33:17 +00:00
middleware_test.go feat(beego): upgrade beego to v1.12 which support middleware (#10524) 2020-01-20 16:41:49 +08:00
middleware.go move send error to source lib (#12175) 2020-06-19 01:04:50 +08:00
skipper_test.go feat(middleware): add transaction middleware for v2 and v2.0 APIs 2020-01-22 05:00:39 +00:00
skipper.go feat(quota): add Request and Refresh middlewares for APIs (#10907) 2020-03-11 22:25:40 +08:00