summarywriter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SummaryResult

type SummaryResult struct {
	Passed  int `json:"passed"`
	Warning int `json:"warning"`
	Failed  int `json:"failed"`
	Info    int `json:"info"`
	Skipped int `json:"skipped"`
	Total   int `json:"total"`
}

type SummaryWriter

type SummaryWriter struct {
	// contains filtered or unexported fields
}

func New

func New(writer api.ResultWriter) *SummaryWriter

func (*SummaryWriter) Reset

func (w *SummaryWriter) Reset()

func (*SummaryWriter) Summary

func (w *SummaryWriter) Summary() SummaryResult

func (*SummaryWriter) WriteResult

func (w *SummaryWriter) WriteResult(result *api.CheckResult) error

Jump to

Keyboard shortcuts

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