Documentation ¶
Index ¶
Constants ¶
View Source
const ArgoEventsEventSourceVersion = "v0.10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteConfig ¶ added in v0.9.1
RouteConfig contains information for a route
func (*RouteConfig) GetRoute ¶ added in v0.9.1
func (rc *RouteConfig) GetRoute() *gwcommon.Route
GetRoute returns the route
func (*RouteConfig) PostStart ¶ added in v0.9.1
func (rc *RouteConfig) PostStart() error
PostStart subscribes to the sns topic
func (*RouteConfig) PostStop ¶ added in v0.9.1
func (rc *RouteConfig) PostStop() error
PostStop unsubscribes from the sns topic
func (*RouteConfig) RouteHandler ¶ added in v0.9.1
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 ¶
func (ese *SNSEventSourceExecutor) ValidateEventSource(ctx context.Context, es *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates gateway event source
Click to show internal directories.
Click to hide internal directories.