v1

package
v0.0.0-...-e5f4e3c Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobDetails

type JobDetails struct {
	Name       string
	Tests      []Test `json:"tests"`
	Timestamps []int  `json:"timestamps"`
	// append to https://prow.ci.openshift.org/view/gcs and suffix with changelist element to view job run details
	Query       string   `json:"query"`
	ChangeLists []string `json:"changelists"`
	// not part of testgrid json, but we want to store the url of the testgrid job page for later usage
	TestGridURL string
}

type JobSummary

type JobSummary struct {
	OverallStatus string `json:"overall_status"`
}

testgrid datastructures

type Test

type Test struct {
	Name     string       `json:"name"`
	Statuses []TestResult `json:"statuses"`
}

type TestResult

type TestResult struct {
	Count int        `json:"count"`
	Value TestStatus `json:"value"`
}

type TestStatus

type TestStatus int
const (
	TestStatusAbsent  TestStatus = 0
	TestStatusSuccess TestStatus = 1
	TestStatusRunning TestStatus = 4
	TestStatusFailure TestStatus = 12
	TestStatusFlake   TestStatus = 13
)

Jump to

Keyboard shortcuts

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