harbor/src/server/middleware/quota
Aaron Dewes caee762b51
Upgrade to distribution (registry) v3 alpha (#19784)
* registryctl/api/registry/blob: fix dropped test error (#19721)

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>

* Remove robot account update quota permission (#19819)

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>

* Cache image list with digest key (#19801)

fixes #19429

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>

* Add quota permissions testcase (#19822)

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>

* deprecate gosec in makefile (#19828)

remove the unused the part from makefile

Signed-off-by: wang yan <wangyan@vmware.com>

* Add verification that robot account duration is not 0 (#19829)

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>

* fix artifact page bug (#19807)

* fix artifact page bug

* update testcase

* Upgrade to distribution (registry) v3 alpha

This includes all the benefits of the v3 distribution, but also all breaking changes.

Most notably, Image Manifest v2 Schema v1 support has been dropped, as well as the `oss` and `swift` storage drivers.

Currently, this still relies on v2's github.com/docker/distribution/registry/client/auth/challenge, because that code has been removed from the public API in v3.

Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>

---------

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: wang yan <wangyan@vmware.com>
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
Co-authored-by: Lars Lehtonen <lars.lehtonen@gmail.com>
Co-authored-by: Yang Jiao <72076317+YangJiao0817@users.noreply.github.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: stonezdj(Daojun Zhang) <stonezdj@gmail.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: ShengqiWang <124650040+ShengqiWang@users.noreply.github.com>
2024-01-26 22:48:06 +01:00
..
controller.go remove the chart handling in quota 2020-04-07 15:26:34 +08:00
copy_artifact_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
copy_artifact.go fix copy artifact accessory quota issue (#17293) 2022-08-03 20:02:20 +08:00
post_initiate_blob_upload_test.go feat: Optimize quota checking when pushing images (#17392) 2023-06-05 17:19:55 +08:00
post_initiate_blob_upload.go bump golang 1.21.5 & fix golangci-lint error (#19722) 2023-12-19 09:41:26 +08:00
put_blob_upload_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
put_blob_upload.go bump golang 1.21.5 & fix golangci-lint error (#19722) 2023-12-19 09:41:26 +08:00
put_manifest_test.go Upgrade to distribution (registry) v3 alpha (#19784) 2024-01-26 22:48:06 +01:00
put_manifest.go bump golang 1.21.5 & fix golangci-lint error (#19722) 2023-12-19 09:41:26 +08:00
quota_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
quota.go fix: reduce the high db cpu usage for tag retention (#17296) 2022-08-04 10:08:02 +08:00
refresh_project.go feat(quota): ignore limitation support for quota RefreshMiddleware 2020-04-08 19:17:41 +00:00
util_test.go bump golang to 1.21.3 (#19504) 2023-10-31 15:01:23 +08:00
util.go fix: correct the operator in the webhook payload (#18906) 2023-07-19 15:40:29 +08:00