cluster

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeftMenuItemsForInstall

func LeftMenuItemsForInstall(ctx context.Context, clusterId int64, selectedItem string, langCode string) []maps.Map

LeftMenuItemsForInstall 安装升级相关的左侧菜单

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
}

CreateNodeAction 创建节点

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 CreateNodeInstallAction added in v0.2.9

type CreateNodeInstallAction struct {
	actionutils.ParentAction
}

func (*CreateNodeInstallAction) RunPost added in v0.2.9

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

	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 DownloadInstallerAction added in v0.5.3

type DownloadInstallerAction struct {
	actionutils.ParentAction
}

func (*DownloadInstallerAction) Init added in v0.5.3

func (this *DownloadInstallerAction) Init()

func (*DownloadInstallerAction) RunGet added in v0.5.3

func (this *DownloadInstallerAction) RunGet(params struct {
	Name string
})

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

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 NodesAction added in v0.2.8

type NodesAction struct {
	actionutils.ParentAction
}

func (*NodesAction) Init added in v0.2.8

func (this *NodesAction) Init()

func (*NodesAction) RunGet added in v0.2.8

func (this *NodesAction) RunGet(params struct {
	ClusterId      int64
	GroupId        int64
	RegionId       int64
	InstalledState int
	ActiveState    int
	Keyword        string
	Level          int32

	CpuOrder         string
	MemoryOrder      string
	TrafficInOrder   string
	TrafficOutOrder  string
	LoadOrder        string
	ConnectionsOrder string
})

type SuggestLoginPortsAction added in v0.2.9

type SuggestLoginPortsAction struct {
	actionutils.ParentAction
}

func (*SuggestLoginPortsAction) RunPost added in v0.2.9

func (this *SuggestLoginPortsAction) RunPost(params struct {
	Host string
})

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

Jump to

Keyboard shortcuts

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