17 lines
476 B
Go
17 lines
476 B
Go
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")
|
|
}
|