controllers

package
v0.0.0-...-25da3cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailedResponse

func FailedResponse(retCode int, retMsg string) *contract.Response

func FormatJson

func FormatJson(data interface{}) string

func GetRpcClient

func GetRpcClient(endPoint string) *client.RpcClient

func NewResponse

func NewResponse(retCode int, retMsg string, message interface{}) *contract.Response

func SuccessResponse

func SuccessResponse(message interface{}) *contract.Response

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 {
}

func (*NodeController) ShowNodes

func (c *NodeController) ShowNodes(ctx dotweb.Context) error

type UserController

type UserController struct {
}

func (*UserController) Login

func (c *UserController) Login(ctx dotweb.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL