fetch

package
v0.0.0-...-c3a8e6e Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OriginalArtifactsDir = "orig"
)

Variables

This section is empty.

Functions

func FetchJobArtifacts

func FetchJobArtifacts(job, workdir string) error

job "periodic-ci-openshift-release-master-ci-4.11-e2e-aws-upgrade-ovn-single-node", time.Date(2022, 7, 5, 0, 0, 0, 0, time.UTC)

func RefreshJobList

func RefreshJobList(ctx context.Context, workdir string) error

func StartPeriodicRefreshJobList

func StartPeriodicRefreshJobList(ctx context.Context, workdir string, interval time.Duration) error

Types

type JobRun

type JobRun struct {
	Job      string
	ID       string
	Path     string
	Started  time.Time
	Finished time.Time
}

type Jobs

type Jobs struct {
	Refresh time.Time
	Jobs    []string
}

func LoadJobsFromDisk

func LoadJobsFromDisk(workdir string) (*Jobs, error)

Jump to

Keyboard shortcuts

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