pipelinerun

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

It will create the resource based on the api available.

func Get

func Get(c *cli.Clients, prname string, opts metav1.GetOptions, ns string) (*v1beta1.PipelineRun, error)

It will fetch the resource based on the api available and return v1beta1 form

func GetAllPipelineRuns

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

GetAllPipelineRuns returns all pipelinesruns running in a namespace

func GetV1beta1

func GetV1beta1(c *cli.Clients, prname string, opts metav1.GetOptions, ns string) (*v1beta1.PipelineRun, error)

It will fetch the resource in v1beta1 struct format

func List

func Patch

func Patch(c *cli.Clients, prname string, opts metav1.PatchOptions, ns string) (*v1beta1.PipelineRun, error)

func Watch

func Watch(c *cli.Clients, opts metav1.ListOptions, ns string) (watch.Interface, error)

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