awss3source

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReasonQueueCreated indicates that a SQS queue was created for receiving S3 event notifications.
	ReasonQueueCreated = "QueueCreated"
	// ReasonQueueDeleted indicates that a SQS queue used for receiving S3 events was deleted.
	ReasonQueueDeleted = "QueueDeleted"
	// ReasonFailedQueue indicates a failure while synchronizing the SQS queue for receiving S3 event notifications.
	ReasonFailedQueue = "FailedQueue"

	// ReasonSubscribed indicates that event notifications were enabled for a S3 bucket.
	ReasonSubscribed = "Subscribed"
	// ReasonUnsubscribed indicates that event notifications were disabled for a S3 bucket.
	ReasonUnsubscribed = "Unsubscribed"
	// ReasonFailedSubscribe indicates a failure while enabling event notifications for a S3 bucket.
	ReasonFailedSubscribe = "FailedSubscribe"
	// ReasonFailedSubscribe indicates a failure while disabling event notifications for a S3 bucket.
	ReasonFailedUnsubscribe = "FailedUnsubscribe"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
) *controller.Impl

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 v1alpha1.EventSource, sinkURI *apis.URL) *appsv1.Deployment

BuildAdapter implements common.AdapterDeploymentBuilder.

func (*Reconciler) FinalizeKind

func (r *Reconciler) FinalizeKind(ctx context.Context, src *v1alpha1.AWSS3Source) reconciler.Event

FinalizeKind is called when the resource is deleted.

func (*Reconciler) RBACOwners

func (r *Reconciler) RBACOwners(namespace string) ([]kmeta.OwnerRefable, error)

RBACOwners implements common.AdapterDeploymentBuilder.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.AWSS3Source) reconciler.Event

ReconcileKind implements Interface.ReconcileKind.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL