eoscli

package
v1.15.7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

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

func Download() *cli.Command

func DownloadFunc

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

func Master() *cli.Command

func Remove

func Remove() *cli.Command

func RemoveFunc

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

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