cmd

package
v5.0.3-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: LGPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Common

func Common(c *cli.Context)

Common Common

func CreateTenantFile

func CreateTenantFile(tname string) error

Create Tenant File

func ExecTaskAndCheckStatus

func ExecTaskAndCheckStatus(taskID string, nodes []string)

ExecTaskAndCheckStatus 执行一个任务并检测状态

func GetCmds

func GetCmds() []cli.Command

GetCmds GetCmds

func GetCommand

func GetCommand(status bool) []cli.Command

func GetEventLogf

func GetEventLogf(eventID, server string) error

GetEventLogf get event log from websocket

func GetTenantNamePath

func GetTenantNamePath() string

Get Tenantname Path

func NewCmdAlerting

func NewCmdAlerting() cli.Command

NewCmdNode NewCmdNode

func NewCmdCheckTask

func NewCmdCheckTask() cli.Command

func NewCmdCluster

func NewCmdCluster() cli.Command

NewCmdCluster cmd for cluster

func NewCmdConfigs

func NewCmdConfigs() cli.Command

NewCmdConfigs 全局配置相关命令

func NewCmdDomain

func NewCmdDomain() cli.Command

func NewCmdExec

func NewCmdExec() cli.Command

func NewCmdInit

func NewCmdInit() cli.Command

NewCmdInit grctl init

func NewCmdInstall

func NewCmdInstall() cli.Command

func NewCmdInstallStatus

func NewCmdInstallStatus() cli.Command

NewCmdInstallStatus install status

func NewCmdNode

func NewCmdNode() cli.Command

NewCmdNode NewCmdNode

func NewCmdNotificationEvent

func NewCmdNotificationEvent() cli.Command

NewCmdNode NewCmdNode

func NewCmdReset

func NewCmdReset() cli.Command

NewCmdInit grctl reset

func NewCmdService

func NewCmdService() cli.Command

NewCmdService application service command

func NewCmdShow

func NewCmdShow() cli.Command

NewCmdShow show

func NewCmdTasks

func NewCmdTasks() cli.Command

NewCmdTasks 任务相关命令

func NewCmdTenant

func NewCmdTenant() cli.Command

NewCmdTenant tenant cmd

func NewSourceBuildCmd

func NewSourceBuildCmd() cli.Command

NewSourceBuildCmd cmd for source build test

func Status

func Status(task string, nodes []string)

func Task

func Task(c *cli.Context, task string, status bool) error

Types

type ExecedTask

type ExecedTask struct {
	ID      string
	Status  string
	Depends []string
	Next    []string
}

Jump to

Keyboard shortcuts

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