host

package
v0.0.0-...-028f1de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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
	// Additional attributes for command process in host
	CommandName         string
	WorkingDirectory    string
	Username            string
	WindowsUserPassword string
	// contains filtered or unexported fields
}

func (*HostProcessor) Cancel

func (p *HostProcessor) Cancel()

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

func (*HostProcessor) SyncRun

func (p *HostProcessor) SyncRun(
	stdoutWriter io.Writer,
	stderrWriter io.Writer,
	stdinReader io.Reader) (int, int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL