package
1.27.0
Repository: https://github.com/triggermesh/triggermesh.git
Documentation: pkg.go.dev

# Functions

EnsureNoPubSub ensures the Pub/Sub topic and associated subscription used for receiving change notifications from a Cloud Source Repositories resource are deleted.
EnsureNoTopicAssociated looks at status.Repositories and if non-empty will delete it Required permissions: - source.repos.updateRepoConfig - iam.serviceAccounts.actAs.
EnsurePubSub ensures the existence of a Pub/Sub topic and associated subscription for receiving change notifications from a Cloud Source Repositories resource.
EnsureTopicAssociated ensures that the Repo has the topic associated.
MakeAppEnv extracts environment variables from the object.
NewController creates a Reconciler for the event source and returns the result of NewImpl.

# Constants

ReasonFailedSubscribe indicates a failure while synchronizing the notification configuration of a Cloud Source Repository, or the Pub/Sub subscription it depends on.
ReasonFailedUnsubscribe indicates a failure while deleting the notification configuration of a Cloud Source Repository, or the Pub/Sub subscription it depends on.
ReasonSubscribed indicates that a source subscribed to change notifications from a Cloud Source Repository.
ReasonUnsubscribed indicates that a source unsubscribed from change notifications from a Cloud Source Repository.

# Structs

Reconciler implements controller.Reconciler for the event source type.