Documentation
¶
Overview ¶
Package autotest provides a Go API for interacting with Autotest.
This package provides a very low level API with no business logic. This is to keep the bug surface small and keep the business logic clearly separate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoservCommand ¶
func AutoservCommand(c Config, cmd *AutoservArgs) *exec.Cmd
AutoservCommand returns the Cmd struct to execute autoserv with the given arguments.
func ParseCommand ¶
ParseCommand returns the Cmd struct to execute tko/parse with the given arguments.
Types ¶
type AutoservArgs ¶
type AutoservArgs struct { // Args is split with shlex.split by autoserv. Args string Cleanup bool ClientTest bool CollectCrashinfo bool ControlName string ExecutionTag string HostInfoSubDir string Hosts []string ImageStorageServer string JobLabels []string JobName string JobOwner string Lab bool NoTee bool NoUsePackage bool ParentJobID int PeerDuts []string Provision bool PyThree bool Repair bool RequireSSP bool Reset bool ResultsDir string SSPBaseImageName string TestSourceBuild string UseExistingResults bool Verbose bool Verify bool VerifyJobRepoURL bool WritePidfile bool ControlFile string }
AutoservArgs is the arguments for creating an autoserv command.
Click to show internal directories.
Click to hide internal directories.