Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdStart = cli.Command{ Name: "start", Usage: "start agent", Description: "start agent client", Action: runStart, Flags: []cli.Flag{ cli.StringFlag{ Name: "f", Value: "/etc/agent.conf", Usage: "default config file:/etc/agent.conf", }, cli.StringFlag{ Name: "cpuprofile", Value: "", Usage: "CPU pprof file", }, cli.StringFlag{ Name: "memprofile", Value: "", Usage: "Memory pprof file", }, }, }
View Source
var CmdStop = cli.Command{ Name: "stop", Usage: "stop agent", Description: "stop agent client", Action: runStop, Flags: []cli.Flag{ cli.StringFlag{ Name: "m", Value: "normal", Usage: "stop agent mode", }, }, }
View Source
var CmdVersion = cli.Command{
Name: "version",
Usage: "show version",
Description: "show version",
Action: runVersion,
}
Functions ¶
func WindowsStart ¶ added in v0.2.0
func WindowsStart()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.