Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventListener ¶
type EventListener struct { // Logger to log stuff Logger *logrus.Logger // K8sClient is kubernetes client K8sClient kubernetes.Interface Namespace string }
EventListener implements Eventing for aws sns event source
func (*EventListener) StartEventSource ¶
func (listener *EventListener) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource starts an SNS event source
func (*EventListener) ValidateEventSource ¶
func (listener *EventListener) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates sns event source
type Router ¶
type Router struct { // Route contains webhook context and configuration related to api route Route *webhook.Route // contains filtered or unexported fields }
Router contains information for a route
func (*Router) HandleRoute ¶
func (router *Router) HandleRoute(writer http.ResponseWriter, request *http.Request)
HandleRoute handles new routes
func (*Router) PostActivate ¶
PostActivate refers to operations performed after a route is successfully activated
func (*Router) PostInactivate ¶
PostInactive refers to operations performed after a route is successfully inactivated
Click to show internal directories.
Click to hide internal directories.