package
0.8.0
Repository: https://github.com/rawlingsj/pipeline.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddInputResource reads the inputs resources and adds the corresponding container steps This function reads the `paths` to check if resource copies needs to be fetched from previous tasks output(from PVC) 1.
AddOutputImageDigestExporter add a step to check the index.json for all output images.
AddOutputResources reads the output resources and adds the corresponding container steps This function also reads the inputs to check if resources are redeclared in inputs and has any custom target directory.
AddReadyAnnotation adds the ready annotation if it is not present.
ApplyParameters applies the params from a TaskRun.Input.Parameters to a TaskSpec.
ApplyReplacements replaces placeholders for declared parameters with the specified replacements.
ApplyResources applies the substitution from values in resources which are referenced in spec as subitems of the replacementStr.
GetPVCVolume gets pipelinerun pvc volume.
GetResourceFromBinding will return an instance of a PipelineResource to use for r, either by getting it with getter or by instantiating it from the embedded spec.
GetTaskData will retrieve the Task metadata and Spec associated with the provided TaskRun.
No description provided by the author
MakePod converts TaskRun and TaskSpec objects to a Pod which implements the taskrun specified by the supplied CRD.
ResolveTaskResources looks up PipelineResources referenced by inputs and outputs and returns a structure that unites the resolved references and the Task Spec.
TrimContainerNamePrefix trim the container name prefix to get the corresponding step name.
TryGetPod fetches the TaskRun's pod, returning nil if it has not been created or it does not exist.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ResolvedTaskResources contains all the data that is needed to execute the TaskRun: the TaskRun, it's Task and the PipelineResources it needs.

# Type aliases

GetClusterTask is a function that will retrieve the Task from name and namespace.
GetPod returns the Pod for the given pod name.
GetResource is a function used to retrieve PipelineResources.
GetTask is a function used to retrieve Tasks.
No description provided by the author
No description provided by the author