# Functions
InjectRequestName returns a new context with a request-scoped name.
InjectRequestNamespace returns a new context with a request-scoped namespace.
IsErrTransient returns true if an error returned by GetTask/GetStepAction is retryable.
NewError returns a Error with the given reason and underlying original error.
ReasonError extracts the reason and underlying error embedded in a given error or returns some sane defaults if the error isn't a common.Error.
RequestName returns the name of the resolution request currently being processed or an empty string if none were registered.
RequestNamespace returns the namespace of the resolution request currently being processed or an empty string if the request somehow does not originate from a namespaced location.
# Constants
AnnotationKeyContentType is the annotation key passed back with a resolved resource's content type.
LabelKeyResolverType is the label that determines which resolver will ultimately receive the request for a resource.
MessageWaitingForResolver is returned by a ResolutionRequest when a resolver has not yet returned any data for it or marked the request as invalid.
ReasonResolutionFailed indicates that some part of the resolution process failed.
ReasonResolutionInProgress is used to indicate that there are no issues with the parameters of a request and that a resolver is working on the ResolutionRequest.
ReasonResolutionSuccessful is used to indicate that resolution of a resource has completed successfully.
ReasonResolutionTimedOut indicates that a resolver did not manage to respond to a ResolutionRequest within a timeout.
# Variables
ErrRequestInProgress is a sentinel value to indicate that a resource request is still in progress.
# Structs
Error embeds both a short machine-readable string reason for resolution problems alongside the original error generated during the resolution flow.
GetResourceError is an error received during what should otherwise have been a successful resource request.
InvalidRequestError is an error received when a resource request is badly formed for some reason: either the parameters don't match the resolver's expectations or there is some other structural issue.
InvalidResourceKeyError indicates that a string key given to the Reconcile function does not match the expected "name" or "namespace/name" format.
UpdatingRequestError is an error during any part of the update process for a ResolutionRequest, e.g.
# Interfaces
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.
# Type aliases
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.