node

package
v0.2.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailAction added in v0.2.8

type DetailAction struct {
	actionutils.ParentAction
}

func (*DetailAction) Init added in v0.2.8

func (this *DetailAction) Init()

func (*DetailAction) RunGet added in v0.2.8

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

type IndexAction added in v0.2.0

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init added in v0.2.0

func (this *IndexAction) Init()

func (*IndexAction) RunGet added in v0.2.0

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

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 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"`
	PrimaryClusterId           int64
	SecondaryClusterIds        []byte
	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