cluster

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

	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 DeleteNodeAction

type DeleteNodeAction struct {
	actionutils.ParentAction
}

func (*DeleteNodeAction) RunPost

func (this *DeleteNodeAction) RunPost(params struct {
	NodeId 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
	InstalledState int
	ActiveState    int
	Keyword        string
})

type UpdateNodeSSHAction added in v0.2.9

type UpdateNodeSSHAction struct {
	actionutils.ParentAction
}

func (*UpdateNodeSSHAction) Init added in v0.2.9

func (this *UpdateNodeSSHAction) Init()

func (*UpdateNodeSSHAction) RunGet added in v0.2.9

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

func (*UpdateNodeSSHAction) RunPost added in v0.2.9

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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