Documentation ¶
Overview ¶
Package dutprep contains functions helpful in interaction with the Autotest DUT preparation tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
An Action indicates the DUT preparation action to do.
const ( // NoAction can be used as a null Action value. NoAction Action = "no-action" // ServoVerification action ServoVerification Action = "servo-verification" // StageUSB action StageUSB Action = "stage-usb" // InstallTestImage action InstallTestImage Action = "install-test-image" // InstallFirmware action InstallFirmware Action = "install-firmware" // VerifyRecoveryMode action VerifyRecoveryMode Action = "verify-recovery-mode" // SetupLabstation action SetupLabstation Action = "setup-labstation" // UpdateLabel action UpdateLabel Action = "update-label" // RunPreDeployVerification action RunPreDeployVerification Action = "run-pre-deploy-verification" )
func ParseAction ¶
ParseAction parses the string argument accepted by lucifer and autotest tools into an Action.
func SortActions ¶
SortActions sorts the given Action slice in the order they should be executed to prepare a host.
Click to show internal directories.
Click to hide internal directories.