Documentation ¶
Overview ¶
paramsets keeps a running summary of paramsets per test, digest pair.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamSummary ¶
type ParamSummary struct {
// contains filtered or unexported fields
}
ParamSummary keep precalculated paramsets for each test, digest pair. It is not thread safe. The client of this package needs to make sure there are no conflicts.
func (*ParamSummary) Calculate ¶
func (s *ParamSummary) Calculate(tilePair *types.TilePair, tallies *tally.Tallies, talliesWithIgnores *tally.Tallies)
Calculate sets the values the ParamSummary based on the given tile.
func (*ParamSummary) Get ¶
func (s *ParamSummary) Get(test, digest string, include bool) map[string][]string
Get returns the paramset for the given digest. If 'include' is true then the paramset is calculated including ignored traces.
func (*ParamSummary) GetByTest ¶
func (s *ParamSummary) GetByTest(includeIngores bool) map[string]map[string]paramtools.ParamSet
GetByTest returns the parameter sets organized by tests and digests:
map[test_name]map[digest]ParamSet
Click to show internal directories.
Click to hide internal directories.