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 LocalDUTState into a HostInfo. It is used for returning any relevant Hostinfo changes back to the LocalDUTState.
func BorrowLocalDUTState ¶
func BorrowLocalDUTState(hi *hostinfo.HostInfo, lds *swmbot.LocalDUTState) *Borrower
BorrowLocalDUTState takes some info stored in the LocalDUTState and adds it to the HostInfo. The returned Borrower should be closed to return any relevant HostInfo changes back to the LocalDUTState.
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.
Click to show internal directories.
Click to hide internal directories.