server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteNodeGroupLogic

type BatchDeleteNodeGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewBatchDeleteNodeGroupLogic

func NewBatchDeleteNodeGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteNodeGroupLogic

func (*BatchDeleteNodeGroupLogic) BatchDeleteNodeGroup

func (l *BatchDeleteNodeGroupLogic) BatchDeleteNodeGroup(req *types.BatchDeleteNodeGroupRequest) error

type BatchDeleteNodeLogic

type BatchDeleteNodeLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewBatchDeleteNodeLogic

func NewBatchDeleteNodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteNodeLogic

func (*BatchDeleteNodeLogic) BatchDeleteNode

func (l *BatchDeleteNodeLogic) BatchDeleteNode(req *types.BatchDeleteNodeRequest) error

type CreateNodeGroupLogic

type CreateNodeGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCreateNodeGroupLogic

func NewCreateNodeGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNodeGroupLogic

func (*CreateNodeGroupLogic) CreateNodeGroup

func (l *CreateNodeGroupLogic) CreateNodeGroup(req *types.CreateNodeGroupRequest) error

type CreateNodeLogic

type CreateNodeLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCreateNodeLogic

func NewCreateNodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNodeLogic

func (*CreateNodeLogic) CreateNode

func (l *CreateNodeLogic) CreateNode(req *types.CreateNodeRequest) error

type CreateRuleGroupLogic

type CreateRuleGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCreateRuleGroupLogic

func NewCreateRuleGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateRuleGroupLogic

Create rule group

func (*CreateRuleGroupLogic) CreateRuleGroup

func (l *CreateRuleGroupLogic) CreateRuleGroup(req *types.CreateRuleGroupRequest) error

type DeleteNodeGroupLogic

type DeleteNodeGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewDeleteNodeGroupLogic

func NewDeleteNodeGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNodeGroupLogic

func (*DeleteNodeGroupLogic) DeleteNodeGroup

func (l *DeleteNodeGroupLogic) DeleteNodeGroup(req *types.DeleteNodeGroupRequest) error

type DeleteNodeLogic

type DeleteNodeLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewDeleteNodeLogic

func NewDeleteNodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNodeLogic

func (*DeleteNodeLogic) DeleteNode

func (l *DeleteNodeLogic) DeleteNode(req *types.DeleteNodeRequest) error

type DeleteRuleGroupLogic

type DeleteRuleGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewDeleteRuleGroupLogic

func NewDeleteRuleGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRuleGroupLogic

Delete rule group

func (*DeleteRuleGroupLogic) DeleteRuleGroup

func (l *DeleteRuleGroupLogic) DeleteRuleGroup(req *types.DeleteRuleGroupRequest) error

type GetNodeDetailLogic

type GetNodeDetailLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetNodeDetailLogic

func NewGetNodeDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNodeDetailLogic

func (*GetNodeDetailLogic) GetNodeDetail

func (l *GetNodeDetailLogic) GetNodeDetail(req *types.GetDetailRequest) (resp *types.Server, err error)

type GetNodeGroupListLogic

type GetNodeGroupListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetNodeGroupListLogic

func NewGetNodeGroupListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNodeGroupListLogic

func (*GetNodeGroupListLogic) GetNodeGroupList

func (l *GetNodeGroupListLogic) GetNodeGroupList() (resp *types.GetNodeGroupListResponse, err error)

type GetNodeListLogic

type GetNodeListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetNodeListLogic

func NewGetNodeListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNodeListLogic

func (*GetNodeListLogic) GetNodeList

type GetNodeTagListLogic

type GetNodeTagListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetNodeTagListLogic

func NewGetNodeTagListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNodeTagListLogic

Get node tag list

func (*GetNodeTagListLogic) GetNodeTagList

func (l *GetNodeTagListLogic) GetNodeTagList() (resp *types.GetNodeTagListResponse, err error)

type GetRuleGroupListLogic

type GetRuleGroupListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetRuleGroupListLogic

func NewGetRuleGroupListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRuleGroupListLogic

Get rule group list

func (*GetRuleGroupListLogic) GetRuleGroupList

func (l *GetRuleGroupListLogic) GetRuleGroupList() (resp *types.GetRuleGroupResponse, err error)

type NodeSortLogic

type NodeSortLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewNodeSortLogic

func NewNodeSortLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NodeSortLogic

Node sort

func (*NodeSortLogic) NodeSort

func (l *NodeSortLogic) NodeSort(req *types.NodeSortRequest) error

type UpdateNodeGroupLogic

type UpdateNodeGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUpdateNodeGroupLogic

func NewUpdateNodeGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNodeGroupLogic

func (*UpdateNodeGroupLogic) UpdateNodeGroup

func (l *UpdateNodeGroupLogic) UpdateNodeGroup(req *types.UpdateNodeGroupRequest) error

type UpdateNodeLogic

type UpdateNodeLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUpdateNodeLogic

func NewUpdateNodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNodeLogic

func (*UpdateNodeLogic) UpdateNode

func (l *UpdateNodeLogic) UpdateNode(req *types.UpdateNodeRequest) error

type UpdateRuleGroupLogic

type UpdateRuleGroupLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewUpdateRuleGroupLogic

func NewUpdateRuleGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRuleGroupLogic

NewUpdateRuleGroupLogic Update rule group

func (*UpdateRuleGroupLogic) UpdateRuleGroup

func (l *UpdateRuleGroupLogic) UpdateRuleGroup(req *types.UpdateRuleGroupRequest) error

Jump to

Keyboard shortcuts

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