pipelinerun

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Prefix string = "pipeline-run"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineRun

type PipelineRun struct {
	internal.WorkFlowStruct

	// Params contains list of param for PipelineRun tekton resource
	Params []tkn.Param

	// PodTemplate is use for add volumes from secrets following
	// - minio credential
	PodTemplate *tkn.PodTemplate
}

func (*PipelineRun) Create

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

func (*PipelineRun) Parse

func (p *PipelineRun) Parse(log logr.Logger) error

func (*PipelineRun) SetBuild

func (p *PipelineRun) SetBuild(pos int, log logr.Logger) error

func (*PipelineRun) SetClean

func (p *PipelineRun) SetClean(_ int, log logr.Logger) error

func (*PipelineRun) SetDeploy

func (p *PipelineRun) SetDeploy(pos int, log logr.Logger) error

SetDeploy builds the params adn add the minio volume for the tekton pipelineRun resource param pos : use to get task part from Play to get variables

func (*PipelineRun) SetIntTest

func (p *PipelineRun) SetIntTest(pos int, log logr.Logger) error

func (*PipelineRun) SetSonar

func (p *PipelineRun) SetSonar(_ int, log logr.Logger) error

func (*PipelineRun) SetUnitTest

func (p *PipelineRun) SetUnitTest(pos int, log logr.Logger) error

Jump to

Keyboard shortcuts

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