node

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallAction

type InstallAction struct {
	actionutils.ParentAction
}

安装节点

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

开始安装

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 NodeAction

type NodeAction struct {
	actionutils.ParentAction
}

func (*NodeAction) Init

func (this *NodeAction) Init()

func (*NodeAction) RunGet

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

type StartAction

type StartAction struct {
	actionutils.ParentAction
}

func (*StartAction) RunPost

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

type StatusAction

type StatusAction struct {
	actionutils.ParentAction
}

节点状态

func (*StatusAction) RunPost

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

type StopAction

type StopAction struct {
	actionutils.ParentAction
}

func (*StopAction) RunPost

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

type UpAction added in v0.0.12

type UpAction struct {
	actionutils.ParentAction
}

手动上线

func (*UpAction) RunPost added in v0.0.12

func (this *UpAction) 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
	GroupId                    int64
	RegionId                   int64
	Name                       string
	IPAddressesJSON            []byte `alias:"ipAddressesJSON"`
	ClusterId                  int64
	GrantId                    int64
	SshHost                    string
	SshPort                    int
	MaxCPU                     int32
	IsOn                       bool
	MaxCacheDiskCapacityJSON   []byte
	MaxCacheMemoryCapacityJSON []byte

	DnsDomainId   int64
	DnsRoutesJSON []byte

	Must *actions.Must
})

type UpdateInstallStatusAction

type UpdateInstallStatusAction struct {
	actionutils.ParentAction
}

func (*UpdateInstallStatusAction) RunPost

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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