cluster

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAction

type AddAction actions.Action

func (*AddAction) Run

func (this *AddAction) Run(params struct{})

批量添加

type AuthAction

type AuthAction actions.Action

func (*AuthAction) Run

func (this *AuthAction) Run(params struct {
	Master   string
	Dir      string
	AuthType string
	Username string
	Password string
	Key      *actions.File
	Must     *actions.Must
})

认证

type ConnAction

type ConnAction actions.Action

func (*ConnAction) Run

func (this *ConnAction) Run(params struct {
	Hosts []string
	Port  int
})

测试连接

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action actions.ActionWrapper)

type InstallAction

type InstallAction actions.Action

func (*InstallAction) Run

func (this *InstallAction) Run(params struct {
	Hosts    []string
	Master   string
	Dir      string
	GroupId  string
	Port     int
	Username string
	AuthType string
	Password string
	Key      string
})

安装

type SearchAction

type SearchAction actions.Action

func (*SearchAction) Run

func (this *SearchAction) Run(params struct {
	Rules string
	Port  int
})

搜索集群

Jump to

Keyboard shortcuts

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