Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedOutput ¶ added in v1.20.7
CombinedOutput calls CombinedOutput on the defined commandRunner, or the default implementation in the exec package if there's no commandRunner defined.
func Command ¶ added in v1.20.7
Command calls Command on the defined commandRunner, or the default implementation in the exec package if there's no commandRunner defined.
func GetPrependedCmd ¶ added in v1.25.0
func GetPrependedCmd() string
GetPrependendCmd returns the prepended command if one is configured, else the empty string
func PrependCommandsWith ¶ added in v1.20.7
PrependCommandsWith updates the commandRunner singleton to have the configured prepended args and command.
func ResetPrependedCmd ¶ added in v1.25.0
func ResetPrependedCmd()
ResetPrependedCmd resets the singleton for more reliable unit testing
Types ¶
Click to show internal directories.
Click to hide internal directories.