ufs

package
v0.0.0-...-7220889 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

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

func GetUFSClient(ctx context.Context) (external.UFSClient, error)

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.

func SetupOSNameSpaceContext

func SetupOSNameSpaceContext(ctx context.Context) context.Context

SetupOSNameSpaceContext sets up context with namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL