Documentation ¶
Overview ¶
Package recovery provides ability to run recovery tasks against on the target units.
Index ¶
Constants ¶
View Source
const ( PlanRepairDUT = "repair_dut" PlanRepairServo = "repair_servo" PlanRepairLabstation = "repair_labstation" PlanRepairJetstream = "repair_jetstream" )
List of predefined plans. TODO(otabek@): Update list of plans and mapping with final version.
Variables ¶
This section is empty.
Functions ¶
func NewLocalTLWAccess ¶
NewLocalTLWAccess provides instance of local implementation of TLW Access.
Types ¶
type RunArgs ¶
type RunArgs struct { Access tlw.Access // UnitName represents some device setup against which running some tests or task in the system. // The unit can be represented as a single DUT or group of the DUTs registered in inventory as single unit. UnitName string // Provide access to read custom plans outside recovery. The default plans with actions will be ignored. ConfigReader io.Reader // Logger prints message to the logs. Logger logger.Logger }
RunArgs holds input arguments for recovery process.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
config
Package config provides struts to holds and read configs.
|
Package config provides struts to holds and read configs. |
localtlw
Package localtlw provides local implementation of TLW Access.
|
Package localtlw provides local implementation of TLW Access. |
localtlw/dutinfo
Package dutinfo provides help function to work with DUT info.
|
Package dutinfo provides help function to work with DUT info. |
localtlw/servod
Package servod provides functions to manage connection and communication with servod daemon on servo-host.
|
Package servod provides functions to manage connection and communication with servod daemon on servo-host. |
localtlw/xmlrpc
Package xmlrpc implements the XML-RPC client library.
|
Package xmlrpc implements the XML-RPC client library. |
log
Package log provides a wrapper over logging interfaces to simplify usage in recovery lib.
|
Package log provides a wrapper over logging interfaces to simplify usage in recovery lib. |
plan
Package plan provides struts and functionality to use plans and actions.
|
Package plan provides struts and functionality to use plans and actions. |
plan/execs
Package execs provides collection of execution functions for actions and ability to execute them.
|
Package execs provides collection of execution functions for actions and ability to execute them. |
retry
Package retry provides retry methods.
|
Package retry provides retry methods. |
Package logger provides an abstract representation of logging interfaces used by recovery lib.
|
Package logger provides an abstract representation of logging interfaces used by recovery lib. |
Package tlw provides an abstract representation of the TLW API which is used by recovery
|
Package tlw provides an abstract representation of the TLW API which is used by recovery |
Click to show internal directories.
Click to hide internal directories.