Documentation
¶
Index ¶
- type HostProcessor
- func (p *HostProcessor) Cancel() error
- func (p *HostProcessor) Cleanup(removeScriptFile bool) error
- func (p *HostProcessor) ExtraLubanParams() string
- func (p *HostProcessor) PreCheck() (string, error)
- func (p *HostProcessor) Prepare(commandContent string) error
- func (p *HostProcessor) SideEffect() error
- func (p *HostProcessor) SyncRun(stdoutWriter io.Writer, stderrWriter io.Writer, stdinReader io.Reader) (int, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostProcessor ¶
type HostProcessor struct { TaskId string // Fundamental properties of command process CommandType string CommandContent string InvokeVersion int Repeat models.RunTaskRepeatType Timeout int TerminationMode string // Additional attributes for command process in host CommandName string WorkingDirectory string Username string WindowsUserPassword string // Launcher params Launcher string // contains filtered or unexported fields }
func (*HostProcessor) Cancel ¶
func (p *HostProcessor) Cancel() error
func (*HostProcessor) Cleanup ¶
func (p *HostProcessor) Cleanup(removeScriptFile bool) error
func (*HostProcessor) ExtraLubanParams ¶
func (p *HostProcessor) ExtraLubanParams() string
func (*HostProcessor) PreCheck ¶
func (p *HostProcessor) PreCheck() (string, error)
func (*HostProcessor) Prepare ¶
func (p *HostProcessor) Prepare(commandContent string) error
func (*HostProcessor) SideEffect ¶
func (p *HostProcessor) SideEffect() error
Click to show internal directories.
Click to hide internal directories.