output

package
v1.0.259 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCSVReport

func GetCSVReport(checkResults []*pkg.CheckResult) (string, error)

func GetJunitReport

func GetJunitReport(results []*pkg.CheckResult) string

func HandleOutput

func HandleOutput(report, outputFile string) error

Types

type CSVResult

type CSVResult struct {
	Name        string `csv:"name"`
	Namespace   string `csv:"namespace"`
	Endpoint    string `csv:"endpoint"`
	CheckType   string `csv:"checkType"`
	Pass        bool   `csv:"pass"`
	Duration    string `csv:"duration"`
	Description string `csv:"description,omitempty"`
	Message     string `csv:"message,omitempty"`
	Error       string `csv:"error,omitempty"`
	Invalid     bool   `csv:"invalid,omitempty"`
}

Jump to

Keyboard shortcuts

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