Documentation ¶
Index ¶
Constants ¶
View Source
const ArgoEventsEventSourceVersion = "v0.10"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabEventSourceExecutor ¶
type GitlabEventSourceExecutor struct { Log *logrus.Logger // Clientset is kubernetes client Clientset kubernetes.Interface // Namespace where gateway is deployed Namespace string }
GitlabEventSourceExecutor implements ConfigExecutor
func (*GitlabEventSourceExecutor) StartEventSource ¶
func (ese *GitlabEventSourceExecutor) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource starts an event source
func (*GitlabEventSourceExecutor) ValidateEventSource ¶
func (ese *GitlabEventSourceExecutor) ValidateEventSource(ctx context.Context, es *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates gitlab gateway event source
type GitlabSecret ¶
type GitlabSecret struct { // Key within the K8 secret for access token Key string // Name of K8 secret containing access token info Name string }
GitlabSecret contains information of k8 secret which holds the gitlab api access information
type RouteConfig ¶ added in v0.9.1
type RouteConfig struct {
// contains filtered or unexported fields
}
RouteConfig contains the configuration information for a 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)
routeActiveHandler handles new route
Click to show internal directories.
Click to hide internal directories.