cluster

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeftMenuItemsForInstall

func LeftMenuItemsForInstall(clusterId int64, selectedItem string) []maps.Map

安装升级相关的左侧菜单

Types

type CreateBatchAction

type CreateBatchAction struct {
	actionutils.ParentAction
}

func (*CreateBatchAction) Init

func (this *CreateBatchAction) Init()

func (*CreateBatchAction) RunGet

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

func (*CreateBatchAction) RunPost

func (this *CreateBatchAction) RunPost(params struct {
	ClusterId int64
	GroupId   int64
	RegionId  int64
	IpList    string

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

type CreateNodeAction

type CreateNodeAction struct {
	actionutils.ParentAction
}

创建节点

func (*CreateNodeAction) Init

func (this *CreateNodeAction) Init()

func (*CreateNodeAction) RunGet

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

func (*CreateNodeAction) RunPost

func (this *CreateNodeAction) RunPost(params struct {
	Name            string
	IpAddressesJSON []byte
	ClusterId       int64
	GroupId         int64
	RegionId        int64
	GrantId         int64
	SshHost         string
	SshPort         int

	DnsDomainId   int64
	DnsRoutesJSON []byte

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) Init

func (this *DeleteAction) Init()

func (*DeleteAction) RunGet

func (this *DeleteAction) RunGet(params struct{})

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	ClusterId int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	ClusterId      int64
	GroupId        int64
	RegionId       int64
	InstalledState int
	ActiveState    int
	Keyword        string
})

type InstallManualAction

type InstallManualAction struct {
	actionutils.ParentAction
}

func (*InstallManualAction) Init

func (this *InstallManualAction) Init()

func (*InstallManualAction) RunGet

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

type InstallNodesAction

type InstallNodesAction struct {
	actionutils.ParentAction
}

func (*InstallNodesAction) Init

func (this *InstallNodesAction) Init()

func (*InstallNodesAction) RunGet

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

type InstallRemoteAction

type InstallRemoteAction struct {
	actionutils.ParentAction
}

func (*InstallRemoteAction) Init

func (this *InstallRemoteAction) Init()

func (*InstallRemoteAction) RunGet

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

func (*InstallRemoteAction) RunPost

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

	Must *actions.Must
})

type InstallStatusAction

type InstallStatusAction struct {
	actionutils.ParentAction
}

func (*InstallStatusAction) RunPost

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

type UpdateNodeSSHAction

type UpdateNodeSSHAction struct {
	actionutils.ParentAction
}

func (*UpdateNodeSSHAction) Init

func (this *UpdateNodeSSHAction) Init()

func (*UpdateNodeSSHAction) RunGet

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

func (*UpdateNodeSSHAction) RunPost

func (this *UpdateNodeSSHAction) RunPost(params struct {
	NodeId  int64
	LoginId int64
	SshHost string
	SshPort int
	GrantId int64

	Must *actions.Must
})

type UpgradeRemoteAction

type UpgradeRemoteAction struct {
	actionutils.ParentAction
}

func (*UpgradeRemoteAction) Init

func (this *UpgradeRemoteAction) Init()

func (*UpgradeRemoteAction) RunGet

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

func (*UpgradeRemoteAction) RunPost

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

	Must *actions.Must
})

type UpgradeStatusAction

type UpgradeStatusAction struct {
	actionutils.ParentAction
}

func (*UpgradeStatusAction) RunPost

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

Directories

Path Synopsis
dns
toa
waf

Jump to

Keyboard shortcuts

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