Documentation ¶
Index ¶
- Constants
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- type Reconciler
- func (r *Reconciler) BuildAdapter(src commonv1alpha1.Reconcilable, sinkURI *apis.URL) (*appsv1.Deployment, error)
- func (r *Reconciler) FinalizeKind(ctx context.Context, src *v1alpha1.AWSEventBridgeSource) reconciler.Event
- func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.AWSEventBridgeSource) reconciler.Event
Constants ¶
View Source
const ( // ReasonQueueCreated indicates that a SQS queue was created for receiving EventBridge events. ReasonQueueCreated = "QueueCreated" // ReasonQueueDeleted indicates that a SQS queue used for receiving EventBridge events was deleted. ReasonQueueDeleted = "QueueDeleted" // ReasonFailedQueue indicates a failure while synchronizing the SQS queue for receiving EventBridge events. ReasonFailedQueue = "FailedQueue" // ReasonSubscribed indicates that events from an EventBridge event bus have been successfully subscribed to via // a rule. ReasonSubscribed = "Subscribed" // ReasonUnsubscribed indicates that the subscription to an EventBridge event bus has been terminated by // removing a rule. ReasonUnsubscribed = "Unsubscribed" // ReasonFailedSubscribe indicates a failure while subscribing to events from an EventBridge event bus. ReasonFailedSubscribe = "FailedSubscribe" // ReasonFailedUnsubscribe indicates a failure while unsubscribing from events from an EventBridge event bus. ReasonFailedUnsubscribe = "FailedUnsubscribe" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController creates a Reconciler for the event source and returns the result of NewImpl.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for the event source type.
func (*Reconciler) BuildAdapter ¶
func (r *Reconciler) BuildAdapter(src commonv1alpha1.Reconcilable, sinkURI *apis.URL) (*appsv1.Deployment, error)
BuildAdapter implements common.AdapterBuilder.
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, src *v1alpha1.AWSEventBridgeSource) reconciler.Event
FinalizeKind is called when the resource is deleted.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.AWSEventBridgeSource) reconciler.Event
ReconcileKind implements Interface.ReconcileKind.
Click to show internal directories.
Click to hide internal directories.