mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-28 05:47:36 +00:00
* Update main.go, extensions.go, and 2 more files... * Update config_routes.go, entries_routes.go, and 7 more files...
15 lines
303 B
Go
15 lines
303 B
Go
package routes
|
|
|
|
import (
|
|
"github.com/up9inc/mizu/agent/pkg/controllers"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InstallRoutes(ginApp *gin.Engine) {
|
|
routeGroup := ginApp.Group("/install")
|
|
|
|
routeGroup.GET("/isNeeded", controllers.IsSetupNecessary)
|
|
routeGroup.POST("/admin", controllers.SetupAdminUser)
|
|
}
|