dutinfo

package
v0.0.0-...-9994f1b Latest Latest
Warning

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

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

Documentation

Overview

Package dutinfo provides help function to work with DUT info.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAttachedDeviceToTlw

func ConvertAttachedDeviceToTlw(data *ufsAPI.AttachedDeviceData) (dut *tlw.Dut, err error)

ConvertAttachedDeviceToTlw converts USF data to local representation of Dut instance.

func ConvertDut

func ConvertDut(data *ufspb.ChromeOSDeviceData) (dut *tlw.Dut, err error)

ConvertDut converts USF data to local representation of Dut instance.

func CreateUpdateDutRequest

func CreateUpdateDutRequest(dutID string, dut *tlw.Dut) (req *ufsAPI.UpdateDeviceRecoveryDataRequest, err error)

CreateUpdateDutRequest creates request instance to update UFS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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