Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdRunner ¶
type CmdRunner interface { // Run runs a command, given options Run(options *RunOptions, format string, vars ...interface{}) (string, error) }
CmdRunner specifies the interface to an underlying command runner
type RunOptions ¶
RunOptions specifies options to CmdRunner.Run
type ShellRunner ¶
type ShellRunner struct {
// contains filtered or unexported fields
}
func NewShellRunner ¶
func NewShellRunner(parentLogger nuclio.Logger) (*ShellRunner, error)
func (*ShellRunner) Run ¶
func (sr *ShellRunner) Run(options *RunOptions, format string, vars ...interface{}) (string, error)
func (*ShellRunner) SetShell ¶
func (sr *ShellRunner) SetShell(shell string)
Click to show internal directories.
Click to hide internal directories.