# 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.
GetDefaultsConfigName returns the name of the configmap containing all defined defaults.
GetEventsConfigName returns the name of the configmap containing all feature flags.
GetFeatureFlagsConfigName returns the name of the configmap containing all feature flags.
GetMetricsConfigName returns the name of the configmap containing all customizations for the storage bucket.
GetSpireConfigName returns the name of Spire ConfigMap.
GetTracingConfigName returns the name of the configmap containing all customizations for tracing.
GetVerificationNoMatchPolicy returns the "trusted-resources-verification-no-match-policy" value.
IsSpireEnabled checks if non-falsifiable provenance is enforced through SPIRE.
NewDefaultsFromConfigMap returns a Config for the given configmap.
NewDefaultsFromMap returns a Config given a map corresponding to a ConfigMap.
NewEventsFromConfigMap returns a Config for the given configmap.
NewEventsFromMap returns a Config given a map corresponding to a ConfigMap.
NewFeatureFlagsFromConfigMap returns a Config for the given configmap.
NewFeatureFlagsFromMap returns a Config given a map corresponding to a ConfigMap.
NewMetricsFromConfigMap returns a Config for the given configmap.
NewSpireConfigFromConfigMap creates a Config from the supplied ConfigMap.
NewSpireConfigFromMap creates a Config from the supplied map.
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
NewTracingFromConfigMap returns a Config given a ConfigMap.
ParseEventFormats converts a comma separated list into a EventFormats set.
ToContext attaches the provided Config to the provided context, returning the new context with the Config attached.
ValidateEnabledAPIFields checks that the enable-api-fields feature gate is set to a version at most as stable as wantVersion, if not, returns an error stating which feature is dependent on the version and what the current version actually is.
# Constants
AlphaAPIFields is the value used for API-driven features of alpha stability level.
BetaAPIFields is the value used for API-driven features of beta stability level.
CoscheduleDisabled is the value used for "coschedule" to disabled PipelineRun Pods coschedule.
CoscheduleIsolatePipelineRun is the value used for "coschedule" to coschedule all PipelineRun Pods to the same node, and only allows one PipelineRun to run on a node at a time.
CoschedulePipelineRuns is the value used for "coschedule" to coschedule all PipelineRun Pods to the same node.
CoscheduleWorkspaces is the value used for "coschedule" to coschedule PipelineRun Pods sharing the same PVC workspaces to the same node.
Features of "alpha" stability level are disabled by default.
DefaultAwaitSidecarReadiness is the default value for "await-sidecar-readiness".
Features of "beta" stability level are disabled by default.
DefaultCloudEventSinkValue is the default value for cloud event sinks.
DefaultCoschedule is the default value for coschedule.
DefaultDisableAffinityAssistant is the default value for "disable-affinity-assistant".
DefaultDisableCredsInit is the default value for "disable-creds-init".
DefaultDisableInlineSpec is the default value of "disable-inline-spec".
DefaultDurationPipelinerunType determines what type of metrics to use when we don't specify one in configmap.
DefaultDurationTaskrunType determines what type of metrics to use when we don't specify one in configmap.
DefaultEnableAPIFields is the default value for "enable-api-fields".
DefaultEnableKubernetesSidecar is the default value for EnableKubernetesSidecar.
DefaultEnableProvenanceInStatus is the default value for "enable-provenance-status".
DefaultEnableTektonOciBundles is the default value for "enable-tekton-oci-bundles".
DefaultEndpoint is the default destination for sending traces.
DefaultEnforceNonfalsifiability is the default value for "enforce-nonfalsifiability".
DefaultManagedByLabelValue is the value for the managed-by label that is used by default.
Default maximum resolution timeout used by the resolution controller before timing out when exceeded.
DefaultMaxMatrixCombinationsCount is used when no max matrix combinations count is specified.
DefaultMaxResultSize is the default value in bytes for the size of a result.
DefaultNoMatchPolicyConfig is the default value for "trusted-resources-verification-no-match-policy".
DefaultPipelinerunLevel determines to what level to aggregate metrics when it isn't specified in configmap.
DefaultRequireGitSSHSecretKnownHosts is the default value for "require-git-ssh-secret-known-hosts".
DefaultResolverTypeValue is used when no default resolver type is specified.
DefaultResultExtractionMethod is the default value for ResultExtractionMethod.
DefaultRunningInEnvWithInjectedSidecars is the default value for "running-in-environment-with-injected-sidecars".
DefaultRunningPipelinerunLevel determines to what level to aggregate metrics when it isn't specified in configmap.
DefaultSendCloudEventsForRuns is the default value for "send-cloudevents-for-runs".
DefaultServiceAccountValue is the SA used when one is not specified.
DefaultSetSecurityContext is the default value for "set-security-context".
DefaultSetSecurityContextReadOnlyRootFilesystem is the default value for "set-security-context-read-only-root-filesystem".
DefaultSink is the default value for "sink".
Features of "stable" stability level are enabled by default.
DefaultTaskrunLevel determines to what level to aggregate metrics when it isn't specified in configmap.
DefaultTimeoutMinutes is used when no timeout is specified.
DisableInlineSpec is the flag to disable embedded spec in Taskrun or Pipelinerun.
DurationPipelinerunTypeHistogram specify that histogram type metrics need to be use for Duration of Pipelinerun.
DurationPipelinerunTypeLastValue specify that lastValue or gauge type metrics need to be use for Duration of Pipelinerun.
DurationTaskrunTypeHistogram specify that histogram type metrics need to be use for Duration of Taskrun.
DurationTaskrunTypeLastValue specify that lastValue or gauge type metrics need to be use for Duration of Taskrun.
EnableArtifacts is the flag to enable the use of Artifacts in Steps.
EnableCELInWhenExpression is the flag to enabled CEL in WhenExpression.
EnableConciseResolverSyntax is the flag to enable concise resolver syntax.
EnableKubernetesSidecar is the flag to enable kubernetes sidecar support.
EnableParamEnum is the flag to enabled enum in params.
EnableStepActions is the flag to enable the use of StepActions in Steps.
EnforceNonfalsifiabilityNone is the value used for "enable-nonfalsifiability" when non-falsifiability is not enabled.
EnforceNonfalsifiabilityWithSpire is the value used for "enable-nonfalsifiability" when SPIRE is used to enable non-falsifiability.
FailNoMatchPolicy is the value used for "trusted-resources-verification-no-match-policy" to fail TaskRun or PipelineRun when no matching policies are found.
FormatTektonV1 represents the "v1" events in Tekton custom format.
IgnoreNoMatchPolicy is the value used for "trusted-resources-verification-no-match-policy" to skip verification when no matching policies are found.
KeepPodOnCancel is the flag used to enable cancelling a pod using the entrypoint, and keep pod on cancel.
NoTimeoutDuration is used when a pipeline or task should never time out.
PipelinerunLevelAtNS specify that aggregation will be done at namespace level.
PipelinerunLevelAtPipeline specify that aggregation will be done at pipeline level.
PipelinerunLevelAtPipelinerun specify that aggregation will be done at pipelinerun level.
default resource requirements, will be applied to all the containers, which has empty resource requirements.
ResultExtractionMethodSidecarLogs is the value used for "results-from" as a way to extract results from tasks using sidecar logs.
ResultExtractionMethodTerminationMessage is the value used for "results-from" as a way to extract results from tasks using kubernetes termination message.
SpireConfigMapName is the name of the trusted resources configmap.
SpireNodeAliasPrefix is the key to extract out the SPIRE node alias prefix to use.
SpireNodeAliasPrefixDefault is the default value for the SpireNodeAliasPrefix.
SpireServerAddr is the key to extract out the SPIRE server address for workload/node registration.
SpireServerAddrDefault is the default value for the SpireServerAddr.
SpireSocketPath is the key to extract out the SPIRE agent socket for SPIFFE workload API.
SpireSocketPathDefault is the default value for the SpireSocketPath.
SpireTrustDomain is the key to extract out the SPIRE trust domain to use.
SpireTrustDomainDefault is the default value for the SpireTrustDomain.
StableAPIFields is the value used for API-driven features of stable stability level.
TaskrunLevelAtNS specify that aggregation will be done at namespace level.
TaskrunLevelAtTask specify that aggregation will be done at task level.
TaskrunLevelAtTaskrun specify that aggregation will be done at taskrun level.
WarnNoMatchPolicy is the value used for "trusted-resources-verification-no-match-policy" to log warning and skip verification when no matching policies are found.
# Variables
DefaultConfig holds all the default configurations for the config.
DefaultEnableArtifacts is the default PerFeatureFlag value for EnableArtifacts.
DefaultEnableCELInWhenExpression is the default PerFeatureFlag value for EnableCELInWhenExpression.
DefaultEnableConciseResolverSyntax is the default PerFeatureFlag value for EnableConciseResolverSyntax.
DefaultEnableKeepPodOnCancel is the default PerFeatureFlag value for "keep-pod-on-cancel".
DefaultEnableParamEnum is the default PerFeatureFlag value for EnableParamEnum.
DefaultEnableStepActions is the default PerFeatureFlag value for EnableStepActions.
DefaultConfig holds all the default configurations for the config.
DefaultFeatureFlags holds all the default configurations for the feature flags configmap.
DefaultFormat is the default value for "formats".
DefaultMetrics holds all the default configurations for the metrics.
DefaultSpire hols all the default configurations for the spire.
DefaultTracing holds all the default configurations for tracing.
# Structs
Config holds the collection of configurations that we attach to contexts.
Defaults holds the default configurations +k8s:deepcopy-gen=true.
Events holds the events configurations +k8s:deepcopy-gen=true.
FeatureFlags holds the features configurations +k8s:deepcopy-gen=true.
Metrics holds the configurations for the metrics +k8s:deepcopy-gen=true.
Store is a typed wrapper around configmap.Untyped store to handle our configmaps.
Tracing holds the configurations for tracing +k8s:deepcopy-gen=true.
# Type aliases
EventFormat is a single event format.
EventFormats is a set of event formats.