Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // LogLevel sets the verbosity level of the application logging. LogLevel string `` /* 216-byte string literal not displayed */ // LogStream is the output channel to use for logging. LogStream string `` /* 197-byte string literal not displayed */ // LogStream is the type of logger to use. LogFormat string `` /* 161-byte string literal not displayed */ // CPUProfile sets the (optional) path of the file for CPU profiling info. CPUProfile string `short:"C" long:"cpu-profile" description:"The (optional) path where the CPU profiler will store its data." optional:"yes"` // MemProfile sets the (optional) path of the file for memory profiling info. MemProfile string `short:"M" long:"mem-profile" description:"The (optional) path where the memory profiler will store its data." optional:"yes"` // AutomationFriendly enables automation-friendly JSON output. AutomationFriendly bool `short:"A" long:"automation-friendly" description:"Whether to output in automation friendly JSON format." optional:"yes"` }
func (*Command) Init ¶
func (cmd *Command) Init()
Init initialises the command consuming the standard, common arguments.
func (*Command) ProfileCPU ¶
func (*Command) ProfileMemory ¶
func (cmd *Command) ProfileMemory()
Click to show internal directories.
Click to hide internal directories.