Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReporterName = "shell" ExecutionTimeout = 60 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewOption ¶
type NewOption func(*reporter)
NewOption allows specifying various configuration
func WithExecCommand ¶
func WithExecCommand(execCommand execCommand) NewOption
func WithTimeout ¶
WithTimeout specifies timeout to override when executing shell command
Click to show internal directories.
Click to hide internal directories.