reports

package
v0.0.0-...-91256e5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteSonobuoyReport

func WriteSonobuoyReport(w io.Writer, s SonobuoyItemGenerator) error

Types

type SonobuoyItemGenerator

type SonobuoyItemGenerator interface {
	GenerateSonobuoyItem() SonobuoyResultsItem
}

type SonobuoyResultsItem

type SonobuoyResultsItem struct {
	Name     string                 `json:"name" yaml:"name"`
	Status   string                 `json:"status" yaml:"status,omitempty"`
	Metadata map[string]string      `json:"meta,omitempty" yaml:"meta,omitempty"`
	Details  map[string]interface{} `json:"details,omitempty" yaml:"details,omitempty"`
	Items    []SonobuoyResultsItem  `json:"items,omitempty" yaml:"items,omitempty"`
}

Jump to

Keyboard shortcuts

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