schemes

package
v0.0.0-...-392b1d9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJobRunsFromLastNHours

func GetJobRunsFromLastNHours(job string, n int, utils util.JobLogUtils) ([]int, error)

GetJobRunsFromLastNHours returns a list of run numbers of 'job' from last 'n' hours, that've finished. If it cannot find n runs, returns as many runs as it could collect. Note: We check if start time of the run is not earlier than 'n' hours from now.

func GetLastNJobRuns

func GetLastNJobRuns(job string, n int, utils util.JobLogUtils) ([]int, error)

GetLastNJobRuns returns a list of run numbers of last 'n' completed runs of 'job'. If it cannot find n runs, returns as many runs as it could collect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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