Documentation
¶
Index ¶
- Constants
- func Coalesce(result statepb.Row_Result, ignoreRunning bool) statepb.Row_Result
- func IsFailingResult(rowResult statepb.Row_Result) bool
- func IsPassingResult(rowResult statepb.Row_Result) bool
- func Iter(ctx context.Context, results []int32) <-chan statepb.Row_Result
- func Map(ctx context.Context, rows []*statepb.Row) map[string]<-chan statepb.Row_Result
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 statepb.Row_Result, ignoreRunning bool) statepb.Row_Result
Coalesce reduces the result to PASS, NO_RESULT, FAIL or FLAKY.
func IsFailingResult ¶ added in v0.0.15
func IsFailingResult(rowResult statepb.Row_Result) bool
IsFailingResult returns true if the Row_Result is any of the failing results, including CATEGORIZED_FAILURE, BUILD_FAIL, and more.
func IsPassingResult ¶ added in v0.0.15
func IsPassingResult(rowResult statepb.Row_Result) bool
IsPassingResult returns true if the Row_Result is any of the passing results, including PASS_WITH_SKIPS, BUILD_PASSED, and more.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.