pipelinerun

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2020 WILDCARD SA.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Created on 01/03/2021

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
	// - volumes
	// - nodeSelector
	// - tolerations
	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) SetE2ETest added in v0.2.0

func (p *PipelineRun) SetE2ETest(pos int, logger logr.Logger) error

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