result

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// IgnoreRunning maps RUNNING to NO_RESULT
	IgnoreRunning = true
	// FailRunning maps RUNNING to FAIL
	FailRunning = false
)

Variables

This section is empty.

Functions

func Coalesce

func Coalesce(result state.Row_Result, ignoreRunning bool) state.Row_Result

Coalesce reduces the result to PASS, NO_RESULT, FAIL or FLAKY.

func Iter

func Iter(ctx context.Context, results []int32) <-chan state.Row_Result

Iter returns a channel that outputs the result for each column, decoding the run-length-encoding.

func Map

func Map(ctx context.Context, rows []*state.Row) map[string]<-chan state.Row_Result

Map returns a per-column result output channel for each row.

Types

This section is empty.

Jump to

Keyboard shortcuts

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