Documentation ¶
Index ¶
- func FailedResponse(retCode int, retMsg string) *contract.Response
- func FormatJson(data interface{}) string
- func GetRpcClient(endPoint string) *client.RpcClient
- func NewResponse(retCode int, retMsg string, message interface{}) *contract.Response
- func SuccessResponse(message interface{}) *contract.Response
- type ClusterController
- type ExecutorController
- func (c *ExecutorController) QueryById(ctx dotweb.Context) error
- func (c *ExecutorController) SaveExecutor(ctx dotweb.Context) error
- func (c *ExecutorController) ShowExecLogs(ctx dotweb.Context) error
- func (c *ExecutorController) ShowExecutors(ctx dotweb.Context) error
- func (c *ExecutorController) ShowStateLog(ctx dotweb.Context) error
- func (c *ExecutorController) UpdateExecutor(ctx dotweb.Context) error
- type LogController
- type NodeController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatJson ¶
func FormatJson(data interface{}) string
func GetRpcClient ¶
func NewResponse ¶
func SuccessResponse ¶
Types ¶
type ClusterController ¶
type ClusterController struct { }
func (*ClusterController) ShowClusterInfo ¶
func (c *ClusterController) ShowClusterInfo(ctx dotweb.Context) error
func (*ClusterController) ShowExecutors ¶
func (c *ClusterController) ShowExecutors(ctx dotweb.Context) error
func (*ClusterController) ShowMetrics ¶
func (c *ClusterController) ShowMetrics(ctx dotweb.Context) error
func (*ClusterController) ShowResources ¶
func (c *ClusterController) ShowResources(ctx dotweb.Context) error
type ExecutorController ¶
type ExecutorController struct {
// contains filtered or unexported fields
}
func NewExecutorController ¶
func NewExecutorController() *ExecutorController
func (*ExecutorController) QueryById ¶
func (c *ExecutorController) QueryById(ctx dotweb.Context) error
QueryById
func (*ExecutorController) SaveExecutor ¶
func (c *ExecutorController) SaveExecutor(ctx dotweb.Context) error
SaveExecutor
func (*ExecutorController) ShowExecLogs ¶
func (c *ExecutorController) ShowExecLogs(ctx dotweb.Context) error
ShowExecLogs
func (*ExecutorController) ShowExecutors ¶
func (c *ExecutorController) ShowExecutors(ctx dotweb.Context) error
ShowExecutors
func (*ExecutorController) ShowStateLog ¶
func (c *ExecutorController) ShowStateLog(ctx dotweb.Context) error
ShowStateLog
func (*ExecutorController) UpdateExecutor ¶
func (c *ExecutorController) UpdateExecutor(ctx dotweb.Context) error
UpdateExecutor
type LogController ¶
type LogController struct { }
func NewLogController ¶
func NewLogController() *LogController
func (*LogController) ShowNodeTraceLog ¶
func (c *LogController) ShowNodeTraceLog(ctx dotweb.Context) error
ShowNodeTraceLog
func (*LogController) ShowTaskExecLogs ¶
func (c *LogController) ShowTaskExecLogs(ctx dotweb.Context) error
ShowExecLogs
func (*LogController) ShowTaskStateLog ¶
func (c *LogController) ShowTaskStateLog(ctx dotweb.Context) error
ShowStateLog
func (*LogController) ShowTaskSubmitLog ¶
func (c *LogController) ShowTaskSubmitLog(ctx dotweb.Context) error
ShowStateLog
type NodeController ¶
type NodeController struct { }
type UserController ¶
type UserController struct { }
Click to show internal directories.
Click to hide internal directories.