Documentation ¶
Index ¶
- Variables
- func DefaultValues(a *v1.PipelineActivity)
- func GetLabel(m map[string]string, labels []string) string
- func Humanize(text string) string
- func ToPipelineActivity(pr *v1beta1.PipelineRun, pa *v1.PipelineActivity, overwriteSteps bool)
- func ToPipelineActivityName(pr *v1beta1.PipelineRun, paList []v1.PipelineActivity) string
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 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.
Click to show internal directories.
Click to hide internal directories.