configuredjobs

package
v0.0.0-...-3557433 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	Orgs []Org `json:"orgs"`
}

Index contains a list of Org that is used to display the Configured Jobs index page

type JobInfo

type JobInfo struct {
	Name           string         `json:"name"`
	Type           v1.ProwJobType `json:"type"`
	JobHistoryLink string         `json:"jobHistoryLink"`
	YAMLDefinition string         `json:"yamlDefinition"`
}

JobInfo contains the necessary information for a job for the Configured Jobs page

type JobsByRepo

type JobsByRepo struct {
	IncludedRepos []RepoInfo `json:"includedRepos"`
	AllRepos      []string   `json:"allRepos"`
}

JobsByRepo contains a list of RepoInfo that is used to display the Configured Jobs subpages

type Org

type Org struct {
	Name  string   `json:"name"`
	Repos []string `json:"repos"`
}

Org contains the information necessary to display the org level Configured Jobs information

type RepoInfo

type RepoInfo struct {
	Org Org `json:"org"`
	// SafeName is the Name with unsupported chars stripped
	SafeName string    `json:"safeName"`
	Name     string    `json:"name"`
	Jobs     []JobInfo `json:"jobs"`
}

RepoInfo contains the information necessary to display the Configured Jobs page for a repo

Jump to

Keyboard shortcuts

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