node

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	NodeId int64
})

type InstallAction

type InstallAction struct {
	actionutils.ParentAction
}

InstallAction 安装节点

func (*InstallAction) Init

func (this *InstallAction) Init()

func (*InstallAction) RunGet

func (this *InstallAction) RunGet(params struct {
	NodeId int64
})

func (*InstallAction) RunPost

func (this *InstallAction) RunPost(params struct {
	NodeId int64

	Must *actions.Must
})

RunPost 开始安装

type LogsAction

type LogsAction struct {
	actionutils.ParentAction
}

func (*LogsAction) Init

func (this *LogsAction) Init()

func (*LogsAction) RunGet

func (this *LogsAction) RunGet(params struct {
	NodeId  int64
	DayFrom string
	DayTo   string
	Keyword string
	Level   string
})

type StatusAction

type StatusAction struct {
	actionutils.ParentAction
}

StatusAction 节点状态

func (*StatusAction) RunPost

func (this *StatusAction) RunPost(params struct {
	NodeId int64
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	NodeId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	LoginId         int64
	NodeId          int64
	Name            string
	IPAddressesJSON []byte `alias:"ipAddressesJSON"`
	ClusterId       int64
	IsOn            bool

	Must *actions.Must
})

type UpdateInstallStatusAction

type UpdateInstallStatusAction struct {
	actionutils.ParentAction
}

func (*UpdateInstallStatusAction) RunPost

func (this *UpdateInstallStatusAction) RunPost(params struct {
	NodeId      int64
	IsInstalled bool
})

Jump to

Keyboard shortcuts

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