# Functions
DataFromConfigMap returns a copy of the contents of a configmap or an empty map if the configmap doesn't have any data.
GetResolutionTimeout returns the input timeout if set to something greater than 0 or the default time.Duration if not configured.
GetResolverConfigFromContext returns any resolver-specific configuration that has been stored or an empty map if none exists.
InjectResolverConfigToContext returns a new context with a map stored in it for a resolvers config.
TODO(sbwsg): I don't really understand the LeaderAwareness types beyond the fact that the controller crashes if they're missing.
NewConfigStore creates a new untyped store for the resolver's configuration and a config.Store for general Pipeline configuration.
NewController returns a knative controller for a Tekton Resolver.
# Constants
FakeParamName is the name used for the fake resolver's single parameter.
FakeResolverName is the name that the fake resolver should be associated with.
LabelValueFakeResolverType is the value to use for the resolution.tekton.dev/type label on resource requests.
# Variables
ErrMissingTypeSelector is returned when a resolver does not return a selector with a type label from its GetSelector method.
# Structs
ConfigStore wraps a knative untyped store and provides helper methods for working with a resolver's configuration data.
FakeResolvedResource is a framework.ResolvedResource implementation for use with the fake resolver.
FakeResolver implements a framework.Resolver that can fetch pre-configured strings based on a parameter value, or return resolution attempts with a configured error.
Reconciler handles ResolutionRequest objects, performs functionality common to all resolvers and delegates resolver-specific actions to its embedded type-specific Resolver object.
# Interfaces
ConfigWatcher is the interface to implement if your resolver accepts additional configuration from an admin.
ResolvedResource returns the data and annotations of a successful resource fetch.
Resolver is the interface to implement for type-specific resource resolution.
TimedResolution is an optional interface that a resolver can implement to override the default resolution request timeout.
# Type aliases
ReconcilerModifier is a func that can access and modify a reconciler in the moments before a resolver is started.