package
0.15.5
Repository: https://github.com/shipwright-io/build.git
Documentation: pkg.go.dev

# Packages

Copyright The Shipwright Contributors SPDX-License-Identifier: Apache-2.0.
No description provided by the author

# Functions

AmendTaskSpecWithSources adds the necessary steps to either wait for user upload ("LocalCopy"), or alternatively, configures the Task steps to use bundle and "git clone".
ApplyCredentials adds all credentials that are referenced by the build and adds them to the service account.
CheckTaskRunVolumesExist tries to find some of the volumes referenced by the BuildRun with all the overrides.
DeleteServiceAccount deletes the service account of a completed BuildRun if the service account was generated.
FindParameterByName returns the first entry in a Parameter array with a specified name, or nil.
FindParamValueByName returns the first entry in a ParamValue array with a specified name, or nil.
GenerateSA generates a new service account on the fly.
GenerateTaskRun creates a Tekton TaskRun to be used for a build run.
GenerateTaskSpec creates Tekton TaskRun spec to be used for a build run.
GetBuildObject retrieves an existing Build based on a name and namespace.
GetGeneratedServiceAccountName returns the name of the generated service account for a build run.
No description provided by the author
HandleError returns multiple errors if each error is not nil.
HandleTaskRunParam makes the necessary changes to a TaskRun for a parameter.
IsClientStatusUpdateError checks whether the given error is of type ClientStatusUpdateError or in case this is a list of errors, that it contains at least one error of type ClientStatusUpdateError.
IsGeneratedServiceAccountUsed checks if a build run uses a generated service account.
IsOwnedByBuild checks if the controllerReferences contains a well known owner Kind.
IsSystemReservedParameter verifies if we are using a system reserved parameter name.
OverrideParams allows to override an existing list of parameters with a second list, as long as their entry names matches.
RetrieveBuildStrategy returns a namespace scoped strategy.
RetrieveClusterBuildStrategy returns a cluster scoped strategy.
RetrieveServiceAccount provides either a default sa with a referenced secret or it will generate a new sa on the fly.
SetupImageProcessing appends the image-processing step to a TaskRun if desired.
UpdateBuildRunUsingTaskFailures is extracting failures from taskRun steps and adding them to buildRun (mutates).
UpdateBuildRunUsingTaskResults surface the task results to the buildrun.
UpdateBuildRunUsingTaskRunCondition updates the BuildRun Succeeded Condition.
UpdateConditionWithFalseStatus sets the Succeeded condition fields and mark the condition as Status False.

# Constants

Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
Common condition strings for reason, kind, etc.
DefaultServiceAccountName defines the default sa name in vanilla Kubernetes clusters.
PipelineServiceAccountName defines the default sa name in vanilla OpenShift clusters.

# Structs

ClientStatusUpdateError is an error that occurrs when trying to update a runtime object status.
Errors allows you to wrap multiple errors in a single struct.
No description provided by the author