ios

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDeviceCreationInvalidResult is throwing when create method is unable to create a new device
	ErrDeviceCreationInvalidResult = errors.New("device creation result invalid")
)

Functions

This section is empty.

Types

type Device

type Device struct {
	Config config.Config
}

Device represents the iOS device action strategy

func New

func New() Device

New is creating a new iOS device action strategy

func (Device) Boot

func (d Device) Boot(i types.Instance) error

Boot is starting the virtual device

func (Device) Create

func (d Device) Create(name string) (string, types.Kind, error)

Create is creating the virtual device based on the passed name

func (Device) List

func (d Device) List() types.Pairs

List converts the parsed devices to the common format

func (Device) SetTheme

func (d Device) SetTheme(i types.Instance, theme string) error

SetTheme is setting the device's theme to dark or light, based on theme variable

func (Device) Shutdown

func (d Device) Shutdown(i types.Instance) error

Shutdown is trying to terminate the virtual device

func (Device) WaitUntilBooted

func (d Device) WaitUntilBooted(i types.Instance) error

WaitUntilBooted is waiting until virtual device booted

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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