22 lines
528 B
Go
22 lines
528 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"gitlink.org.cn/JointCloud/pcm-participant-client/api"
|
|
)
|
|
|
|
func CloudRoutes(server *gin.Engine) {
|
|
cloud := server.Group("/cloud")
|
|
cloudApi := api.CloudApi
|
|
{
|
|
cloud := cloud.Group("container")
|
|
cloud.POST("/create", cloudApi.CreateContainerHandler)
|
|
cloud.DELETE("/delete", cloudApi.DeleteContainerHandler)
|
|
cloud.GET("/get", cloudApi.GetContainerHandler)
|
|
}
|
|
{
|
|
//deployment := cloud.Group("deployment")
|
|
//deployment.POST("/create", cloudApi.CreateDeployment)
|
|
}
|
|
}
|