Documentation ¶
Overview ¶
Package run is the run system-probe subcommand
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotEnabled = errors.New("system-probe not enabled")
ErrNotEnabled represents the case in which system-probe is not enabled
Functions ¶
func Commands ¶
func Commands(globalParams *command.GlobalParams) []*cobra.Command
Commands returns a slice of subcommands for the 'system-probe' command.
func StartSystemProbeWithDefaults ¶
StartSystemProbeWithDefaults is a temporary way for other packages to use startSystemProbe. Starts the agent in the background and then returns.
@ctxChan
- After starting the agent the background goroutine waits for a context from this channel, then stops the agent when the context is cancelled.
Returns an error channel that can be used to wait for the agent to stop and get the result.
func StopSystemProbeWithDefaults ¶
func StopSystemProbeWithDefaults()
StopSystemProbeWithDefaults is a temporary way for other packages to use stopAgent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.