Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByOSReader ¶ added in v0.194.2
ByOSReader is the interface for retrieving available devices by OS.
type Device ¶
type Device struct {
ID string `json:"id"`
Name string `json:"name"`
OS string `json:"os"`
OSVersion string `json:"osVersion"`
}
Device describes a real device that can be used to run tests.
type DeviceStatus ¶ added in v0.194.2
type DeviceStatus struct {
ID string
Status devicestatus.Status
InUseBy []string
IsPrivateDevice bool
}
type DeviceWithStatus ¶ added in v0.194.2
type StatusReader ¶ added in v0.194.2
type StatusReader interface {
GetDevicesStatuses(ctx context.Context) ([]DeviceStatus, error)
GetDevicesWithStatuses(ctx context.Context) ([]DeviceWithStatus, error)
}
StatusReader is the interface for retrieving available devices' statuses.
Click to show internal directories.
Click to hide internal directories.