prowloader

package
v0.0.0-...-207e67a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DaysBetween

func DaysBetween(start, end time.Time) []string

DaysBetween returns a slice of strings representing each day in YYYY-MM-DD format between two dates

func GetClusterData

func GetClusterData(ctx context.Context, bkt *storage.BucketHandle, path string, matches []string) models.ClusterData

func GetClusterDataBytes

func GetClusterDataBytes(ctx context.Context, bkt *storage.BucketHandle, path string, matches []string) ([]byte, error)

func GetGCSPathForProwJobURL

func GetGCSPathForProwJobURL(pjLog log.FieldLogger, prowJobURL string) (string, error)

func NextDay

func NextDay(dateStr string) (string, error)

NextDay takes a date string in YYYY-MM-DD format and returns the date string for the following day.

func ParseVariantDataFile

func ParseVariantDataFile(bytes []byte) (map[string]string, error)

Types

type DateTimeName

type DateTimeName struct {
	Name string
	Date string
	Time string
}

type ProwLoader

type ProwLoader struct {
	// contains filtered or unexported fields
}

func New

func New(
	ctx context.Context,
	dbc *db.DB,
	gcsClient *storage.Client,
	bigQueryClient *bqcachedclient.Client,
	githubClient *github.Client,
	variantManager testidentification.VariantManager,
	syntheticTestManager synthetictests.SyntheticTestManager,
	releases []string,
	config *v1config.SippyConfig,
	ghCommenter *commenter.GitHubCommenter) *ProwLoader

func (*ProwLoader) Errors

func (pl *ProwLoader) Errors() []error

func (*ProwLoader) Load

func (pl *ProwLoader) Load()

func (*ProwLoader) Name

func (pl *ProwLoader) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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