Documentation
¶
Index ¶
- func ConstructInvV2Device(machine *ufspb.Machine, lse *ufspb.MachineLSE) *lab.ChromeOSDevice
- func CopyUFSDutToInvV2Dut(dut *ufschromeoslab.DeviceUnderTest) *lab.DeviceUnderTest
- func CopyUFSLabstationToInvV2Labstation(labstation *ufschromeoslab.Labstation) *lab.Labstation
- func GetUFSClient(ctx context.Context) (external.UFSClient, error)
- func GetUFSDevicesByHostnames(ctx context.Context, ufsClient external.UFSClient, names []string) ([]*lab.ChromeOSDevice, []*api.DeviceOpResult)
- func SetupOSNameSpaceContext(ctx context.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructInvV2Device ¶
func ConstructInvV2Device(machine *ufspb.Machine, lse *ufspb.MachineLSE) *lab.ChromeOSDevice
ConstructInvV2Device constructs a InvV2 Device from UFs MachineLSE and Machine.
func CopyUFSDutToInvV2Dut ¶
func CopyUFSDutToInvV2Dut(dut *ufschromeoslab.DeviceUnderTest) *lab.DeviceUnderTest
CopyUFSDutToInvV2Dut converts UFS DUT to InvV2 DUT proto format.
func CopyUFSLabstationToInvV2Labstation ¶
func CopyUFSLabstationToInvV2Labstation(labstation *ufschromeoslab.Labstation) *lab.Labstation
CopyUFSLabstationToInvV2Labstation converts UFS Labstation to InvV2 Labstation proto format.
func GetUFSClient ¶
GetUFSClient gets the UFS clien.
func GetUFSDevicesByHostnames ¶
func GetUFSDevicesByHostnames(ctx context.Context, ufsClient external.UFSClient, names []string) ([]*lab.ChromeOSDevice, []*api.DeviceOpResult)
GetUFSDevicesByHostnames Gets MachineLSEs from UFS by MachineLSE name/hostname.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.