Documentation
Overview ¶
Package hostinfo implements the parts of harness management pertaining to Autotest hostinfo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Borrower ¶
type Borrower struct {
// contains filtered or unexported fields
}
Borrower represents borrowing BotInfo into a HostInfo. It is used for returning any relevant Hostinfo changes back to the BotInfo.
func BorrowBotInfo ¶
func BorrowBotInfo(hi *hostinfo.HostInfo, bi *swmbot.LocalState) *Borrower
BorrowBotInfo takes some info stored in the BotInfo and adds it to the HostInfo. The returned Borrower should be closed to return any relevant HostInfo changes back to the BotInfo.
type File ¶
type File struct {
// contains filtered or unexported fields
}
File represents a hostinfo file exposed for Autotest to use.
type Proxy ¶
Proxy holds a DUT's hostinfo derived from inventory info and adds a Close method.