pipeline

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix string = "pipeline"

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	SetPipelineUnitTest(logr.Logger) error
	SetPipelineBuild(logr.Logger) error
	SetPipelineDeploy(logr.Logger) error
	SetPipelineIntTest(logr.Logger) error
	SetPipelineClean(logr.Logger) error
	SetPipelineSonar(logr.Logger) error
	SetPipelineE2ETest(logr.Logger) error
}

type Pipeline

type Pipeline struct {
	Pos            int
	NamespacedName types.NamespacedName
	Labels         map[string]string
	Params         []tkn.ParamSpec
	Tasks          []tkn.PipelineTask
	RunAfter       []string
	Workspaces     []tkn.PipelineWorkspaceDeclaration
	Resources      []tkn.PipelineDeclaredResource
	Play           *ci.Play
	Scheme         *runtime.Scheme
}

func (*Pipeline) Create

func (p *Pipeline) Create(ctx context.Context, r client.Client, log logr.Logger) error

Create

func (*Pipeline) Parse

func (p *Pipeline) Parse(logger logr.Logger) error

func (*Pipeline) SetPipelineBuild

func (p *Pipeline) SetPipelineBuild(logger logr.Logger) error

SetBuild adds build tasks elements in pipeline

func (*Pipeline) SetPipelineClean

func (p *Pipeline) SetPipelineClean(logger logr.Logger) error

func (*Pipeline) SetPipelineDeploy

func (p *Pipeline) SetPipelineDeploy(logger logr.Logger) error

func (*Pipeline) SetPipelineE2ETest added in v0.2.0

func (p *Pipeline) SetPipelineE2ETest(logger logr.Logger) error

func (*Pipeline) SetPipelineIntTest

func (p *Pipeline) SetPipelineIntTest(logger logr.Logger) error

func (*Pipeline) SetPipelineSonar

func (p *Pipeline) SetPipelineSonar(logger logr.Logger) error

func (*Pipeline) SetPipelineUnitTest

func (p *Pipeline) SetPipelineUnitTest(logger logr.Logger) error

Jump to

Keyboard shortcuts

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