processor

package
v0.0.0-...-61873b8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

View Source
const ResultsDirDefaultPath = "/var/tests/results"

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	Tasks chan string
	// contains filtered or unexported fields
}

Processor is a struct to hold the Tasks channel You should use NewProcessor to allocate new one and the Run func to run it

func NewProcessor

func NewProcessor(pDockerClient *client.Client, pOutputDir, pPublishTarGzTo, pPublishTestCasesTo, pResultsDirLabel string, pDockerRM bool) Processor

NewProcessor create new Processor and allocates Tasks buffered channel in size 10 to it

func (Processor) Run

func (p Processor) Run()

Run the processor (listen to the Tasks channel and performs the collection)

Jump to

Keyboard shortcuts

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