Documentation
¶
Index ¶
- func Run(cmd *exec.Cmd) error
- type CmdUsage
- type Executor
- func (e *Executor) Output() ([]byte, error)
- func (e *Executor) RunAndLogLines(logLabels map[string]string) (*CmdUsage, error)
- func (e *Executor) WithCMDStderr(w io.Writer) *Executor
- func (e *Executor) WithCMDStdout(w io.Writer) *Executor
- func (e *Executor) WithLogProxyHookJSON(logProxyHookJSON bool) *Executor
- func (e *Executor) WithLogProxyHookJSONKey(logProxyHookJSONKey string) *Executor
- func (e *Executor) WithLogger(logger *log.Logger) *Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶ added in v1.5.2
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶ added in v1.5.2
func (*Executor) RunAndLogLines ¶ added in v1.5.2
func (*Executor) WithCMDStderr ¶ added in v1.5.2
func (*Executor) WithCMDStdout ¶ added in v1.5.2
func (*Executor) WithLogProxyHookJSON ¶ added in v1.5.2
func (*Executor) WithLogProxyHookJSONKey ¶ added in v1.5.2
Click to show internal directories.
Click to hide internal directories.