pipelinerun

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllPipelineRuns added in v0.6.0

func GetAllPipelineRuns(p cli.Params, opts metav1.ListOptions, limit int) ([]string, error)

GetAllPipelineRuns returns all pipelinesruns running in a namespace

func GetPipelineRun added in v0.8.0

func GetPipelineRun(p cli.Params, opts metav1.GetOptions, prname string) (*v1alpha1.PipelineRun, error)

GetPipelineRun return a pipelinerun in a namespace from its name

Types

type Tracker

type Tracker struct {
	Name   string
	Ns     string
	Tekton versioned.Interface
	// contains filtered or unexported fields
}

Tracker tracks the progress of a PipelineRun

func NewTracker

func NewTracker(name string, ns string, tekton versioned.Interface) *Tracker

NewTracker returns a new instance of Tracker

func (*Tracker) Monitor

func (t *Tracker) Monitor(allowed []string) <-chan []trh.Run

Monitor to observe the progress of PipelineRun. It emits an event upon starting of a new Pipeline's Task. allowed containers the name of the Pipeline tasks, which used as filter limit the events to only those tasks

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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