Documentation
¶
Index ¶
- type Task
- func (t *Task) BatchRun()
- func (t *Task) HandleOutput()
- func (t *Task) RunSSH(addr string) (string, error)
- func (t *Task) SetCommand(command string)
- func (t *Task) SetCopyfileOrScript(file string)
- func (t *Task) SetFileOptions(destPath string, remove bool)
- func (t *Task) SetHosts(hosts []string)
- func (t *Task) Start()
- type TaskType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
Task ...
func NewTask ¶
func NewTask(taskType TaskType, configFlags *configflags.ConfigFlags) *Task
NewTask ...
func (*Task) SetCopyfileOrScript ¶
SetCopyfileOrScript ...
func (*Task) SetFileOptions ¶ added in v0.4.0
SetFileOptions ...
Click to show internal directories.
Click to hide internal directories.