cluster

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 14 Imported by: 1

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