Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exec ¶
type Exec struct { Command []string Dir string Stdin []byte Env []util.StringVar Timeout time.Duration TeeStdout bool TeeStderr bool }
func (*Exec) Run ¶
func (e *Exec) Run() *ExecResult
type ExecResult ¶
type Option ¶
func WithTeeStderr ¶ added in v0.4.0
func WithTeeStdout ¶ added in v0.4.0
func WithTimeout ¶
type OptionTeeStderr ¶ added in v0.4.0
type OptionTeeStderr bool
func (OptionTeeStderr) Apply ¶ added in v0.4.0
func (t OptionTeeStderr) Apply(e *Exec) error
type OptionTeeStdout ¶ added in v0.4.0
type OptionTeeStdout bool
func (OptionTeeStdout) Apply ¶ added in v0.4.0
func (t OptionTeeStdout) Apply(e *Exec) error
type OptionTimeout ¶
func (OptionTimeout) Apply ¶
func (t OptionTimeout) Apply(e *Exec) error
Click to show internal directories.
Click to hide internal directories.