Documentation ¶
Overview ¶
Package servers defines utilitizes that allow tests to access various servers, such as servo and provisions, provided in the lab or development environment.
Index ¶
Constants ¶
View Source
const (
Primary = "" // Name for primary role.
)
Provide constant for primary DUTs roles for tests to use. Note: currently, we use "cd1", "cd2", ... for companinon DUT roles.
There is no process to allow customization it yet.
Variables ¶
View Source
var ErrNotFound = errors.New("cannot find server information")
ErrNotFound is used the requested server information was not specified on command line.
Functions ¶
Types ¶
type ServerType ¶
type ServerType int
ServerType defines the supported server types of this utility.
const ( Servo ServerType = iota Provision DUT )
The specific server type for each server.
Click to show internal directories.
Click to hide internal directories.