prowjob

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProwjobCmd = &cobra.Command{
	Use:   "prowjob",
	Short: "Commands for processing Prow jobs",
}

ProwjobCmd represents the prowjob command

Functions

This section is empty.

Types

type HealthCheckConfig

type HealthCheckConfig struct {
	ExternalServices []Service `json:"externalServices"`
}

HealthCheckConfig represents configuration of external services which status will be checked

type HealthCheckStatus

type HealthCheckStatus struct {
	ExternalServices            []Service           `json:"externalServices"`
	UnhealthyCriticalComponents map[string][]string `json:"unhealthyCriticalComponents"`
}

HealthCheckStatus contains specification and current status of external services and contains a map of currently unhealthy critical components

type Service

type Service struct {
	Name               string         `json:"name"`
	CriticalComponents []string       `json:"criticalComponents"`
	StatusPageURL      string         `json:"statusPageURL"`
	CurrentStatus      status.Summary `json:"currentStatus"`
}

Service contains specification of an external service specified via config and holds an information about current status of related components

Jump to

Keyboard shortcuts

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