file

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-3.0, GPL-3.0-or-later Imports: 12 Imported by: 1

Documentation

Overview

Package file implements mechanism of starting and supervising simulations. Simulations are started by running binary configured using config files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalSimulationInput

type LocalSimulationInput struct {
	Files          map[string]string
	CmdCreator     func(workDir string) []string
	ResultCallback func(LocalSimulationResults)
	StatusUpdate   func(project.VersionStatus)
}

LocalSimulationInput localSimulationInput.

type LocalSimulationResults

type LocalSimulationResults struct {
	Files     map[string]string
	LogStdOut string
	LogStdErr string
	Errors    map[string]string
}

LocalSimulationResults localSimulationResults.

type Runner

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

Runner starts and supervises running of shield simulations.

func SetupRunner

func SetupRunner(config *config.Config) *Runner

SetupRunner is RunnerSupervisor constructor.

func (*Runner) StartSimulation

func (r *Runner) StartSimulation(simultion LocalSimulationInput) error

StartSimulation starts local simulation using shield library.

Jump to

Keyboard shortcuts

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