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

# Functions

FromContext extracts a Config from the provided context.
FromContextOrDefaults is like FromContext, but when no Config is attached it returns a Config populated with the defaults for each of the Config fields.
GetFeatureFlagsConfigName returns the name of the configmap containing all feature flags.
NewFeatureFlagsFromConfigMap returns a Config for the given configmap.
NewFeatureFlagsFromMap returns a Config given a map corresponding to a ConfigMap.
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
ResolversNamespace takes the pipelines namespace and appends "-resolvers" to it.
ToContext attaches the provided Config to the provided context, returning the new context with the Config attached.

# Constants

DefaultEnableBundlesResolver is the default value for "enable-bundles-resolver".
DefaultEnableClusterResolver is the default value for "enable-cluster-resolver".
DefaultEnableGitResolver is the default value for "enable-git-resolver".
DefaultEnableHttpResolver is the default value for "enable-http-resolver".
DefaultEnableHubResolver is the default value for "enable-hub-resolver".
EnableBundlesResolver is the flag used to enable the bundle remote resolver.
EnableClusterResolver is the flag used to enable the cluster remote resolver.
EnableGitResolver is the flag used to enable the git remote resolver.
EnableHttpResolver is the flag used to enable the http remote resolver.
EnableHubResolver is the flag used to enable the hub remote resolver.

# Structs

Config holds the collection of configurations that we attach to contexts.
FeatureFlags holds the features configurations +k8s:deepcopy-gen=true.
Store is a typed wrapper around configmap.Untyped store to handle our configmaps.