Documentation ¶
Index ¶
- Constants
- func RouteActiveHandler(writer http.ResponseWriter, request *http.Request, rc *gwcommon.RouteConfig)
- type TrelloEventSourceExecutor
- func (ese *TrelloEventSourceExecutor) PostActivate(rc *gwcommon.RouteConfig) error
- func (ese *TrelloEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, ...) error
- func (ese *TrelloEventSourceExecutor) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
Constants ¶
View Source
const ( LabelTrelloConfig = "trelloConfig" LabelTrelloClient = "trelloClient" )
Variables ¶
This section is empty.
Functions ¶
func RouteActiveHandler ¶
func RouteActiveHandler(writer http.ResponseWriter, request *http.Request, rc *gwcommon.RouteConfig)
routeActiveHandler handles new route
Types ¶
type TrelloEventSourceExecutor ¶
type TrelloEventSourceExecutor struct { Log zerolog.Logger // Clientset is kubernetes client Clientset kubernetes.Interface // Namespace where gateway is deployed Namespace string }
func (*TrelloEventSourceExecutor) PostActivate ¶
func (ese *TrelloEventSourceExecutor) PostActivate(rc *gwcommon.RouteConfig) error
func (*TrelloEventSourceExecutor) StartEventSource ¶
func (ese *TrelloEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartConfig runs a configuration
func (*TrelloEventSourceExecutor) ValidateEventSource ¶
func (ese *TrelloEventSourceExecutor) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates a s3 event source
Click to show internal directories.
Click to hide internal directories.