Documentation
¶
Index ¶
- func GetStandradOut(s string) string
- func IsDir(path string) bool
- func IsFile(path string) bool
- func SplitCommand(str string) []string
- type Command
- type Context
- func (p *Context) Clone(format string, a ...interface{}) *Context
- func (p *Context) GetUserInput(desc string, mode string) (string, bool)
- func (p *Context) Log(outStr string, errStr string)
- func (p *Context) LogError(format string, a ...interface{})
- func (p *Context) LogInfo(format string, a ...interface{})
- func (p *Context) Run() bool
- type DbotObject
- type Env
- type Import
- type Input
- type Job
- type LocalRunner
- type Remote
- type Runner
- type RunnerInput
- type SSHRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStandradOut ¶
func SplitCommand ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
NewContext create the root context
func (*Context) GetUserInput ¶
type DbotObject ¶
type DbotObject struct {
// contains filtered or unexported fields
}
func (*DbotObject) Command ¶
func (p *DbotObject) Command(call otto.FunctionCall) otto.Value
func (*DbotObject) LogError ¶
func (p *DbotObject) LogError(call otto.FunctionCall) otto.Value
func (*DbotObject) LogInfo ¶
func (p *DbotObject) LogInfo(call otto.FunctionCall) otto.Value
type LocalRunner ¶
func (*LocalRunner) Name ¶
func (p *LocalRunner) Name() string
func (*LocalRunner) Run ¶
func (p *LocalRunner) Run(ctx *Context) bool
type RunnerInput ¶
func NewRunnerInput ¶
func NewRunnerInput(inputs []string, stdin io.Reader) *RunnerInput
type SSHRunner ¶
func NewSSHRunner ¶
Click to show internal directories.
Click to hide internal directories.