Documentation ¶
Index ¶
- Constants
- type PipelineRun
- func (p *PipelineRun) Create(ctx context.Context, r client.Client, log logr.Logger) error
- func (p *PipelineRun) GetNamespace(task ci.Task) string
- func (p *PipelineRun) Parse(log logr.Logger) error
- func (p *PipelineRun) SetBuild(pos int, log logr.Logger) error
- func (p *PipelineRun) SetClean(pos 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) SetGeneric(pos int, taskType ci.TaskType, log 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 ¶
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 GenericParams map[string][]ci.ParamSpec }
func (*PipelineRun) GetNamespace ¶ added in v0.9.0
func (p *PipelineRun) GetNamespace(task ci.Task) string
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) SetGeneric ¶ added in v0.10.0
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
Click to show internal directories.
Click to hide internal directories.