cmd

package
v3.7.1-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: LGPL-3.0 Imports: 35 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Common

func Common(c *cli.Context)

Common Common

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)

func GetServiceAliasID

func GetServiceAliasID(ServiceID string) string

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 NewCmdService

func NewCmdService() cli.Command

NewCmdService application service command

func NewCmdShow

func NewCmdShow() cli.Command

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