fsreporter

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 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 FsReporter

type FsReporter struct {
	Path   string
	Report Report
	// contains filtered or unexported fields
}

FsReporter implements batch.Reporter.

func New

func New(path string) (*FsReporter, error)

New creates an FsReporter.

func (*FsReporter) CommandOutput

func (reporter *FsReporter) CommandOutput(info *batch.CommandInfo) (io.WriteCloser, error)

CommandOutput implements batch.Reporter.

func (*FsReporter) CommandResult

func (reporter *FsReporter) CommandResult(result *batch.CommandResult)

CommandResult implements batch.Reporter.

func (*FsReporter) EnvironmentSetupResult

func (reporter *FsReporter) EnvironmentSetupResult(result *batch.EnvironmentSetupResult)

EnvironmentSetupResult implements batch.Reporter.

func (*FsReporter) Finalize

func (reporter *FsReporter) Finalize() error

Finalize implements batch.Reporter.

type Report

type Report struct {
	EnvironmentSetupResults []batch.EnvironmentSetupResult
	Results                 []batch.CommandResult
}

Report is the in-memory report that is produced by this reporter.

Jump to

Keyboard shortcuts

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