Versions in this module Expand all Collapse all v0 v0.8.0 Oct 20, 2019 Changes in this version + func GetPipelineData(pipelineRun *v1alpha1.PipelineRun, getPipeline GetPipeline) (*metav1.ObjectMeta, *v1alpha1.PipelineSpec, error) + func ResolvePipelineTaskResources(pt v1alpha1.PipelineTask, ts *v1alpha1.TaskSpec, taskName string, ...) (*resources.ResolvedTaskResources, error) + func ValidateResourceBindings(p *v1alpha1.PipelineSpec, pr *v1alpha1.PipelineRun) error + type GetPipeline func(string) (v1alpha1.PipelineInterface, error) v0.7.0 Sep 19, 2019 Changes in this version + const ReasonConditionCheckFailed + const ReasonFailed + const ReasonRunning + const ReasonSucceeded + const ReasonTimedOut + func ApplyParameters(p *v1alpha1.Pipeline, pr *v1alpha1.PipelineRun) *v1alpha1.Pipeline + func ApplyReplacements(p *v1alpha1.Pipeline, replacements map[string]string, ...) *v1alpha1.Pipeline + func ApplyResourceSubstitution(step *v1alpha1.Step, resolvedResources map[string]*v1alpha1.PipelineResource, ...) error + func GetInputSteps(inputs map[string]*v1alpha1.PipelineResource, pt *v1alpha1.PipelineTask, ...) []v1alpha1.TaskResourceBinding + func GetOutputSteps(outputs map[string]*v1alpha1.PipelineResource, ...) []v1alpha1.TaskResourceBinding + func GetPipelineConditionStatus(pr *v1alpha1.PipelineRun, state PipelineRunState, logger *zap.SugaredLogger, ...) *apis.Condition + func GetResourcesFromBindings(p *v1alpha1.Pipeline, pr *v1alpha1.PipelineRun) (map[string]v1alpha1.PipelineResourceRef, error) + func ValidateFrom(state PipelineRunState) error + func ValidateParamTypesMatching(p *v1alpha1.Pipeline, pr *v1alpha1.PipelineRun) error + func WrapSteps(tr *v1alpha1.TaskRunSpec, pt *v1alpha1.PipelineTask, ...) + type ConditionNotFoundError struct + Msg string + Name string + func (e *ConditionNotFoundError) Error() string + type GetCondition func(string) (*v1alpha1.Condition, error) + type GetTaskRun func(name string) (*v1alpha1.TaskRun, error) + type PipelineRunState []*ResolvedPipelineRunTask + func ResolvePipelineRun(pipelineRun v1alpha1.PipelineRun, getTask resources.GetTask, ...) (PipelineRunState, error) + func (state PipelineRunState) GetNextTasks(candidateTasks map[string]v1alpha1.PipelineTask) []*ResolvedPipelineRunTask + func (state PipelineRunState) IsDone() (isDone bool) + func (state PipelineRunState) SuccessfulPipelineTaskNames() []string + type ResolvedConditionCheck struct + Condition *v1alpha1.Condition + ConditionCheck *v1alpha1.ConditionCheck + ConditionCheckName string + PipelineTaskCondition *v1alpha1.PipelineTaskCondition + ResolvedResources map[string]*v1alpha1.PipelineResource + func (rcc *ResolvedConditionCheck) ConditionToTaskSpec() (*v1alpha1.TaskSpec, error) + func (rcc *ResolvedConditionCheck) NewConditionCheckStatus() *v1alpha1.ConditionCheckStatus + func (rcc *ResolvedConditionCheck) ToTaskResourceBindings() []v1alpha1.TaskResourceBinding + type ResolvedPipelineRunTask struct + PipelineTask *v1alpha1.PipelineTask + ResolvedConditionChecks TaskConditionCheckState + ResolvedTaskResources *resources.ResolvedTaskResources + TaskRun *v1alpha1.TaskRun + TaskRunName string + func (t ResolvedPipelineRunTask) IsDone() (isDone bool) + func (t ResolvedPipelineRunTask) IsFailure() bool + func (t ResolvedPipelineRunTask) IsSuccessful() bool + type ResourceNotFoundError struct + Msg string + func (e *ResourceNotFoundError) Error() string + type TaskConditionCheckState []*ResolvedConditionCheck + func (state TaskConditionCheckState) HasStarted() bool + func (state TaskConditionCheckState) IsDone() bool + func (state TaskConditionCheckState) IsSuccess() bool + type TaskNotFoundError struct + Msg string + Name string + func (e *TaskNotFoundError) Error() string