Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeCommandsLogic ¶
func NewNodeCommandsLogic ¶
func NewNodeCommandsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeCommandsLogic
获取节点命令
func (*NodeCommandsLogic) NodeCommands ¶
func (l *NodeCommandsLogic) NodeCommands(req *types.NodeCommandsRequest) (*types.NodeCommandsResponse, error)
type NodeDrainLogic ¶
func NewNodeDrainLogic ¶
func NewNodeDrainLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeDrainLogic
排空节点
func (*NodeDrainLogic) NodeDrain ¶
func (l *NodeDrainLogic) NodeDrain(req *types.NodeDrainRequest) error
type NodeMetaLogic ¶
func NewNodeMetaLogic ¶
func NewNodeMetaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeMetaLogic
获取节点元数据
func (*NodeMetaLogic) NodeMeta ¶
func (l *NodeMetaLogic) NodeMeta(req *types.NodeMetaRequest) (*types.NodeMetaResponse, error)
type NodeMetaUpdateLogic ¶
func NewNodeMetaUpdateLogic ¶
func NewNodeMetaUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeMetaUpdateLogic
更新节点元数据
func (*NodeMetaUpdateLogic) NodeMetaUpdate ¶
func (l *NodeMetaUpdateLogic) NodeMetaUpdate(req *types.NodeMetaUpdateRequest) (*types.NodeMetaResponse, error)
type NodeRestartLogic ¶
func NewNodeRestartLogic ¶
func NewNodeRestartLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeRestartLogic
重启节点
func (*NodeRestartLogic) NodeRestart ¶
func (l *NodeRestartLogic) NodeRestart(req *types.NodeActionRequest) error
type NodeUndrainLogic ¶
func NewNodeUndrainLogic ¶
func NewNodeUndrainLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeUndrainLogic
取消排空节点
func (*NodeUndrainLogic) NodeUndrain ¶
func (l *NodeUndrainLogic) NodeUndrain(req *types.NodeActionRequest) error
type NodesListLogic ¶
func NewNodesListLogic ¶
func NewNodesListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodesListLogic
获取节点列表
func (*NodesListLogic) NodesList ¶
func (l *NodesListLogic) NodesList(req *types.NodesListRequest) (*types.NodesListResponse, error)
Click to show internal directories.
Click to hide internal directories.