summarizer

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package summarizer provides a method to read state protos defined in a config an output summary protos.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHealthiness added in v0.0.13

func CalculateHealthiness(grid *state.Grid, analyzer flakinessAnalyzer, startTime int, endTime int, tab string) *summarypb.HealthinessInfo

CalculateHealthiness extracts the test run data from each row (which represents a test) of the Grid and then analyzes it with an implementation of flakinessAnalyzer, which has implementations in the subdir naive and can be injected as needed.

func Update

func Update(ctx context.Context, client *storage.Client, path gcs.Path, concurrency int, dashboard string, confirm bool) error

Update summary protos by reading the state protos defined in the config.

Will use concurrency go routines to update dashboards in parallel. Setting dashboard will limit update to this dashboard. Will write summary proto when confirm is set.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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