prow

package
v0.0.0-...-82e8024 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URL = "https://prow.k8s.io"

Functions

func GetRegexParameter

func GetRegexParameter(regEx, value string) (params map[string]string)

Types

type BuildLog

type BuildLog struct {
	Error   string
	LensURL string
}

BuildLog holds the build log

type Prow

type Prow struct {
	ProwURL  string
	JunitURL string
	Error    string
}

func (*Prow) GetSpyGlassLens

func (t *Prow) GetSpyGlassLens() (*BuildLog, error)

GetSpyGlassLens returns a jUnit object with parsed error from the build spyglass pane. This requires multiple requests to scrape JS files rendered in the main page, and used later for next pages.

type ProwInterface

type ProwInterface interface {
	GetSpyGlassLens() (*BuildLog, error)
}

func NewProw

func NewProw(prowUrl string) ProwInterface

Jump to

Keyboard shortcuts

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