Documentation ¶
Overview ¶
Package run implements the run subcommand for the 'trace-agent' command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCommand ¶
func MakeCommand(globalParamsGetter func() *subcommands.GlobalParams) *cobra.Command
MakeCommand returns the run subcommand for the 'trace-agent' command.
Types ¶
type Params ¶
type Params struct { *subcommands.GlobalParams // PIDFilePath contains the value of the --pidfile flag. PIDFilePath string // CPUProfile contains the value for the --cpu-profile flag. CPUProfile string // MemProfile contains the value for the --mem-profile flag. MemProfile string }
Params contains the flags of the run subcommand.
Click to show internal directories.
Click to hide internal directories.