Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithExecRunOpts ¶ added in v2.6.0
func RunWithExecRunOpts(cmd *exec.Cmd, opts ExecRunOpts) (string, error)
Types ¶
type ExecRunOpts ¶ added in v2.6.0
type ExecRunOpts struct { // Redactor redacts tokens from the output Redactor func(text string) string // TimeoutBehavior configures what to do in case of timeout TimeoutBehavior argoexec.TimeoutBehavior // SkipErrorLogging determines whether to skip logging of execution errors (rc > 0) SkipErrorLogging bool // CaptureStderr determines whether to capture stderr in addition to stdout CaptureStderr bool }
Click to show internal directories.
Click to hide internal directories.