webhook

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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

type RouteConfig struct {
	Route *gwcommon.Route
}

func (*RouteConfig) GetRoute added in v0.9.1

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

func (*RouteConfig) PostStart added in v0.9.1

func (rc *RouteConfig) PostStart() error

func (*RouteConfig) PostStop added in v0.9.1

func (rc *RouteConfig) PostStop() error

func (*RouteConfig) RouteHandler added in v0.9.1

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

RouteHandler handles new route

type WebhookEventSourceExecutor

type WebhookEventSourceExecutor struct {
	Log *logrus.Logger
}

WebhookEventSourceExecutor implements Eventing

func (*WebhookEventSourceExecutor) StartEventSource

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

StartEventSource starts a event source

func (*WebhookEventSourceExecutor) ValidateEventSource

ValidateEventSource validates webhook event source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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