package
0.69.0
Repository: https://github.com/tektoncd/pipeline.git
Documentation: pkg.go.dev

# Functions

GenerateDeterministicName makes a best-effort attempt to create a unique but reproducible name for use in a Request.
GenerateDeterministicNameFromSpec makes a best-effort attempt to create a unique but reproducible name for use in a Request.
GenerateErrorLogString makes a best effort attempt to get the name of the task when a resolver error occurred.
GetNameAndNamespace determines the name and namespace for a resource request.
NewCRDRequester returns an implementation of Requester that uses ResolutionRequest CRD objects to mediate between the caller who wants a resource (e.g.
NewRequest returns an instance of a BasicRequest with the given name, namespace and params.

# Constants

ParamName is a param that explicitly assigns a name to the remote object.
ParamURL is a param that hold the URL used for accesing the remote object.

# Structs

BasicRequest holds the fields needed to submit a new resource request.
CRDRequester implements the Requester interface using ResolutionRequest CRDs.
ReadOnlyResolutionRequest is an opaque wrapper around ResolutionRequest that provides the methods needed to read data from it using the Resource interface without exposing the underlying API object.

# Type aliases

OwnedRequest is implemented by any type implementing Request that also needs to express a Kubernetes OwnerRef relationship as part of the request being made.
Request is implemented by any type that represents a single request for a remote resource.
Requester is the interface implemented by a type that knows how to submit requests for remote resources.
ResolvedResource is implemented by any type that offers a read-only view of the data and metadata of a resolved remote resource.
ResolverName is the type used for a resolver's name and is mostly used to ensure the function signatures that accept it are clear on the purpose for the given string.