watcher

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchPipelineRuns

func WatchPipelineRuns(stop <-chan struct{}, scmClient *scm.Client, tektonClient pipelineclientset.Interface, ns string, l logger.Logger)

WatchPipelineRuns tracks PipelineRuns with the correct label, and reports their state as a commit-status to the upstream Git hosting service.

Types

type State

type State int

State represents the state of a Pipeline.

const (
	// Pending indicates that the PipelineRun is not yet complete.
	Pending State = iota
	// Failed indicates that at least one Task in the PipelineRun failed.
	Failed
	// Successful indicates that all Tasks in the PipelineRun completed
	// successfully.
	Successful
)

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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