feat: complete OCI registry implementation with docker push/pull support

A lightweight OCI (Open Container Initiative) registry implementation written in Go.
This commit is contained in:
loveuer
2025-11-09 22:46:27 +08:00
commit 29088a6b54
45 changed files with 5629 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package registry
import (
"gitea.loveuer.com/loveuer/cluster/pkg/resp"
"gitea.loveuer.com/loveuer/cluster/pkg/store"
"github.com/gofiber/fiber/v3"
"gorm.io/gorm"
)
// HandleReferrers ?? referrers ???OCI ???
// GET /v2/{repo}/referrers/{digest}
func HandleReferrers(c fiber.Ctx, db *gorm.DB, store store.Store) error {
// TODO: ?? OCI referrers API
// ????????????? OCI ? referrers ??
return resp.R501(c, "NOT_IMPLEMENTED", nil, "referrers API not implemented yet")
}