Help us shape the future of Go! Take the 2026 Go Developer Survey

pipelinemanager

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JobMessagePending    = "Job is running"
	JobMessageSuccessful = "Job succeeded"
	JobMessageFailure    = "Job failed"
)

Job messages

View Source
const DefaultWorkingDir = "/tekton/home/integ-source"

DefaultWorkingDir is a default value for 'working directory' of a container (tekton's step)

Variables

This section is empty.

Functions

func Name

func Name(j *cicdv1.IntegrationJob) string

Name is a PipelineRun's name for the IntegrationJob j

func ParseBaseFromDescription added in v0.3.0

func ParseBaseFromDescription(desc string) string

ParseBaseFromDescription parses SHA from the commit status's description

Types

type PipelineManager added in v0.2.0

type PipelineManager interface {
	Generate(job *cicdv1.IntegrationJob) (*tektonv1beta1.Pipeline, *tektonv1beta1.PipelineRun, error)
	ReflectStatus(pr *tektonv1beta1.PipelineRun, job *cicdv1.IntegrationJob, cfg *cicdv1.IntegrationConfig) error
}

PipelineManager manages pipelines

func NewPipelineManager added in v0.4.2

func NewPipelineManager(c client.Client, s *runtime.Scheme) PipelineManager

NewPipelineManager initiates a new PipelineManager

Jump to

Keyboard shortcuts

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