destination

package
v2.0.0-alpha.22 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 12 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name   string
	ID     string
	Status string
	OS     string
}

Device is an available device

type DeviceFinder

type DeviceFinder interface {
	FindDevice(destination Simulator) (Device, error)
}

DeviceFinder is an interface that find a matching device for a given destination

func NewDeviceFinder

func NewDeviceFinder(log log.Logger, commandFactory command.Factory) DeviceFinder

NewDeviceFinder retruns the default implementation of DeviceFinder

type Platform

type Platform string

Platform ...

const (
	MacOS            Platform = "macOS"
	IOS              Platform = "iOS"
	IOSSimulator     Platform = "iOS Simulator"
	WatchOS          Platform = "watchOS"
	WatchOSSimulator Platform = "watchOS Simulator"
	TvOS             Platform = "tvOS"
	TvOSSimulator    Platform = "tvOS Simulator"
	DriverKit        Platform = "DriverKit"
)

Platforms ...

type Simulator

type Simulator struct {
	Platform string
	Name     string
	OS       string
}

Simulator ...

func NewSimulator

func NewSimulator(destination string) (*Simulator, error)

NewSimulator ...

type Specifier

type Specifier map[string]string

Specifier ...

func NewSpecifier

func NewSpecifier(destination string) (Specifier, error)

NewSpecifier ...

func (Specifier) Name

func (s Specifier) Name() string

Name ...

func (Specifier) OS

func (s Specifier) OS() string

OS ...

func (Specifier) Platform

func (s Specifier) Platform() (Platform, bool)

Platform ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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