e2e

package
v0.0.0-...-c45627c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 53 Imported by: 2

Documentation

Index

Constants

View Source
const DUMP_LOGS = true

dumping the logs slows down generation when working on the report you might want to turn it off this should always be true in the committed code though

Variables

This section is empty.

Functions

func GenerateStatusReport

func GenerateStatusReport(namespace string, jvmClient *jvmclientset.Clientset, kubeClient *kubeset.Clientset, pipelineClient *pipelineclientset.Clientset)

Types

type ArtifactReportData

type ArtifactReportData struct {
	Complete  int
	Failed    int
	Missing   int
	Other     int
	Total     int
	Instances []*ReportInstanceData
}

type DependencyReportData

type DependencyReportData struct {
	Complete     int
	Failed       int
	Contaminated int
	Building     int
	Other        int
	Total        int
	Instances    []*ReportInstanceData
}

type ReportData

type ReportData struct {
	Name         string
	Artifact     ArtifactReportData
	Dependency   DependencyReportData
	CacheLogs    []string
	OperatorLogs []string
}

type ReportInstanceData

type ReportInstanceData struct {
	Name   string
	Logs   []string
	State  string
	Yaml   string
	GitUrl string
}

type SortableArtifact

type SortableArtifact []*ReportInstanceData

func (SortableArtifact) Len

func (a SortableArtifact) Len() int

func (SortableArtifact) Less

func (a SortableArtifact) Less(i, j int) bool

func (SortableArtifact) Swap

func (a SortableArtifact) Swap(i, j int)

Jump to

Keyboard shortcuts

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