bootjobs

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelCommitSHA the label added to git operator Jobs to indicate the commit sha
	LabelCommitSHA = "git-operator.jenkins.io/commit-sha"
)

Variables

This section is empty.

Functions

func FindGitOperatorNamespace

func FindGitOperatorNamespace(client kubernetes.Interface, namespace string) (string, error)

FindGitOperatorNamespace finds the git operator namespace

func GetSortedJobs

func GetSortedJobs(client kubernetes.Interface, ns string, selector string, commitSHA string) ([]batchv1.Job, error)

GetSortedJobs gets the boot jobs with an optional commit sha filter

Types

This section is empty.

Jump to

Keyboard shortcuts

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