wip: oci image management
This commit is contained in:
13
api/v1/routes.go
Normal file
13
api/v1/routes.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"gitea.loveuer.com/loveuer/cluster/handler"
|
||||
|
||||
"github.com/gofiber/fiber/v3"
|
||||
)
|
||||
|
||||
// SetupRoutes 设置 v1 API 路由
|
||||
func SetupRoutes(api fiber.Router) {
|
||||
reg := api.Group("/registry")
|
||||
reg.Get("/image/list", handler.ListImages)
|
||||
}
|
||||
Reference in New Issue
Block a user