node

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: BSD-3-Clause Imports: 21 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
}

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 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 SyncDomainAction added in v0.3.0

type SyncDomainAction struct {
	actionutils.ParentAction
}

func (*SyncDomainAction) RunPost added in v0.3.0

func (this *SyncDomainAction) RunPost(params struct {
	DomainId 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 UpdateDNSPopupAction added in v0.3.0

type UpdateDNSPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateDNSPopupAction) Init added in v0.3.0

func (this *UpdateDNSPopupAction) Init()

func (*UpdateDNSPopupAction) RunGet added in v0.3.0

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

func (*UpdateDNSPopupAction) RunPost added in v0.3.0

func (this *UpdateDNSPopupAction) RunPost(params struct {
	NodeId        int64
	IpAddr        string
	DomainId      int64
	DnsRoutesJSON []byte

	Must *actions.Must
	CSRF *actionutils.CSRF
})

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