package
0.0.0-20220901133656-d680719abeaf
Repository: https://github.com/tektoncd/resolution.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
DataFromConfigMap returns a copy of the contents of a configmap or an empty map if the configmap doesn't have any data.
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.
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
ErrorMissingTypeSelector 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.