eoscli

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CMDRemove = "remove"
View Source
var CmdCluster = "clusters"
View Source
var CmdDownload = "download"
View Source
var CmdInfo = "info"
View Source
var CmdJoin = "join"
View Source
var CmdLeave = "leave"
View Source
var CmdStop = "stop"

Functions

func CheckPIDFILEAlreadyExists

func CheckPIDFILEAlreadyExists(dir string) bool

func ClearPid

func ClearPid(dir string)

func Download added in v0.3.0

func Download() *cli.Command

func DownloadFunc added in v0.3.0

func DownloadFunc(c *cli.Context) error

DownloadFunc download plugin

func Env

func Env() *cli.Command

func Info

func Info() *cli.Command

func InfoFunc

func InfoFunc(c *cli.Context) error

InfoFunc 获取节点信息

func Join

func Join() *cli.Command

func JoinFunc

func JoinFunc(c *cli.Context) error

JoinFunc 加入集群

func Leave

func Leave() *cli.Command

func LeaveFunc

func LeaveFunc(c *cli.Context) error

LeaveFunc 离开集群

func Master added in v0.6.0

func Master() *cli.Command

func Remove added in v0.8.1

func Remove() *cli.Command

func RemoveFunc added in v0.8.1

func RemoveFunc(c *cli.Context) error

RemoveFunc 离开集群

func Restart

func Restart() *cli.Command

func RestartFunc

func RestartFunc(c *cli.Context) error

func Start

func Start() *cli.Command

func StartFunc

func StartFunc(c *cli.Context) error

StartFunc 开启节点

func StartMaster

func StartMaster(args []string, extra []*os.File) (*exec.Cmd, error)

func Stop

func Stop() *cli.Command

func StopFunc

func StopFunc(c *cli.Context) error

StopFunc 停止节点

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp() *App

func (*App) AppendCommand

func (a *App) AppendCommand(cmd ...*cli.Command)

func (*App) Default added in v0.3.0

func (a *App) Default()

func (*App) Run

func (a *App) Run(args []string) error

type ICtiServiceClient

type ICtiServiceClient interface {
	service.CtiServiceClient
	io.Closer
}

Jump to

Keyboard shortcuts

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