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
- type PipelineRun
- func (p *PipelineRun) Create(ctx context.Context, r client.Client, log logr.Logger) error
- func (p *PipelineRun) Parse(log logr.Logger) error
- func (p *PipelineRun) SetBuild(pos int, log logr.Logger) error
- func (p *PipelineRun) SetClean(_ int, log logr.Logger) error
- func (p *PipelineRun) SetDeploy(pos int, log logr.Logger) error
- func (p *PipelineRun) SetE2ETest(pos int, logger logr.Logger) error
- func (p *PipelineRun) SetIntTest(pos int, log logr.Logger) error
- func (p *PipelineRun) SetSonar(_ int, log logr.Logger) error
- func (p *PipelineRun) SetUnitTest(pos int, log logr.Logger) error
Constants ¶
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) 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) SetUnitTest ¶
func (p *PipelineRun) SetUnitTest(pos int, log logr.Logger) error