awssnssource

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: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReasonSubscribed indicates the successful creation of a SNS subscription.
	ReasonSubscribed = "Subscribed"
	// ReasonUnsubscribed indicates the successful deletion of a SNS subscription.
	ReasonUnsubscribed = "Unsubscribed"
	// ReasonFailedSubscribe indicates a failure during the subscription to a SNS topic.
	ReasonFailedSubscribe = "FailedSubscribe"
	// ReasonFailedUnsubscribe indicates a failure during the deletion of a SNS subscription.
	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 added in v1.3.0

func (r *Reconciler) BuildAdapter(src v1alpha1.EventSource, _ *apis.URL) *servingv1.Service

BuildAdapter implements common.AdapterServiceBuilder.

func (*Reconciler) FinalizeKind added in v0.6.0

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

FinalizeKind is called when the resource is deleted.

func (*Reconciler) RBACOwners added in v1.3.0

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

RBACOwners implements common.AdapterServiceBuilder.

func (*Reconciler) ReconcileKind

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

ReconcileKind implements Interface.ReconcileKind.

Jump to

Keyboard shortcuts

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