Documentation
¶
Overview ¶
Package ufs is a labservice internal package that contains types and functions related to UFS interaction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory struct { // UFS gRPC service address. Service string // Path to service account JSON file. ServiceAccountPath string }
A ClientFactory is used to create UFS clients. The client needs a context which is request specific, so the client needs to be created per incoming request.
func (*ClientFactory) NewClient ¶
func (f *ClientFactory) NewClient(ctx context.Context) (ufsapi.FleetClient, error)
type Inventory ¶
type Inventory struct {
// contains filtered or unexported fields
}
Inventory builds the DutTopology object from UFS.
func NewInventory ¶
func NewInventory(c ufsapi.FleetClient, cl *cache.Locator) *Inventory
func (*Inventory) GetDutTopology ¶
GetDutTopology returns a DutTopology constructed from UFS. The returned error, if any, has gRPC status information.
Directories
¶
Path | Synopsis |
---|---|
Package cache provides functionality to map DUTs to caching servers.
|
Package cache provides functionality to map DUTs to caching servers. |
Package wifisecret provides functionality to map DUTs to a wifi secret.
|
Package wifisecret provides functionality to map DUTs to a wifi secret. |
Click to show internal directories.
Click to hide internal directories.