aws_sns

package
v0.0.0-...-1af24f0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ArgoEventsEventSourceVersion = "v0.11"

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteConfig

type RouteConfig struct {
	Route *gwcommon.Route
	// contains filtered or unexported fields
}

RouteConfig contains information for a route

func (*RouteConfig) GetRoute

func (rc *RouteConfig) GetRoute() *gwcommon.Route

GetRoute returns the route

func (*RouteConfig) PostStart

func (rc *RouteConfig) PostStart() error

PostStart subscribes to the sns topic

func (*RouteConfig) PostStop

func (rc *RouteConfig) PostStop() error

PostStop unsubscribes from the sns topic

func (*RouteConfig) RouteHandler

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

RouteHandler handles new routes

type SNSEventSourceExecutor

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

SNSEventSourceExecutor implements Eventing

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