Versions in this module Expand all Collapse all v0 v0.0.2 Jan 11, 2022 v0.0.1 Sep 15, 2021 Changes in this version + const BusinessErrorCode + const OK + const ParamErrorCode + func WriteBusinessError(c echo.Context, message string) error + func WriteErrorWithCode(c echo.Context, code int32, message string) error + func WriteOK(c echo.Context, data interface{}) error + func WriteParamError(c echo.Context, message string) error + type PinkWebHandler struct + func NewPinkWebHandler(etcdCli *etcd.Cli, scheduler *schedule.PinkScheduler, ...) *PinkWebHandler + func (h *PinkWebHandler) AddGroup(c echo.Context) error + func (h *PinkWebHandler) AddJobConf(c echo.Context) error + func (h *PinkWebHandler) DeleteJobConf(c echo.Context) error + func (h *PinkWebHandler) ExecuteHistorySnapshotDelete(c echo.Context) error + func (h *PinkWebHandler) ExecuteHistorySnapshots(c echo.Context) error + func (h *PinkWebHandler) ExecuteSnapshots(c echo.Context) error + func (h *PinkWebHandler) GroupDetailsList(c echo.Context) error + func (h *PinkWebHandler) GroupList(c echo.Context) error + func (h *PinkWebHandler) JobConfList(c echo.Context) error + func (h *PinkWebHandler) JobExecute(c echo.Context) error + func (h *PinkWebHandler) NodeList(c echo.Context) error + func (h *PinkWebHandler) SchedulePlanClients(c echo.Context) error + func (h *PinkWebHandler) SchedulePlanList(c echo.Context) error + func (h *PinkWebHandler) ScheduleSnapshotDelete(c echo.Context) error + func (h *PinkWebHandler) ScheduleSnapshots(c echo.Context) error + func (h *PinkWebHandler) UpdateJobConf(c echo.Context) error