node

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeCommandsLogic

type NodeCommandsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeCommandsLogic

func NewNodeCommandsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeCommandsLogic

获取节点命令

func (*NodeCommandsLogic) NodeCommands

type NodeDrainLogic

type NodeDrainLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeDrainLogic

func NewNodeDrainLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeDrainLogic

排空节点

func (*NodeDrainLogic) NodeDrain

func (l *NodeDrainLogic) NodeDrain(req *types.NodeDrainRequest) error

type NodeMetaLogic

type NodeMetaLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeMetaLogic

func NewNodeMetaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeMetaLogic

获取节点元数据

func (*NodeMetaLogic) NodeMeta

type NodeMetaUpdateLogic

type NodeMetaUpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeMetaUpdateLogic

func NewNodeMetaUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeMetaUpdateLogic

更新节点元数据

func (*NodeMetaUpdateLogic) NodeMetaUpdate

type NodeRestartLogic

type NodeRestartLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeRestartLogic

func NewNodeRestartLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeRestartLogic

重启节点

func (*NodeRestartLogic) NodeRestart

func (l *NodeRestartLogic) NodeRestart(req *types.NodeActionRequest) error

type NodeUndrainLogic

type NodeUndrainLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodeUndrainLogic

func NewNodeUndrainLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeUndrainLogic

取消排空节点

func (*NodeUndrainLogic) NodeUndrain

func (l *NodeUndrainLogic) NodeUndrain(req *types.NodeActionRequest) error

type NodesListLogic

type NodesListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNodesListLogic

func NewNodesListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodesListLogic

获取节点列表

func (*NodesListLogic) NodesList

Jump to

Keyboard shortcuts

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