pipelines

package
v0.0.123 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OwnerLabels   = []string{"owner", "lighthouse.jenkins-x.io/refs.org"}
	RepoLabels    = []string{"repository", "lighthouse.jenkins-x.io/refs.repo"}
	BranchLabels  = []string{"branch", "lighthouse.jenkins-x.io/branch"}
	BuildLabels   = []string{"build", "lighthouse.jenkins-x.io/buildNum"}
	ContextLabels = []string{"context", "lighthouse.jenkins-x.io/context"}
)

Functions

func DefaultValues added in v0.0.123

func DefaultValues(a *v1.PipelineActivity)

DefaultValues default missing values from the lighthouse labels

func GetLabel

func GetLabel(m map[string]string, labels []string) string

GetLabel returns the first label value for the given strings

func Humanize

func Humanize(text string) string

Humanize splits into words and capitalises

func ToPipelineActivity

func ToPipelineActivity(pr *v1beta1.PipelineRun, pa *v1.PipelineActivity, overwriteSteps bool)

func ToPipelineActivityName

func ToPipelineActivityName(pr *v1beta1.PipelineRun, paList []v1.PipelineActivity) string

ToPipelineActivityName creates an activity name from a pipeline run

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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