run

package
v0.0.0-...-007c8aa Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

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.

Jump to

Keyboard shortcuts

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