step

package
v0.0.0-...-4847ec2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Input

	Simulator destination.Device
}

type Input

type Input struct {
	Destination string `env:"destination,required"`
	// Debugging
	IsVerboseLog       bool `env:"verbose_log,opt[yes,no]"`
	WaitForBootTimeout int  `env:"wait_for_boot_timeout,required"`
	ShouldReset        bool `env:"reset,opt[yes,no]"`
}

type Result

type Result struct {
	SimulatorStatus string
	Destination     string
}

type SimulatorStarter

type SimulatorStarter struct {
	// contains filtered or unexported fields
}

func NewStep

func NewStep(logger log.Logger, inputParser stepconf.InputParser, stepenvRepository env.Repository, commandFactory command.Factory, deviceFinder destination.DeviceFinder, simualatorManager simulator.Manager) SimulatorStarter

func (SimulatorStarter) ExportOutputs

func (s SimulatorStarter) ExportOutputs(result Result) error

func (SimulatorStarter) InstallDependencies

func (s SimulatorStarter) InstallDependencies() error

func (SimulatorStarter) ProcessConfig

func (s SimulatorStarter) ProcessConfig() (Config, error)

func (SimulatorStarter) Run

func (s SimulatorStarter) Run(config Config) (Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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