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
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
Click to show internal directories.
Click to hide internal directories.