Documentation
¶
Index ¶
- type Task
- func (t *Task) BatchRun()
- func (t *Task) CheckErr() error
- func (t *Task) HandleOutput()
- func (t *Task) ListHosts() ([]string, error)
- func (t *Task) RunSSH(host *batchssh.Host) (string, error)
- func (t *Task) SetCommand(command string)
- func (t *Task) SetFetchFiles(files []string)
- func (t *Task) SetFetchOptions(destPath, tmpDir string)
- func (t *Task) SetPushOptions(destPath string, allowOverwrite bool)
- func (t *Task) SetPushfiles(files, zipFiles []string)
- func (t *Task) SetScriptFile(sciptFile string)
- func (t *Task) SetScriptOptions(destPath string, remove, allowOverwrite bool)
- func (t *Task) SetTargetHosts(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) SetFetchOptions ¶
SetFetchOptions ...
func (*Task) SetPushOptions ¶
SetPushOptions ...
func (*Task) SetScriptOptions ¶
SetScriptOptions ...
Click to show internal directories.
Click to hide internal directories.