GO-2023-1901 : Pipelines do not validate child UIDs in github.com/tektoncd/pipeline
Discover Packages
github.com/tektoncd/pipeline
pkg
apis
pipeline
errors
package
Version:
v0.56.3
Opens a new window with list of versions in this module.
Published: Mar 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func LabelUserError(messageFormat string , messageA []interface{}) string
LabelUserError labels the failure RunStatus message if any of its error messages has been
wrapped as an UserError. It indicates that the user is responsible for an error.
See github.com/tektoncd/pipeline/blob/main/docs/pipelineruns.md#marking-off-user-errors
for more details.
WrapUserError wraps the original error with the user error label
Error returns the original error message. This implements the error.Error interface.
Unwrap returns the original error without the Reason annotation. This is
intended to support usage of errors.Is and errors.As with Errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.