Documentation ¶
Overview ¶
Package core defines several basic report processors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DumpReportsAsCLF ¶
type DumpReportsAsCLF struct { // Writer is where the report summaries should be written to. If nil, we'll // save the summaries as the value of the TestResult annotation. Writer io.Writer }
DumpReportsAsCLF is a ReportProcessor that prints out a summary of each report using a format not unlike Apache's CLF access.log format.
func (DumpReportsAsCLF) ProcessReports ¶
func (d DumpReportsAsCLF) ProcessReports(ctx context.Context, batch *collector.ReportBatch)
ProcessReports prints out a summary of each report in the batch.
type KeepNelReports ¶
type KeepNelReports struct{}
KeepNelReports is a pipeline processor that throws away any non-NEL reports.
func (KeepNelReports) ProcessReports ¶
func (KeepNelReports) ProcessReports(ctx context.Context, batch *collector.ReportBatch)
ProcessReports throws away any non-NEL reports.
Click to show internal directories.
Click to hide internal directories.