diagnoser

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SonobuoyResultDiagnoserTemporaryResultDirectory = "sonobuoy_result_diagnoser.temporary_result_directory"
	SonobuoyResultDiagnoserE2eFile                  = "sonobuoy_result_diagnoser.e2e_file"

	SonobuoyResultDiagnoserSummary         = "sonobuoy_result_diagnoser.summary"
	SonobuoyResultDiagnoserResultDirectory = "sonobuoy_result_diagnoser.result_directory"
)

Variables

This section is empty.

Functions

func NewSonobuoyResultDiagnoser

func NewSonobuoyResultDiagnoser(
	ctx context.Context,
	logger logr.Logger,
	dataRoot string,
	bindAddress string,
	sonobuoyResultDiagnoserEnabled bool,
) processors.Processor

NewSonobuoyResultDiagnoser creates a new sonobuoyResultDiagnoser.

Types

type Category

type Category struct {
	CategoryName string       `json:"category_name"`
	StatusCounts StatusCounts `json:"status_counts"`
	Items        []Item       `json:"items"`
}

Category contains sonobuoy result items under the same category.

type Item

type Item struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

Item is the shortened version of results.Item https://github.com/vmware-tanzu/sonobuoy/blob/v0.17.2/pkg/client/results/processing.go#L94.

type StatusCounts

type StatusCounts map[string]int

StatusCounts contains the count of different status.

type Summary

type Summary []Category

Summary contains the categories of sonobuoy result items.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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