# Packages
Package event contains functions for generating Kubernetes API events.
Package resource contains helpers to generate Kubernetes API objects.
No description provided by the author
Package skip allows a Context to carry the intention to skip parts of the code execution.
Package testing contains test helpers for reconcilers.
# Functions
ComponentName returns the component name for the given object.
CreateCloudEventAttributes returns CloudEvent attributes for the event types supported by the target.
EnqueueObjectsInNamespaceOf accepts an object and triggers a global resync of all objects in the given informer matching that object's namespace.
GetStatefulBridgeID returns the BridgeID based on an object metadata.
MaybeAppendValueFromEnvVar conditionally appends an EnvVar to env based on the contents of valueFrom.
MTAdapterObjectName returns a unique name to apply to all objects related to the given component's multi-tenant adapter (RBAC, Deployment/KnService, ...).
NewAdapterDeployment is a wrapper around resource.NewDeployment which pre-populates attributes common to all adapters backed by a Deployment.
NewAdapterKnService is a wrapper around resource.NewKnService which pre-populates attributes common to all adapters backed by a Knative Service.
NewGenericDeploymentReconciler creates a new GenericDeploymentReconciler and attaches a default event handler to its Deployment informer.
NewGenericRBACReconciler creates a new GenericRBACReconciler.
NewGenericServiceReconciler creates a new GenericServiceReconciler and attaches a default event handler to its Service informer.
NewMTAdapterDeployment is a wrapper around resource.NewDeployment which pre-populates attributes common to all multi-tenant adapters backed by a Deployment.
NewMTAdapterKnService is a wrapper around resource.NewKnService which pre-populates attributes common to all multi-tenant adapters backed by a Knative Service.
NewMTGenericServiceReconciler creates a new GenericServiceReconciler for a multi-tenant adapter and attaches a default event handler to its Service informer.
OwnByServiceAccount sets the owner of obj to the given ServiceAccount.
ServiceAccountName returns the name to set on the ServiceAccount associated with the given component instance.
TMCommonObjectLabels returns a set of labels which are always applied to TriggerMesh objects reconciled for the given component type.
# Constants
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common Azure attributes.
Common environment variables propagated to adapters.
Common AWS attributes.
Common environment variables propagated to adapters.
Bridge identifier for stateful flows.
Overrides for CloudEvents context attributes (only supported by a subset of components).
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Google Cloud Pub/Sub attributes.
Common Google Cloud attributes.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Azure Event Hub attributes https://pkg.go.dev/github.com/Azure/azure-event-hubs-go/v3#readme-environment-variables.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
nolint:gosec.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Azure Service Bus attributes.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Common environment variables propagated to adapters.
Stateful events related.
Stateful events related.
ReasonAdapterCreate indicates that an adapter object was successfully created.
ReasonAdapterUpdate indicates that an adapter object was successfully updated.
ReasonBadSinkURI indicates that the URI of a sink can't be determined.
ReasonFailedAdapterCreate indicates that the creation of an adapter object failed.
ReasonFailedAdapterUpdate indicates that the update of an adapter object failed.
ReasonFailedRBACCreate indicates that the creation of an RBAC object failed.
ReasonFailedRBACUpdate indicates that the update of an RBAC object failed.
ReasonInvalidSpec indicates that spec of a reconciled object is invalid.
ReasonRBACCreate indicates that an RBAC object was successfully created.
ReasonRBACUpdate indicates that an RBAC object was successfully updated.
# Variables
CommonObjectLabels set of labels which are always applied to resource objects reconciled for the given component type.
# Structs
GenericDeploymentReconciler contains interfaces shared across Deployment reconcilers.
GenericRBACReconciler reconciles RBAC objects for components adapters.
GenericServiceReconciler contains interfaces shared across Service reconcilers.
# Interfaces
AdapterBuilder provides all the necessary information for building a component's adapter object.
Lister is a partial generic version of a typed <Kind>NamespaceLister interface (usually generated by lister-gen).
# Type aliases
ListerGetter obtains a namespaced Lister.