Documentation
¶
Overview ¶
Package ufs handles logical for fetching data from UFS.
Index ¶
- func GetAllMachineLSEs(ctx context.Context, ic ufsAPI.FleetClient, keysOnly bool, ...) ([]*ufspb.MachineLSE, error)
- func GetChromeosDeviceData(ctx context.Context, ic ufsAPI.FleetClient, name string) (*ufspb.ChromeOSDeviceData, error)
- func GetLabstationDutMapping(ctx context.Context, ic ufsAPI.FleetClient, labs []string) (map[string][]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllMachineLSEs ¶
func GetAllMachineLSEs(ctx context.Context, ic ufsAPI.FleetClient, keysOnly bool, sink chan<- protoadapt.MessageV1) ([]*ufspb.MachineLSE, error)
GetAllMachineLSEs gets all MachineLSEs.
func GetChromeosDeviceData ¶
func GetChromeosDeviceData(ctx context.Context, ic ufsAPI.FleetClient, name string) (*ufspb.ChromeOSDeviceData, error)
GetChromeosDeviceData gets a single ChromeosDeviceData based on hostname.
func GetLabstationDutMapping ¶
func GetLabstationDutMapping(ctx context.Context, ic ufsAPI.FleetClient, labs []string) (map[string][]string, error)
GetLabstationDutMapping gets a map of labstation to dut hostnames based on provided labstation hostnames.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.