dut

package
v0.0.0-...-5fd22c5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abandon

func Abandon()

Abandon abandons the DUT at hostname, runs crosfleet dut abandon.

func Get

func Get(model, imageID string, minutes int, timeNeeded time.Duration) (string, error)

Get leases a DUT if the current DUT is nil, the model requested for the DUT has changed, or the DUT lease is about to expire. Otherwise if only the DUT imageID has changed, we will get the new image. If all fields are the same, Get does nothing. Returns the current DUT's hostname.

func WaitForDut

func WaitForDut(hostname string)

WaitForDut checks if the DUT is up.

Types

This section is empty.

Jump to

Keyboard shortcuts

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