# Functions
ApplyContexts applies the substitution from $(context.(pipelineRun|pipeline).*) with the specified values.
ApplyParameters applies the params from a PipelineRun.Params to a PipelineSpec.
ApplyParametersToWorkspaceBindings applies parameters from PipelineSpec and PipelineRun to the WorkspaceBindings in a PipelineRun.
ApplyPipelineTaskContexts applies the substitution from $(context.pipelineTask.*) with the specified values.
ApplyPipelineTaskStateContext replaces context variables referring to execution status with the specified status.
ApplyReplacements replaces placeholders for declared parameters with the specified replacements.
ApplyResultsToWorkspaceBindings applies results from TaskRuns to WorkspaceBindings in a PipelineRun.
ApplyTaskResults applies the ResolvedResultRef to each PipelineTask.Params and Pipeline.When in targets.
ApplyTaskResultsToPipelineResults applies the results of completed TasksRuns and Runs to a Pipeline's list of PipelineResults, returning the computed set of PipelineRunResults.
ApplyWorkspaces replaces workspace variables in the given pipeline spec with their concrete values.
CheckMissingResultReferences returns an error if it is missing any result references.
ConvertResultsMapToTaskRunResults converts the map of results from Matrixed PipelineTasks to a list of TaskRunResults to standard the format.
GetContextReplacements returns the pipelineRun context which can be used to replace context variables in the specifications.
GetNamesOfTaskRuns should return unique names for `TaskRuns` if one has not already been defined, and the existing one otherwise.
GetPipelineFunc is a factory function that will use the given PipelineRef to return a valid GetPipeline function that looks up the pipeline.
GetTaskRunName should return a unique name for a `TaskRun` if one has not already been defined, and the existing one otherwise.
PropagateArtifacts propagates artifact values from previous task runs into the TaskSpec of the current task.
PropagateResults propagate the result of the completed task to the unfinished task that is not explicitly specify in the params.
ResolvePipelineTask returns a new ResolvedPipelineTask representing any TaskRuns or CustomRuns associated with this Pipeline Task, if they exist.
ResolveResultRef resolves any ResultReference that are found in the target ResolvedPipelineTask.
ResolveResultRefs resolves any ResultReference that are found in the target ResolvedPipelineTask.
ValidateObjectParamRequiredKeys validates that the required keys of all the object parameters expected by the Pipeline are provided by the PipelineRun.
ValidateOptionalWorkspaces validates that any workspaces in the Pipeline that are marked as optional are also marked optional in the Tasks that receive them.
ValidateParamArrayIndex validates if the param reference to an array param is out of bound.
ValidateParamEnumSubset finds the referenced pipeline-level params in the resolved pipelineTask.
ValidateParameterTypesInMatrix validates the type of Parameter for Matrix.Params and Matrix.Include.Params after any replacements are made from Task parameters or results Matrix.Params must be of type array.
ValidateParamTypesMatching validate that parameters in PipelineRun override corresponding parameters in Pipeline of the same type.
ValidatePipelineResults ensures that any result references used by PipelineResults resolve to valid results.
ValidatePipelineTaskResults ensures that any result references used by pipeline tasks resolve to valid results.
ValidateRequiredParametersProvided validates that all the parameters expected by the Pipeline are provided by the PipelineRun.
ValidateTaskRunSpecs that the TaskRunSpecs defined by a PipelineRun are correct.
ValidateWorkspaceBindings validates that the Workspaces expected by a Pipeline are provided by a PipelineRun.
# Constants
PipelineTaskStateNone indicates that the execution status of a pipelineTask is unknown.
PipelineTaskStatusPrefix is a prefix of the param representing execution state of pipelineTask.
PipelineTaskStatusSuffix is a suffix of the param representing execution state of pipelineTask.
ReasonConditionCheckFailed indicates that the reason for the failure status is that the condition check associated to the pipeline task evaluated to false.
# Variables
ErrInvalidTaskResultReference indicates that the reason for the failure status is that there is an invalid task result reference.
# Structs
LocalPipelineRefResolver uses the current cluster to resolve a pipeline reference.
PipelineRunFacts holds the state of all the components that make up the Pipeline graph that are used to track the PipelineRun state without passing all these components separately.
PipelineRunTimeoutsState records information about start times and timeouts for the PipelineRun, so that the PipelineRunFacts can reference those values in its functions.
ResolvedPipelineTask contains a PipelineTask and its associated TaskRun(s) or CustomRuns, if they exist.
ResolvedResultRef represents a result ref reference that has been fully resolved (value has been populated).
TaskNotFoundError indicates that the resolution failed because a referenced Task couldn't be retrieved.
TaskSkipStatus stores whether a task was skipped and why.
# Type aliases
GetRun is a function that will retrieve a CustomRun by name.
PipelineRunState is a slice of ResolvedPipelineRunTasks the represents the current execution state of the PipelineRun.
ResolvedResultRefs represents all of the ResolvedResultRef for a pipeline task.