pipelines

package
v0.0.163 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

type ActivityResolver added in v0.0.129

type ActivityResolver struct {
	// contains filtered or unexported fields
}

ActivityResolver a helper object to map PipelineRun objects to PipelineActivity resources

func NewActivityResolver added in v0.0.129

func NewActivityResolver(activities []v1.PipelineActivity) *ActivityResolver

NewActivityResolver creates a new resolver

func (*ActivityResolver) ToPipelineActivity added in v0.0.129

func (r *ActivityResolver) ToPipelineActivity(pr *v1beta1.PipelineRun) *v1.PipelineActivity

ToPipelineActivity converts the given PipelineRun to a PipelineActivity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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