crds

package
v0.0.0-...-101b392 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDs

type CRDs struct {
	PipelineRuns      map[string]pipeline.PipelineRun
	Pipelines         map[string]pipeline.Pipeline
	Tasks             map[string]pipeline.Task
	PipelineResources map[string]pipeline.PipelineResource
}

CRDs is a holder for a set of Tekton CRDs that define the pipeline to run

func NewCRDs

func NewCRDs() CRDs

NewCRDs create an empty CRDs

func ParseCRDs

func ParseCRDs(r io.Reader) (*CRDs, error)

ParseCRDs convert yaml files in folder into a set of CRDs

func (CRDs) GetPipelineRun

func (c CRDs) GetPipelineRun(name string) (pipeline.PipelineRun, error)

GetPipelineRun get a PipelineRun by name, or default one is there's only one declared

Jump to

Keyboard shortcuts

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