slack

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: 17 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 {
	// contains filtered or unexported fields
}

func (*RouteConfig) GetRoute

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

func (*RouteConfig) PostStart

func (rc *RouteConfig) PostStart() error

func (*RouteConfig) PostStop

func (rc *RouteConfig) PostStop() error

func (*RouteConfig) RouteHandler

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

RouteHandler handles new route

type SlackEventSourceExecutor

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

SlackEventSourceExecutor implements Eventing

func (*SlackEventSourceExecutor) StartEventSource

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

StartEventSource starts a event source

func (*SlackEventSourceExecutor) 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