program

package
v0.0.0-...-673078a Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Program

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

func New

func (*Program) ProcessDir

func (p *Program) ProcessDir(dir string, ignoreWhen bool) error

func (*Program) ProcessFile

func (p *Program) ProcessFile(file fileinfo.FileInfo, ignoreWhen bool) error

ProcessFile tries to process an Experiment file. It only returns an error if it is out of the ordinary for example if an error occurs when reporting to the progress monitor, not if it can't load an experiment nor if there is a problem processing the experiment. Pass ignoreWhen as true if you want to ignore experiment's 'when' statement.

func (*Program) ProcessFilename

func (p *Program) ProcessFilename(filename string, ignoreWhen bool) error

func (*Program) Running

func (p *Program) Running() bool

Running returns whether Program is running

func (*Program) Start

func (p *Program) Start(s service.Service) error

func (*Program) Stop

func (p *Program) Stop(s service.Service) error

Jump to

Keyboard shortcuts

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