host

package
v0.0.0-...-429e9f6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 24 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
	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

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