aws_sns

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostStop

func PostStop(rc *gwcommon.RouteConfig) error

PostStop unsubscribes from the sns topic

func RouteActiveHandler

func RouteActiveHandler(writer http.ResponseWriter, request *http.Request, rc *gwcommon.RouteConfig)

RouteActiveHandler handles new routes

Types

type SNSEventSourceExecutor

type SNSEventSourceExecutor struct {
	Log zerolog.Logger
	// Clientset is kubernetes client
	Clientset kubernetes.Interface
	// Namespace where gateway is deployed
	Namespace string
}

SNSEventSourceExecutor implements Eventing

func (*SNSEventSourceExecutor) PostActivate

func (ese *SNSEventSourceExecutor) PostActivate(rc *gwcommon.RouteConfig) error

PostActivate subscribes to the sns topic

func (*SNSEventSourceExecutor) StartEventSource

func (ese *SNSEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error

StartEventSource starts an SNS event source

func (*SNSEventSourceExecutor) ValidateEventSource

ValidateEventSource validates gateway event source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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