// Code generated by goctl. DO NOT EDIT.
package handler

import (
	"net/http"

	"dag-jupyter/internal/svc"

	"github.com/zeromicro/go-zero/rest"
)

func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
	server.AddRoutes(
		[]rest.Route{
			{
				Method:  http.MethodGet,
				Path:    "/helm/ping",
				Handler: GreetHandler(serverCtx),
			},
		},
	)

	server.AddRoutes(
		[]rest.Route{
			{
				Method:  http.MethodGet,
				Path:    "/helm/password",
				Handler: PasswordHandler(serverCtx),
			},
		},
	)

	server.AddRoutes(
		[]rest.Route{
			{
				Method:  http.MethodPost,
				Path:    "/helm/ops/start",
				Handler: StartOpHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/helm/ops/stop",
				Handler: StopOpHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/helm/ops/upgrade",
				Handler: UpgradeOpHandler(serverCtx),
			},
		},
	)
}
